summaryrefslogtreecommitdiff
path: root/source3/include/genparser.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-02-23 18:08:07 +0000
committerSimo Sorce <idra@samba.org>2003-02-23 18:08:07 +0000
commitbd0bbde1bba4ad4e6e95f269912943d9d583dce4 (patch)
treefe99819e9423134c19a805aa6f145279d2f27abf /source3/include/genparser.h
parentbfc5f0ba8e7fed1f95f83cb1ee43631e307927fb (diff)
downloadsamba-bd0bbde1bba4ad4e6e95f269912943d9d583dce4.tar.gz
samba-bd0bbde1bba4ad4e6e95f269912943d9d583dce4.tar.bz2
samba-bd0bbde1bba4ad4e6e95f269912943d9d583dce4.zip
forgot the altered include file
(This used to be commit f3be08472b8b34d8921ff23c52dd2ba030c96f25)
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)