/*
Bacula® - The Network Backup Solution
- Copyright (C) 2001-2007 Free Software Foundation Europe e.V.
+ Copyright (C) 2001-2011 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
*
* Kern Sibbald, August MMI
*
- * Version $Id$
*/
#ifndef __UA_H_
CONRES *cons; /* console resource */
POOLMEM *cmd; /* return command/name buffer */
POOLMEM *args; /* command line arguments */
+ POOLMEM *errmsg; /* store error message */
char *argk[MAX_CMD_ARGS]; /* argument keywords */
char *argv[MAX_CMD_ARGS]; /* argument values */
int argc; /* number of arguments */
int max_prompts; /* max size of list */
int num_prompts; /* current number in list */
int api; /* For programs want an API */
+ int cmd_index; /* Index in command table */
bool force_mult_db_connections; /* overwrite cat.mult_db_connections */
bool auto_display_messages; /* if set, display messages */
bool user_notified_msg_pending; /* set when user notified */
char *comment;
char *where;
char *RegexWhere;
+ char *replace;
RBSR *bsr;
POOLMEM *fname; /* filename only */
POOLMEM *path; /* path only */