X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-ldap%2Fdistproc.c;h=7fb41d4b7b5858ff508e61b46e5449a9d9700890;hb=c8c34cdd43d3603f3b64a56841b4425379c98f45;hp=23e4e3f6e1b34d248e1b0a4da33a0f4e15fa83c9;hpb=4af9eb971559e3a1f0432615e93ec870dc753ddb;p=openldap diff --git a/servers/slapd/back-ldap/distproc.c b/servers/slapd/back-ldap/distproc.c index 23e4e3f6e1..7fb41d4b7b 100644 --- a/servers/slapd/back-ldap/distproc.c +++ b/servers/slapd/back-ldap/distproc.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2005-2009 The OpenLDAP Foundation. + * Copyright 2005-2011 The OpenLDAP Foundation. * Portions Copyright 2003 Howard Chu. * All rights reserved. * @@ -107,6 +107,7 @@ typedef struct ContinuationReference_t { } ContinuationReference_t; #define CR_INIT { NULL, BER_BVNULL, LDAP_DP_RT_UNKNOWN, BER_BVNULL, LDAP_DP_SS_UNKNOWN, NULL, BER_BVNULL } +#ifdef unused static struct berval bv2rt[] = { BER_BVC( "superior" ), BER_BVC( "subordinate" ), @@ -196,6 +197,7 @@ ldap_distproc_str2ss( const char *s ) ber_str2bv( s, 0, 0, &bv ); return ldap_distproc_bv2ss( &bv ); } +#endif /* unused */ /* * NOTE: this overlay assumes that the chainingBehavior control @@ -239,12 +241,6 @@ static int ldap_distproc_db_init_one( BackendDB *be ); #define ldap_distproc_db_close_one(be) (0) #define ldap_distproc_db_destroy_one(be, ca) (lback)->bi_db_destroy( (be), (ca) ) -static int -ldap_distproc_parse_ctrl( - Operation *op, - SlapReply *rs, - LDAPControl *ctrl ); - static int ldap_distproc_uri_cmp( const void *c1, const void *c2 ) {