Lines Matching refs:ps_ptr
363 char *s, *temp_arg, *ps_ptr, *ps_arg;
543 ps_ptr=strtok(ps_arg, ":");
544 if (ps_ptr == NULL || (strcasecmp(ps_ptr, "ps")) ) {
548 if (NULL != (ps_ptr=strtok(NULL, ":"))) {
549 if ( (temp_arg = strdup( ps_ptr )) == NULL ) {
557 if (NULL != (ps_ptr=strtok(NULL, ":"))) {
558 if ( (changesonly = ldaptool_boolean_str2value(ps_ptr, 0)) == -1) {
559 fprintf(stderr, gettext("Invalid option value: %s\n"), ps_ptr);
563 if (NULL != (ps_ptr=strtok(NULL, ":"))) {
564 if ( (return_echg_ctls = ldaptool_boolean_str2value(ps_ptr, 0)) == -1) {
565 fprintf(stderr, gettext("Invalid option value: %s\n"), ps_ptr);
573 if ((ps_ptr = strtok( temp_arg, "," )) == NULL) {
576 while ( ps_ptr ) {
577 if ((strcasecmp(ps_ptr, "add"))==0)
579 else if ((strcasecmp(ps_ptr, "delete"))==0)
581 else if ((strcasecmp(ps_ptr, "modify"))==0)
583 else if ((strcasecmp(ps_ptr, "moddn"))==0)
585 else if ((strcasecmp(ps_ptr, "any"))==0)
588 fprintf(stderr, gettext("Unknown changetype: %s\n"), ps_ptr);
591 ps_ptr = strtok( NULL, "," );