mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Added new module_* routines, changed def. of load_extension.
This commit is contained in:
parent
249313f75a
commit
47d4d7fbb0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user