summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/cmdline.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-01 15:41:07 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-01 18:55:20 +1100
commitf924a022cbc973ae646bff5119a1784e979a052f (patch)
tree19214278c6d7fd79ce65663748ee96193ec000cd /source4/lib/ldb/tools/cmdline.h
parentfd8815335d1295d3d0b9f5e7870f4ed364b1dd3b (diff)
downloadsamba-f924a022cbc973ae646bff5119a1784e979a052f.tar.gz
samba-f924a022cbc973ae646bff5119a1784e979a052f.tar.bz2
samba-f924a022cbc973ae646bff5119a1784e979a052f.zip
s4-ldb: added ldb command line hook support
ldb modules can now add hooks to the command line processing for ldb tools Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/ldb/tools/cmdline.h')
-rw-r--r--source4/lib/ldb/tools/cmdline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/cmdline.h b/source4/lib/ldb/tools/cmdline.h
index e82b2ee593..0bc57611cd 100644
--- a/source4/lib/ldb/tools/cmdline.h
+++ b/source4/lib/ldb/tools/cmdline.h
@@ -47,9 +47,9 @@ struct ldb_cmdline {
};
struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const char **argv,
- void (*usage)(void));
+ void (*usage)(struct ldb_context *));
int handle_controls_reply(struct ldb_control **reply, struct ldb_control **request);
-void ldb_cmdline_help(const char *cmdname, FILE *f);
+void ldb_cmdline_help(struct ldb_context *ldb, const char *cmdname, FILE *f);