1
0
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:
Andrew Tridgell
2005-06-20 04:56:43 +00:00
committed by Gerald (Jerry) Carter
parent 1a80ac6aa8
commit 9fa21b2458
4 changed files with 45 additions and 2 deletions

View File

@@ -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