Lines Matching defs:optarg
52 static void options_callback( int option, char *optarg );
57 static char **get_effectiverights_attrlist(char * optarg);
361 options_callback( int option, char *optarg )
407 if ( strncasecmp( optarg, "base", 4 ) == 0 ) {
409 } else if ( strncasecmp( optarg, "one", 3 ) == 0 ) {
411 } else if ( strncasecmp( optarg, "sub", 3 ) == 0 ) {
420 if ( strncasecmp( optarg, "never", 5 ) == 0 ) {
422 } else if ( strncasecmp( optarg, "search", 5 ) == 0 ) {
424 } else if ( strncasecmp( optarg, "find", 4 ) == 0 ) {
426 } else if ( strncasecmp( optarg, "always", 6 ) == 0 ) {
435 sep = strdup( optarg );
440 if ( optarg && optarg[0] == '\0' ) {
446 }else if ( strlen(optarg) < 3 || (strncasecmp(optarg, "dn:", 3) != 0) ) {
451 get_effectiverights_control_target_dn = strdup(optarg);
456 get_effectiverights_control_attrlist = get_effectiverights_attrlist(optarg);
461 base = strdup( optarg );
464 timelimit = atoi( optarg );
470 sizelimit = atoi( optarg );
473 ldap_charray_add( &sortattr, strdup( optarg ) );
480 s = strchr(optarg, VLV_PARAM_SEP );
484 vlv_before = atoi(optarg);
538 if ( (ps_arg = strdup( optarg)) == NULL ) {
1392 static char **get_effectiverights_attrlist(char * optarg) {
1394 char * tmp_str = strdup(optarg);