X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=servers%2Fslapd%2Fback-ldbm%2Fproto-back-ldbm.h;h=a5066eff8b14b8c00a0d1b193e9e2fe4404f92b3;hb=4a683c204d4295407967b442363db81282a964a0;hp=548ace4fce519ff8d3434b2a54bfef1b5b7dd0f5;hpb=1426f2b1bd59b177b6ab29c8ea5dc2dca27ff9cd;p=openldap diff --git a/servers/slapd/back-ldbm/proto-back-ldbm.h b/servers/slapd/back-ldbm/proto-back-ldbm.h index 548ace4fce..a5066eff8b 100644 --- a/servers/slapd/back-ldbm/proto-back-ldbm.h +++ b/servers/slapd/back-ldbm/proto-back-ldbm.h @@ -129,7 +129,15 @@ ID idl_nextid LDAP_P(( ID_BLOCK *idl, ID id )); int index_add_entry LDAP_P(( Backend *be, Entry *e )); int index_add_mods LDAP_P(( Backend *be, LDAPModList *ml, ID id )); ID_BLOCK * index_read LDAP_P(( Backend *be, char *type, int indextype, char *val )); -int index_add_values LDAP_P(( Backend *be, char *type, struct berval **vals, ID id )); +/* Possible operations supported (op) by index_change_values() */ +#define __INDEX_ADD_OP 0x0001 +#define __INDEX_DELETE_OP 0x0002 +int index_change_values LDAP_P(( Backend *be, + char *type, + struct berval **vals, + ID id, + unsigned int op )); + /* * kerberos.c