From: Mark Valence Date: Tue, 9 Nov 1999 21:20:23 +0000 (+0000) Subject: Added new module_* routines, changed def. of load_extension. X-Git-Tag: UCDATA_2_4~221 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=47d4d7fbb036778962ab57afc8a1d4425d696c4c;p=openldap Added new module_* routines, changed def. of load_extension. --- diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index ea82a93b93..f29180c4fe 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -261,8 +261,13 @@ int lock_fclose LDAP_P(( FILE *fp, FILE *lfp )); */ #ifdef SLAPD_MODULES +int module_init LDAP_P(( void )); +int module_kill LDAP_P(( void )); + int module_load LDAP_P(( const char* file_name, int argc, char *argv[] )); int module_path LDAP_P(( const char* path )); + +void *module_resolve LDAP_P((const void *module, const char *name)); #endif /* SLAPD_MODULES */ /* @@ -519,7 +524,7 @@ 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)); -extern int load_extension LDAP_P((char *oid, char *libpath, int argc, char **argv)); +int load_extension LDAP_P((const void *module, const char *file_name)); extern ber_socket_t dtblsize;