]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/proto-slap.h
ITS#4088 force cursors to use same locker
[openldap] / servers / slapd / proto-slap.h
index 6369ef409dbc4f6bad77df8899fd74ef7057b1f6..d9c0ab24364788408a9ac528d5aa7687f2c5b58e 100644 (file)
@@ -432,6 +432,9 @@ LDAP_SLAPD_F (int) overlay_op_walk LDAP_P((
  */
 LDAP_SLAPD_F (int) slap_loglevel_register LDAP_P (( slap_mask_t m, struct berval *s ));
 LDAP_SLAPD_F (int) str2loglevel LDAP_P(( const char *s, int *l ));
+LDAP_SLAPD_F (int) loglevel2bvarray LDAP_P(( int l, BerVarray *bva ));
+LDAP_SLAPD_F (const char *) loglevel2str LDAP_P(( int l ));
+LDAP_SLAPD_F (int) loglevel2bv LDAP_P(( int l, struct berval *bv ));
 
 /*
  * ch_malloc.c
@@ -651,10 +654,11 @@ LDAP_SLAPD_F (int) connection_state_closing LDAP_P(( Connection *c ));
 LDAP_SLAPD_F (const char *) connection_state2str LDAP_P(( int state ))
        LDAP_GCCATTR((const));
 
-LDAP_SLAPD_F (int) connection_write LDAP_P((ber_socket_t s));
-#ifdef SLAP_LIGHTWEIGHT_LISTENER
-LDAP_SLAPD_F (int) connection_read LDAP_P((ber_socket_t, Operation **));
+#ifdef SLAP_LIGHTWEIGHT_DISPATCHER
+LDAP_SLAPD_F (int) connection_write_activate LDAP_P((ber_socket_t s));
+LDAP_SLAPD_F (int) connection_read_activate LDAP_P((ber_socket_t s));
 #else
+LDAP_SLAPD_F (int) connection_write LDAP_P((ber_socket_t s));
 LDAP_SLAPD_F (int) connection_read LDAP_P((ber_socket_t s));
 #endif
 
@@ -868,7 +872,7 @@ typedef int (SLAP_EXTOP_GETOID_FN) LDAP_P((
        int index, struct berval *oid, int blen ));
 
 LDAP_SLAPD_F (int) load_extop LDAP_P((
-       struct berval *ext_oid,
+       const struct berval *ext_oid,
        slap_mask_t flags,
        SLAP_EXTOP_MAIN_FN *ext_main ));