From: Mark Valence Date: Wed, 17 Nov 1999 19:17:31 +0000 (+0000) Subject: Added get_supported_extension(), removed extern supportedExtensions[]. X-Git-Tag: UCDATA_2_4~207 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=883f9de61d98a7d31829b77b4cd8616ed88c46be;p=openldap Added get_supported_extension(), removed extern supportedExtensions[]. --- diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index f29180c4fe..d13ad23b35 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -234,6 +234,13 @@ int entry_cmp LDAP_P(( Entry *a, Entry *b )); int entry_dn_cmp LDAP_P(( Entry *a, Entry *b )); int entry_id_cmp LDAP_P(( Entry *a, Entry *b )); +/* + * extended.c + */ + +int load_extension LDAP_P((const void *module, const char *file_name)); +char *get_supported_extension LDAP_P((int index)); + /* * filter.c */ @@ -273,7 +280,6 @@ void *module_resolve LDAP_P((const void *module, const char *name)); /* * monitor.c */ -extern char *supportedExtensions[]; extern char *supportedControls[]; void monitor_info LDAP_P(( @@ -524,8 +530,6 @@ extern int do_search LDAP_P((Connection *conn, Operation *op)); extern int do_unbind LDAP_P((Connection *conn, Operation *op)); extern int do_extended LDAP_P((Connection *conn, Operation *op)); -int load_extension LDAP_P((const void *module, const char *file_name)); - extern ber_socket_t dtblsize;