diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2013-01-02 11:22:16 -0500 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-01-14 16:21:02 +0100 |
commit | 813bd0353fda0eb6d7c78392d5abd3002115da96 (patch) | |
tree | 2069c144b16488eb0da741aa51140f4e7ed1d271 /lib/ldb | |
parent | 95c891cf44143e12b2f90047f3fefe6d23c598fd (diff) | |
download | samba-813bd0353fda0eb6d7c78392d5abd3002115da96.tar.gz samba-813bd0353fda0eb6d7c78392d5abd3002115da96.tar.bz2 samba-813bd0353fda0eb6d7c78392d5abd3002115da96.zip |
ldb: Move doxygen comments for ldb_connect to the right place
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jan 14 16:21:02 CET 2013 on sn-devel-104
Diffstat (limited to 'lib/ldb')
-rw-r--r-- | lib/ldb/include/ldb.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/lib/ldb/include/ldb.h b/lib/ldb/include/ldb.h index b60fc9b5eb..748def9435 100644 --- a/lib/ldb/include/ldb.h +++ b/lib/ldb/include/ldb.h @@ -1033,6 +1033,18 @@ int ldb_global_init(void); */ struct ldb_context *ldb_init(TALLOC_CTX *mem_ctx, struct tevent_context *ev_ctx); +typedef void (*ldb_async_timeout_fn) (void *); +typedef bool (*ldb_async_callback_fn) (void *); +typedef int (*ldb_async_ctx_add_op_fn)(void *, time_t, void *, ldb_async_timeout_fn, ldb_async_callback_fn); +typedef int (*ldb_async_ctx_wait_op_fn)(void *); + +void ldb_async_ctx_set_private_data(struct ldb_context *ldb, + void *private_data); +void ldb_async_ctx_set_add_op(struct ldb_context *ldb, + ldb_async_ctx_add_op_fn add_op); +void ldb_async_ctx_set_wait_op(struct ldb_context *ldb, + ldb_async_ctx_wait_op_fn wait_op); + /** Connect to a database. @@ -1056,19 +1068,6 @@ struct ldb_context *ldb_init(TALLOC_CTX *mem_ctx, struct tevent_context *ev_ctx) (that is, with LDB_FLG_RDONLY). However in read-write mode, the database will be created if it does not exist. */ - -typedef void (*ldb_async_timeout_fn) (void *); -typedef bool (*ldb_async_callback_fn) (void *); -typedef int (*ldb_async_ctx_add_op_fn)(void *, time_t, void *, ldb_async_timeout_fn, ldb_async_callback_fn); -typedef int (*ldb_async_ctx_wait_op_fn)(void *); - -void ldb_async_ctx_set_private_data(struct ldb_context *ldb, - void *private_data); -void ldb_async_ctx_set_add_op(struct ldb_context *ldb, - ldb_async_ctx_add_op_fn add_op); -void ldb_async_ctx_set_wait_op(struct ldb_context *ldb, - ldb_async_ctx_wait_op_fn wait_op); - int ldb_connect(struct ldb_context *ldb, const char *url, unsigned int flags, const char *options[]); /* |