forgot the altered include file
authorSimo Sorce <idra@samba.org>
Sun, 23 Feb 2003 18:08:07 +0000 (18:08 +0000)
committerSimo Sorce <idra@samba.org>
Sun, 23 Feb 2003 18:08:07 +0000 (18:08 +0000)
(This used to be commit f3be08472b8b34d8921ff23c52dd2ba030c96f25)

source3/include/genparser.h

index 002d79f8f966828107470c0c85bcc15077386438..f28cd78249dad7b05922b806ae45bc23611931c5 100644 (file)
@@ -46,8 +46,8 @@ struct parse_string {
        char *s;
 };
 
-typedef int (*gen_dump_fn)(struct parse_string *, const char *ptr, unsigned indent);
-typedef int (*gen_parse_fn)(char *ptr, const char *str);
+typedef int (*gen_dump_fn)(TALLOC_CTX *, struct parse_string *, const char *ptr, unsigned indent);
+typedef int (*gen_parse_fn)(TALLOC_CTX *, char *ptr, const char *str);
 
 /* genstruct.pl generates arrays of these */
 struct parse_struct {
@@ -63,8 +63,8 @@ struct parse_struct {
 };
 
 #define DUMP_PARSE_DECL(type) \
-  int gen_dump_ ## type(struct parse_string *, const char *, unsigned); \
-  int gen_parse_ ## type(char *, const char *);
+  int gen_dump_ ## type(TALLOC_CTX *, struct parse_string *, const char *, unsigned); \
+  int gen_parse_ ## type(TALLOC_CTX *, char *, const char *);
 
 DUMP_PARSE_DECL(char)
 DUMP_PARSE_DECL(int)