mirror of
https://github.com/samba-team/samba.git
synced 2025-11-23 20:23:50 +03:00
r7776: add a method for getting arbitrary opaque data into a ldb context, for use by backends.
Currently only EventContext is used in this way.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1a80ac6aa8
commit
9fa21b2458
@@ -372,4 +372,8 @@ int ldb_set_debug(struct ldb_context *ldb,
|
||||
/* this sets up debug to print messages on stderr */
|
||||
int ldb_set_debug_stderr(struct ldb_context *ldb);
|
||||
|
||||
/* control backend specific opaque values */
|
||||
int ldb_set_opaque(struct ldb_context *ldb, const char *name, void *value);
|
||||
void *ldb_get_opaque(struct ldb_context *ldb, const char *name);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user