X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=servers%2Fslapd%2Fproto-slap.h;fp=servers%2Fslapd%2Fproto-slap.h;h=847f9475151f39af9cb8247e561ef19ec15c2fa0;hb=1a7ea74d55afa9981aecff92378dea7bb23b8637;hp=6e29f71056c9486a8039e1d8773ca8d48c4c31ab;hpb=671888193b127020b09a2503b309da7c89168bdc;p=openldap diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 6e29f71056..847f947515 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -129,6 +129,8 @@ int get_ctrls LDAP_P(( Operation *op, int senderrors )); +int get_manageDSAit LDAP_P(( Operation *op )); + /* * config.c */ @@ -258,10 +260,15 @@ void replog LDAP_P(( Backend *be, int optype, char *dn, void *change, int flag ) * result.c */ +struct berval **get_entry_referrals LDAP_P(( + Backend *be, Connection *conn, Operation *op, + Entry *e )); + void send_ldap_result LDAP_P(( Connection *conn, Operation *op, int err, char *matched, char *text, - struct berval **refs )); + struct berval **refs, + LDAPControl **ctrls )); void send_ldap_disconnect LDAP_P(( Connection *conn, Operation *op, @@ -271,16 +278,19 @@ void send_search_result LDAP_P(( Connection *conn, Operation *op, int err, char *matched, char *text, struct berval **refs, + LDAPControl **ctrls, int nentries )); int send_search_reference LDAP_P(( Backend *be, Connection *conn, Operation *op, Entry *e, struct berval **refs, + LDAPControl **ctrls, struct berval ***v2refs )); int send_search_entry LDAP_P(( Backend *be, Connection *conn, Operation *op, - Entry *e, char **attrs, int attrsonly, int opattrs )); + Entry *e, char **attrs, int attrsonly, int opattrs, + LDAPControl **ctrls )); int str2result LDAP_P(( char *s, int *code, char **matched, char **info )); @@ -302,6 +312,10 @@ int mr_add LDAP_P((LDAP_MATCHING_RULE *mr, slap_mr_normalize_func *normalize, sl void schema_info LDAP_P((Connection *conn, Operation *op, char **attrs, int attrsonly)); int schema_init LDAP_P((void)); +int is_entry_objectclass LDAP_P(( Entry *, char* objectclass )); +#define is_entry_alias(e) is_entry_objectclass((e), "ALIAS") +#define is_entry_referral(e) is_entry_objectclass((e), "REFERRAL") + /* * schemaparse.c @@ -330,11 +344,6 @@ int value_cmp LDAP_P(( struct berval *v1, struct berval *v2, int syntax, int value_find LDAP_P(( struct berval **vals, struct berval *v, int syntax, int normalize )); -/* - * suffixAlias.c - */ -char *suffixAlias LDAP_P(( char *dn, Operation *op, Backend *be )); - /* * user.c */