mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s4-ldb: added ldb_module_get_ops()
This is needed to support DSDB_FLAG_OWN_MODULE Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
dd33a22f1d
commit
e1ffcfc783
@ -527,6 +527,11 @@ struct ldb_context *ldb_module_get_ctx(struct ldb_module *module)
|
||||
return module->ldb;
|
||||
}
|
||||
|
||||
const struct ldb_module_ops *ldb_module_get_ops(struct ldb_module *module)
|
||||
{
|
||||
return module->ops;
|
||||
}
|
||||
|
||||
void *ldb_module_get_private(struct ldb_module *module)
|
||||
{
|
||||
return module->private_data;
|
||||
|
@ -140,6 +140,7 @@ const char * ldb_module_get_name(struct ldb_module *module);
|
||||
struct ldb_context *ldb_module_get_ctx(struct ldb_module *module);
|
||||
void *ldb_module_get_private(struct ldb_module *module);
|
||||
void ldb_module_set_private(struct ldb_module *module, void *private_data);
|
||||
const struct ldb_module_ops *ldb_module_get_ops(struct ldb_module *module);
|
||||
|
||||
int ldb_next_request(struct ldb_module *module, struct ldb_request *request);
|
||||
int ldb_next_start_trans(struct ldb_module *module);
|
||||
|
Loading…
Reference in New Issue
Block a user