Cleanup prototypes

This commit is contained in:
Kurt Zeilenga 2002-01-19 05:13:14 +00:00
parent 9cd630d507
commit b713f42650

View File

@ -521,25 +521,13 @@ LDAP_SLAPD_F (int) lock_fclose LDAP_P(( FILE *fp, FILE *lfp ));
/* /*
* modify.c * modify.c
* should be relocated to separate file
*/ */
LDAP_SLAPD_F( void ) slap_mod_free( Modification *mod, int freeit );
LDAP_SLAPD_F( void ) slap_mods_free( Modifications *mods );
LDAP_SLAPD_F( void ) slap_modlist_free( LDAPModList *ml );
LDAP_SLAPD_F( int ) slap_mods_check( LDAP_SLAPD_F( int ) slap_mods_check(
Modifications *ml, Modifications *ml,
int update, int update,
const char **text, const char **text,
char *textbuf, size_t textlen ); char *textbuf, size_t textlen );
LDAP_SLAPD_F( int ) slap_modlist2mods(
LDAPModList *ml,
int update,
Modifications **mods,
const char **text,
char *textbuf, size_t textlen );
LDAP_SLAPD_F( int ) slap_mods_opattrs( LDAP_SLAPD_F( int ) slap_mods_opattrs(
Operation *op, Operation *op,
Modifications *mods, Modifications *mods,
@ -547,6 +535,13 @@ LDAP_SLAPD_F( int ) slap_mods_opattrs(
const char **text, const char **text,
char *textbuf, size_t textlen ); char *textbuf, size_t textlen );
/*
* mods.c
*/
LDAP_SLAPD_F( void ) slap_mod_free( Modification *mod, int freeit );
LDAP_SLAPD_F( void ) slap_mods_free( Modifications *mods );
LDAP_SLAPD_F( void ) slap_modlist_free( LDAPModList *ml );
/* /*
* module.c * module.c
*/ */