From 47d4d7fbb036778962ab57afc8a1d4425d696c4c Mon Sep 17 00:00:00 2001 From: Mark Valence Date: Tue, 9 Nov 1999 21:20:23 +0000 Subject: [PATCH] Added new module_* routines, changed def. of load_extension. --- servers/slapd/proto-slap.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; -- 2.39.5