novi upstream verzije 2.8.3
[ossec-hids.git] / src / addagent / manage_agents.h
index 474c740..1110a01 100755 (executable)
@@ -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 */