pish->filename= mystrdup (tok);
pish->filePattern = mystrdup (tok);
pishParseNameValue (pmail_command_t cmd,		    char *name,		    char *tok){    pish_command_t	*pish = (pish_command_t *)cmd->data;    D_PRINTF (stderr, "pishParseNameValue(name='%s' value='%s')\n", name, tok);    /* find a home for the attr/value */    if (cmdParseNameValue(cmd, name, tok))	;				/* done */    else if (strcmp(name, "server") == 0)	pish->hostInfo.hostName = mystrdup (tok);    else if (strcmp(name, "smtpmailfrom") == 0)	pish->smtpMailFrom = mystrdup (tok);    else if (strcmp(name, "loginformat") == 0)	pish->loginFormat = mystrdup (tok);    else if (strcmp(name, "addressformat") == 0)	pish->addressFormat = mystrdup (tok);    else if (strcmp(name, "firstlogin") == 0)	pish->loginRange.first = atoi(tok);    else if (strcmp(name, "numlogins") == 0)	pish->loginRange.span = atoi(tok);    else if (strcmp(name, "sequentiallogins") == 0)	pish->loginRange.sequential = atoi(tok);    else if (strcmp(name, "firstdomain") == 0)	pish->domainRange.first = atoi(tok);    else if (strcmp(name, "numdomains") == 0)	pish->domainRange.span = atoi(tok);    else if (strcmp(name, "sequentialdomains") == 0)	pish->domainRange.sequential = atoi(tok);    else if (strcmp(name, "firstaddress") == 0)	pish->addressRange.first = atoi(tok);    else if (strcmp(name, "numaddresses") == 0)	pish->addressRange.span = atoi(tok);    else if (strcmp(name, "sequentialaddresses") == 0)	pish->addressRange.sequential = atoi(tok);    else if (strcmp(name, "portnum") == 0)	pish->hostInfo.portNum = atoi(tok);    else if (strcmp(name, "numrecips") == 0)	pish->numRecipients = atoi(tok);    else if (strcmp(name, "numrecipients") == 0)	pish->numRecipients = atoi(tok);    else if (strcmp(name, "file") == 0)	pish->filename= mystrdup (tok);    else if (strcmp(name, "passwdformat") == 0)	pish->passwdFormat = mystrdup (tok);    else if (strcmp(name, "searchfolder") == 0)	pish->imapSearchFolder = mystrdup (tok);    else if (strcmp(name, "searchpattern") == 0)	pish->imapSearchPattern = mystrdup (tok);    else if (strcmp(name, "searchrate") == 0)	pish->imapSearchRate = atoi(tok);    else if (strcmp(name, "useehlo") == 0)	pish->useEHLO = atoi(tok);    else if (strcmp(name, "useauthlogin") == 0)	pish->useAUTHLOGIN = atoi(tok);    else if (strcmp(name, "useauthplain") == 0)	pish->useAUTHPLAIN = atoi(tok);    else {	return -1;    }    return 0;}