Lines Matching defs:optarg
51 static void options_callback( int option, char *optarg );
56 static char **get_effectiverights_attrlist(char * optarg);
360 options_callback( int option, char *optarg )
406 if ( strncasecmp( optarg, "base", 4 ) == 0 ) {
408 } else if ( strncasecmp( optarg, "one", 3 ) == 0 ) {
410 } else if ( strncasecmp( optarg, "sub", 3 ) == 0 ) {
419 if ( strncasecmp( optarg, "never", 5 ) == 0 ) {
421 } else if ( strncasecmp( optarg, "search", 5 ) == 0 ) {
423 } else if ( strncasecmp( optarg, "find", 4 ) == 0 ) {
425 } else if ( strncasecmp( optarg, "always", 6 ) == 0 ) {
434 sep = strdup( optarg );
439 if ( optarg && optarg[0] == '\0' ) {
445 }else if ( strlen(optarg) < 3 || (strncasecmp(optarg, "dn:", 3) != 0) ) {
450 get_effectiverights_control_target_dn = strdup(optarg);
455 get_effectiverights_control_attrlist = get_effectiverights_attrlist(optarg);
460 base = strdup( optarg );
463 timelimit = atoi( optarg );
469 sizelimit = atoi( optarg );
472 ldap_charray_add( &sortattr, strdup( optarg ) );
479 s = strchr(optarg, VLV_PARAM_SEP );
483 vlv_before = atoi(optarg);
537 if ( (ps_arg = strdup( optarg)) == NULL ) {
1391 static char **get_effectiverights_attrlist(char * optarg) {
1393 char * tmp_str = strdup(optarg);