X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=format_check.h;h=9acea158970ca6240d5814757b52ee056a634d6a;hb=0e980ea5a6538fcb6ae620141404b4cb6805d6e4;hp=c0e603cd22761c579857ef6c17a2c7501e2b3c7d;hpb=fd16b92f058181088a385c3224c8814831c006d3;p=cparser diff --git a/format_check.h b/format_check.h index c0e603c..9acea15 100644 --- a/format_check.h +++ b/format_check.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -22,6 +22,12 @@ #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);