X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Faddagent%2Fmanage_agents.h;h=1110a01bca38eacb02a6fbd24f053d2466266e91;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hp=474c7406f350cf8f4b76a1261716bbac628b54c5;hpb=ef70704f0b31b59bb719b884d6a99cb9e3e2044a;p=ossec-hids.git diff --git a/src/addagent/manage_agents.h b/src/addagent/manage_agents.h index 474c740..1110a01 100755 --- a/src/addagent/manage_agents.h +++ b/src/addagent/manage_agents.h @@ -100,6 +100,7 @@ fpos_t fp_pos; #define NO_KEY "\n** Invalid authentication key. Starting over again.\n" #define INVALID_ID "\n** Invalid ID '%s' given. ID must be numeric (max 8 digits).\n\n" #define INVALID_NAME "\n** Invalid name '%s' given. Name must contain only alphanumeric characters (min=2, max=32).\n\n" +#define NO_DEFAULT "\n** Could not get default ID. Ran out of IDs to try with a max of '%d'. Either need to raise max agents or clean out client.keys.\n\n" /* Remove agent */ #define REMOVE_ID "Provide the ID of the agent to be removed (or '\\q' to quit): " @@ -141,4 +142,16 @@ fpos_t fp_pos; " (Q)uit.\n" \ "Choose your action: I or Q: " +/* WIN32 errors */ +#define CHDIR_ERROR ARGV0 ": Could not chdir (%s) (Make sure path exists and executable is running with Administrative priviliges).\n" +#define CONF_ERROR ARGV0 ": Could not read (%s) (Make sure config exists and executable is running with Administrative priviliges).\n" +#define COMPSEC_ERROR ARGV0 ": Could not find cmd.exe using COMPSEC environment variable.\n" +#define PROC_ERROR ARGV0 ": Could not start process running command (%s).\n" +#define RESULT_ERROR ARGV0 ": Could not run command (%s) which returned (%ld).\n" +#define CACLS_ERROR ARGV0 ": Could not set permissions running (%s) which exited with (%ld).\n" +#define GMF_ERROR ARGV0 ": Could not run GetModuleFileName.\n" +#define GMF_BUFF_ERROR ARGV0 ": Could not get path because it is too long and was shrunk by (%d) characters with a max of (%d).\n" +#define GMF_UNKN_ERROR ARGV0 ": Could not run GetModuleFileName with returned (%ld).\n" +#define AGENT_DELETE_ERROR ARGV0 ": Could not unlink file (%s).\n" + /* EOF */