]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Rename bind handlers
authorOndřej Kuzník <ondra@mistotebe.net>
Wed, 27 Sep 2017 10:01:17 +0000 (11:01 +0100)
committerOndřej Kuzník <okuznik@symas.com>
Tue, 17 Nov 2020 17:58:14 +0000 (17:58 +0000)
servers/lloadd/bind.c
servers/lloadd/client.c
servers/lloadd/proto-slap.h

index 37a391dd3727949188fc621a9f61f87d4f08f533..36df6db21530514caa1d838032c1f2dac21d7cd5 100644 (file)
@@ -29,7 +29,7 @@
  * upstream's c_io_mutex.
  */
 static int
-request_bind( Operation *op )
+client_bind( Operation *op )
 {
     Connection *client = op->o_client, *upstream = op->o_upstream;
     BerElement *ber, *copy = NULL;
@@ -130,7 +130,7 @@ fail:
  * upstream's c_io_mutex.
  */
 static int
-request_bind_as_vc( Operation *op )
+client_bind_as_vc( Operation *op )
 {
     Connection *client = op->o_client, *upstream = op->o_upstream;
     BerElement *ber, *request, *copy = NULL;
@@ -302,7 +302,7 @@ client_reset( Connection *c )
 }
 
 int
-client_bind( Connection *client, Operation *op )
+request_bind( Connection *client, Operation *op )
 {
     Connection *upstream;
     int rc = LDAP_SUCCESS;
@@ -338,11 +338,11 @@ client_bind( Connection *client, Operation *op )
 
 #ifdef LDAP_API_FEATURE_VERIFY_CREDENTIALS
     if ( lload_features & LLOAD_FEATURE_VC ) {
-        rc = request_bind_as_vc( op );
+        rc = client_bind_as_vc( op );
     } else
 #endif /* LDAP_API_FEATURE_VERIFY_CREDENTIALS */
     {
-        rc = request_bind( op );
+        rc = client_bind( op );
     }
 
     CONNECTION_LOCK_DECREF(upstream);
index c9aab64a46db73ee12d8f273dc97aa9b3e961f82..9d8cb9dd7f93c6515ad8259aae1bf386e6e63214 100644 (file)
@@ -58,7 +58,7 @@ handle_one_request( Connection *c )
             CONNECTION_DESTROY(c);
             return -1;
         case LDAP_REQ_BIND:
-            handler = client_bind;
+            handler = request_bind;
             break;
         case LDAP_REQ_ABANDON:
             /* FIXME: We need to be able to abandon a Bind request, handling
index fc2cb30db7e3cbe8093956f7c17188d0c4b9ba6f..ae2267dbe025db2af0243347e6c76026532f87c2 100644 (file)
@@ -65,7 +65,7 @@ LDAP_SLAPD_F (void) ch_free( void * );
  * bind.c
  */
 LDAP_SLAPD_F (void) client_reset( Connection *c );
-LDAP_SLAPD_F (int) client_bind( Connection *c, Operation *op );
+LDAP_SLAPD_F (int) request_bind( Connection *c, Operation *op );
 
 /*
  * client.c