if (pk11_argHasFlag("flags","readOnly",param) || pk11_argHasFlag("flags","noModDB",param)) *rw = PR_FALSE;
if (pk11_argHasFlag("flags","readOnly",save_params) || pk11_argHasFlag("flags","noModDB",save_params)) *rw = PR_FALSE;
secmod_getSecmodName(char *param, PRBool *rw){    int next;    char *configdir = NULL;    char *secmodName = NULL;    char *value = NULL;    param = pk11_argStrip(param);	    while (*param) {	PK11_HANDLE_STRING_ARG(param,configdir,"configdir=",;)	PK11_HANDLE_STRING_ARG(param,secmodName,"secmod=",;)	PK11_HANDLE_FINAL_ARG(param)   }   *rw = PR_TRUE;   if (pk11_argHasFlag("flags","readOnly",param) ||	pk11_argHasFlag("flags","noModDB",param)) *rw = PR_FALSE;   if (secmodName == NULL) secmodName = PORT_Strdup(SECMOD_DB);   if (configdir) {	value = PR_smprintf("%s" PATH_SEPARATOR "%s",configdir,secmodName);   } else {	value = PORT_Strdup(secmodName);   }   PORT_Free(secmodName);   if (configdir) PORT_Free(configdir);   return value;}