diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-09-29 10:18:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:11 -0500 |
commit | 0e90afb4e7737d60d902aee1df4cbeb85a7b693d (patch) | |
tree | e260e503647667f32ee0b19f32071d92d25d5086 /source4/lib/ldb/include | |
parent | b0a5e9126117b8e49a97f2c13c818f4a3c49cbc0 (diff) | |
download | samba-0e90afb4e7737d60d902aee1df4cbeb85a7b693d.tar.gz samba-0e90afb4e7737d60d902aee1df4cbeb85a7b693d.tar.bz2 samba-0e90afb4e7737d60d902aee1df4cbeb85a7b693d.zip |
r10603: neaten up the ldb module initialisation code
(This used to be commit 8e7c4c98a7b4fd814f298fba1b6b686cb58339f8)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index f371c340cc..73bac2088a 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -143,6 +143,10 @@ typedef int (*ldb_traverse_fn)(struct ldb_context *, const struct ldb_message *) struct ldb_module; +/* module initialisation function */ +typedef struct ldb_module *(*ldb_module_init_t)(struct ldb_context *, const char **); + + /* debugging uses one of the following levels */ enum ldb_debug_level {LDB_DEBUG_FATAL, LDB_DEBUG_ERROR, LDB_DEBUG_WARNING, LDB_DEBUG_TRACE}; |