adapt to latest libfirm
[cparser] / format_check.h
index c0e603c..9acea15 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of cparser.
- * Copyright (C) 2007-2008 Matthias Braun <matze@braunis.de>
+ * Copyright (C) 2007-2009 Matthias Braun <matze@braunis.de>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
 
 #include "ast.h"
 
+typedef enum {
+       FORMAT_PRINTF,   /**< printf style format */
+       FORMAT_SCANF,    /**< scanf style format */
+       FORMAT_STRFTIME, /**< strftime time format */
+       FORMAT_STRFMON   /**< strfmon monetary format */
+} format_kind_t;
 
 void check_format(const call_expression_t *call);