/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/actions.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/actions.c,v $
* and/or modify it under the terms of the GNU General
* Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at
* and/or modify it under the terms of the GNU General
* Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at
* Revision 1.15 2001/10/14 21:58:22 jongfoster
* Adding support for the CGI-based editor:
* - Exported get_actions()
* Revision 1.15 2001/10/14 21:58:22 jongfoster
* Adding support for the CGI-based editor:
* - Exported get_actions()
* Returns : JB_ERR_OK or JB_ERR_MEMORY
*
*********************************************************************/
* Returns : JB_ERR_OK or JB_ERR_MEMORY
*
*********************************************************************/
* we found an action.
* 2 : name = [out] Start of action name, null
* terminated. NULL on EOL
* we found an action.
* 2 : name = [out] Start of action name, null
* terminated. NULL on EOL
* 1 : dest = Current actions, to modify.
* 2 : src = Action to add.
*
* 1 : dest = Current actions, to modify.
* 2 : src = Action to add.
*
"can't load actions file '%s': invalid line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid line: {{ }}",
csp->config->actions_file);
return 1; /* never get here */
"can't load actions file '%s': invalid line: {{ }}",
csp->config->actions_file);
return 1; /* never get here */
"can't load actions file '%s': {{settings}} must only appear once, and it must be before anything else.",
csp->config->actions_file);
}
"can't load actions file '%s': {{settings}} must only appear once, and it must be before anything else.",
csp->config->actions_file);
}
"can't load actions file '%s': {{description}} must only appear once, and only a {{settings}} block may be above it.",
csp->config->actions_file);
}
"can't load actions file '%s': {{description}} must only appear once, and only a {{settings}} block may be above it.",
csp->config->actions_file);
}
"can't load actions file '%s': {{alias}} must only appear once, and it must be before all actions.",
csp->config->actions_file, start);
}
"can't load actions file '%s': {{alias}} must only appear once, and it must be before all actions.",
csp->config->actions_file, start);
}
"can't load actions file '%s': invalid line: {{%s}}",
csp->config->actions_file, start);
return 1; /* never get here */
"can't load actions file '%s': invalid line: {{%s}}",
csp->config->actions_file, start);
return 1; /* never get here */
"can't load actions file '%s': out of memory",
csp->config->actions_file);
return 1; /* never get here */
"can't load actions file '%s': out of memory",
csp->config->actions_file);
return 1; /* never get here */
"can't load actions file '%s': invalid line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid alias line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid alias line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid alias line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid alias line: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': invalid alias line: %s = %s",
csp->config->actions_file, buf, start);
return 1; /* never get here */
}
"can't load actions file '%s': invalid alias line: %s = %s",
csp->config->actions_file, buf, start);
return 1; /* never get here */
}
"can't load actions file '%s': cannot create URL pattern from: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': cannot create URL pattern from: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': first line is invalid: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': first line is invalid: %s",
csp->config->actions_file, buf);
return 1; /* never get here */
"can't load actions file '%s': INTERNAL ERROR - mode = %d",
csp->config->actions_file, mode);
return 1; /* never get here */
"can't load actions file '%s': INTERNAL ERROR - mode = %d",
csp->config->actions_file, mode);
return 1; /* never get here */