1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-25 00:23:52 +03:00

r16083: Make it possible to initialise a backend module, without it setting up

the whole ldb structure.

Because the sequence number was a fn pointer on the main ldb context,
turn it into a full request (currently sync).

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2006-06-07 21:03:38 +00:00
committed by Gerald (Jerry) Carter
parent 954785db03
commit fbe7d0ca90
9 changed files with 160 additions and 61 deletions

View File

@@ -67,9 +67,11 @@ struct ldb_module_ops {
int (*end_transaction)(struct ldb_module *);
int (*del_transaction)(struct ldb_module *);
int (*async_wait)(struct ldb_async_handle *, enum ldb_async_wait_type);
int (*sequence_number)(struct ldb_module *, struct ldb_request *);
};
typedef int (*ldb_connect_fn) (struct ldb_context *ldb, const char *url, unsigned int flags, const char *options[]);
typedef int (*ldb_connect_fn) (struct ldb_context *ldb, const char *url, unsigned int flags, const char *options[],
struct ldb_module **module);
/*
schema related information needed for matching rules