Added new module_* routines, changed def. of load_extension.

This commit is contained in:
Mark Valence 1999-11-09 21:20:23 +00:00
parent 249313f75a
commit 47d4d7fbb0

View File

@ -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;