fname, lineno );
return( 1 );
}
- si->si_bind = charray_dup( (const char**) &argv[1] );
+ si->si_bind = charray_dup( &argv[1] );
/* command + args to exec for unbinds */
} else if ( strcasecmp( argv[0], "unbind" ) == 0 ) {
fname, lineno );
return( 1 );
}
- si->si_unbind = charray_dup( (const char**) &argv[1] );
+ si->si_unbind = charray_dup( &argv[1] );
/* command + args to exec for searches */
} else if ( strcasecmp( argv[0], "search" ) == 0 ) {
fname, lineno );
return( 1 );
}
- si->si_search = charray_dup( (const char**) &argv[1] );
+ si->si_search = charray_dup( &argv[1] );
/* command + args to exec for compares */
} else if ( strcasecmp( argv[0], "compare" ) == 0 ) {
fname, lineno );
return( 1 );
}
- si->si_compare = charray_dup( (const char**) &argv[1] );
+ si->si_compare = charray_dup( &argv[1] );
/* command + args to exec for modifies */
} else if ( strcasecmp( argv[0], "modify" ) == 0 ) {
fname, lineno );
return( 1 );
}
- si->si_modify = charray_dup( (const char**) &argv[1] );
+ si->si_modify = charray_dup( &argv[1] );
/* command + args to exec for modrdn */
} else if ( strcasecmp( argv[0], "modrdn" ) == 0 ) {
fname, lineno );
return( 1 );
}
- si->si_modrdn = charray_dup( (const char**) &argv[1] );
+ si->si_modrdn = charray_dup( &argv[1] );
/* command + args to exec for add */
} else if ( strcasecmp( argv[0], "add" ) == 0 ) {
fname, lineno );
return( 1 );
}
- si->si_add = charray_dup( (const char**) &argv[1] );
+ si->si_add = charray_dup( &argv[1] );
/* command + args to exec for delete */
} else if ( strcasecmp( argv[0], "delete" ) == 0 ) {
fname, lineno );
return( 1 );
}
- si->si_delete = charray_dup( (const char**) &argv[1] );
+ si->si_delete = charray_dup( &argv[1] );
/* command + args to exec for abandon */
} else if ( strcasecmp( argv[0], "abandon" ) == 0 ) {
fname, lineno );
return( 1 );
}
- si->si_abandon = charray_dup( (const char**) &argv[1] );
+ si->si_abandon = charray_dup( &argv[1] );
/* anything else */
} else {
*/
void charray_add LDAP_P(( char ***a, const char *s ));
-void charray_merge LDAP_P(( char ***a, const char **s ));
+void charray_merge LDAP_P(( char ***a, char **s ));
void charray_free LDAP_P(( char **array ));
-int charray_inlist LDAP_P(( const char **a, const char *s ));
-char ** charray_dup LDAP_P(( const char **a ));
+int charray_inlist LDAP_P(( char **a, const char *s ));
+char ** charray_dup LDAP_P(( char **a ));
char ** str2charray LDAP_P(( const char *str, const char *brkstr ));
-char * charray2str LDAP_P(( const char **a ));
+char * charray2str LDAP_P(( char **a ));
/*
* controls.c