summaryrefslogtreecommitdiff
path: root/source3/include/genparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/genparser.h')
-rw-r--r--source3/include/genparser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/genparser.h b/source3/include/genparser.h
index 002d79f8f9..f28cd78249 100644
--- a/source3/include/genparser.h
+++ b/source3/include/genparser.h
@@ -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)