diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-04-18 16:07:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:39 -0500 |
commit | f74f7c933db6c981661ce5fc8666b87ad7ef41cc (patch) | |
tree | d2ccc2abd99a7f16905c8d32bda842b49b1405d4 /source3/include | |
parent | b39c949ae05ee990bd8daa588e92c768185761b5 (diff) | |
download | samba-f74f7c933db6c981661ce5fc8666b87ad7ef41cc.tar.gz samba-f74f7c933db6c981661ce5fc8666b87ad7ef41cc.tar.bz2 samba-f74f7c933db6c981661ce5fc8666b87ad7ef41cc.zip |
r6367: Slim down pdb_interface.c a bit. next_entry and search_end are function
pointers now.
Yes, Jeremy, this is about re-inventing C++... :-)
Volker
(This used to be commit a831e54738c7854e68c696e9cbb132c012ff223c)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/passdb.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 0c816271b0..9a3dd9c8d3 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -254,6 +254,9 @@ struct pdb_search { ssize_t cache_size; BOOL search_ended; void *private; + BOOL (*next_entry)(struct pdb_search *search, + struct samr_displayentry *entry); + void (*search_end)(struct pdb_search *search); }; /***************************************************************** @@ -378,11 +381,6 @@ typedef struct pdb_context BOOL (*pdb_search_aliases)(struct pdb_context *context, struct pdb_search *search, const DOM_SID *sid); - BOOL (*pdb_search_next_entry)(struct pdb_context *context, - struct pdb_search *search, - struct samr_displayentry *entry); - void (*pdb_search_end)(struct pdb_context *context, - struct pdb_search *search); void (*free_fn)(struct pdb_context **); @@ -496,11 +494,6 @@ typedef struct pdb_methods BOOL (*search_aliases)(struct pdb_methods *methods, struct pdb_search *search, const DOM_SID *sid); - BOOL (*search_next_entry)(struct pdb_methods *methods, - struct pdb_search *search, - struct samr_displayentry *entry); - void (*search_end)(struct pdb_methods *methods, - struct pdb_search *search); void *private_data; /* Private data of some kind */ |