X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=servers%2Fslapd%2Fback-ldbm%2Fproto-back-ldbm.h;h=a0abc0d86795ffd7ecb94ef525f68b01e3ed2e1a;hb=88c43a1e6e4d8b7cbe8ed157114e820f6e7ab35d;hp=a6ba91b729827746051eec19975dfe915c1db0ca;hpb=314f3f6ed740290c8ea0f163cf13cddd35a3ed1b;p=openldap diff --git a/servers/slapd/back-ldbm/proto-back-ldbm.h b/servers/slapd/back-ldbm/proto-back-ldbm.h index a6ba91b729..a0abc0d867 100644 --- a/servers/slapd/back-ldbm/proto-back-ldbm.h +++ b/servers/slapd/back-ldbm/proto-back-ldbm.h @@ -3,6 +3,8 @@ #include +#include "external.h" + LDAP_BEGIN_DECL /* @@ -35,7 +37,9 @@ void attr_index_config LDAP_P(( struct ldbminfo *li, char *fname, int lineno, void cache_set_state LDAP_P(( struct cache *cache, Entry *e, int state )); void cache_return_entry_r LDAP_P(( struct cache *cache, Entry *e )); void cache_return_entry_w LDAP_P(( struct cache *cache, Entry *e )); -int cache_add_entry_lock LDAP_P(( struct cache *cache, Entry *e, int state )); +int cache_add_entry_rw LDAP_P(( struct cache *cache, Entry *e, + int state, int rw )); +int cache_update_entry LDAP_P(( struct cache *cache, Entry *e )); ID cache_find_entry_dn2id LDAP_P(( Backend *be, struct cache *cache, char *dn )); Entry * cache_find_entry_id LDAP_P(( struct cache *cache, ID id, int rw )); int cache_delete_entry LDAP_P(( struct cache *cache, Entry *e )); @@ -83,7 +87,7 @@ int has_children LDAP_P(( Backend *be, Entry *p )); int id2entry_add LDAP_P(( Backend *be, Entry *e )); int id2entry_delete LDAP_P(( Backend *be, Entry *e )); -Entry * id2entry LDAP_P(( Backend *be, ID id, int rw )); +Entry * id2entry_rw LDAP_P(( Backend *be, ID id, int rw )); Entry * id2entry_r LDAP_P(( Backend *be, ID id )); Entry * id2entry_w LDAP_P(( Backend *be, ID id )); @@ -121,14 +125,6 @@ int index_add_values LDAP_P(( Backend *be, char *type, struct berval **vals, ID /* krbv4_ldap_auth LDAP_P(( Backend *be, struct berval *cred, AUTH_DAT *ad )); */ #endif -/* - * startup.c - */ - -void ldbm_back_startup LDAP_P(( Backend *be )); -void ldbm_back_shutdown LDAP_P(( Backend *be )); -void ldbm_db_errcall LDAP_P(( char *prefix, char *message )); - /* * nextid.c */