/* Extract or import a key */
int k_extract(char *cmdextract);
int k_import(char *cmdimport);
/* Extract or import a key */
int k_extract(char *cmdextract);
int k_import(char *cmdimport);
/* Print available agents */
int print_agents(int print_status, int active_only, int csv_output);
int list_agents(int cmdlist);
/* Print available agents */
int print_agents(int print_status, int active_only, int csv_output);
int list_agents(int cmdlist);
#define NO_AGENT "\n** No agent available. You need to add one first.\n"
#define NO_ID "\n** Invalid ID '%s' given. ID is not present.\n"
#define NO_KEY "\n** Invalid authentication key. Starting over again.\n"
#define NO_AGENT "\n** No agent available. You need to add one first.\n"
#define NO_ID "\n** Invalid ID '%s' given. ID is not present.\n"
#define NO_KEY "\n** Invalid authentication key. Starting over again.\n"
#define IMPORT_KEY "\n* Provide the Key generated by the server.\n" \
"* The best approach is to cut and paste it.\n" \
"*** OBS: Do not include spaces or new lines.\n\n" \
"Paste it here (or '\\q' to quit): "
#define IMPORT_KEY "\n* Provide the Key generated by the server.\n" \
"* The best approach is to cut and paste it.\n" \
"*** OBS: Do not include spaces or new lines.\n\n" \
"Paste it here (or '\\q' to quit): "
#define EXTRACT_KEY "Provide the ID of the agent to extract " \
"the key (or '\\q' to quit): "
#define EXTRACT_MSG "\nAgent key information for '%s' is: \n%s\n"
#define EXTRACT_KEY "Provide the ID of the agent to extract " \
"the key (or '\\q' to quit): "
#define EXTRACT_MSG "\nAgent key information for '%s' is: \n%s\n"
"\n* %s %s Agent manager. *" \
"\n* The following options are available: *" \
"\n****************************************\n"
"\n* %s %s Agent manager. *" \
"\n* The following options are available: *" \
"\n****************************************\n"
#define BANNER_OPT " (A)dd an agent (A).\n" \
" (E)xtract key for an agent (E).\n" \
" (L)ist already added agents (L).\n" \
#define BANNER_OPT " (A)dd an agent (A).\n" \
" (E)xtract key for an agent (E).\n" \
" (L)ist already added agents (L).\n" \