X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fwin32%2Fui%2Fos_win32ui.h;fp=src%2Fwin32%2Fui%2Fos_win32ui.h;h=3952824368ac72dbe06caea4d5a740de80fdfb29;hp=eef7efc266c90c922bddcd57490c7752f7b6715e;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hpb=ef70704f0b31b59bb719b884d6a99cb9e3e2044a diff --git a/src/win32/ui/os_win32ui.h b/src/win32/ui/os_win32ui.h index eef7efc..3952824 100644 --- a/src/win32/ui/os_win32ui.h +++ b/src/win32/ui/os_win32ui.h @@ -22,7 +22,7 @@ #include #include #include - +#include /* Default values */ @@ -32,24 +32,23 @@ #define VERSION_FILE "VERSION.txt" #define OSSECLOGS "ossec.log" #define HELPTXT "help.txt" -#define AUTH_FILE "client.keys" #define SENDER_FILE "rids\\sender_counter" #define DEFDIR "C:\\Program Files\\ossec-agent" /* Status messages */ -#define ST_RUNNING "Running..." +#define ST_RUNNING "Running" #define ST_RUNNING_RESTART "Running (pending restart)" -#define ST_STOPPED "Stopped." -#define ST_UNKNOWN "Unknown." +#define ST_STOPPED "Stopped" +#define ST_UNKNOWN "Unknown" #define ST_NOTSET "0" #define ST_MISSING_IMPORT "Require import of authentication key.\r\n" \ - " - Not Running..." + " - Not Running" #define ST_MISSING_SERVER "Require OSSEC Server IP address.\r\n" \ - " - Not Running..." + " - Not Running" #define ST_MISSING_ALL "Require import of authentication key.\r\n" \ " Missing OSSEC Server IP address.\r\n" \ - " - Not Running..." + " - Not Running" @@ -150,9 +149,15 @@ int config_read(HWND hwnd); /* Initializes the config */ void init_config(); +/* Run command using cmd.exe */ +int run_cmd(char *cmd, HWND hwnd); + /* Set OSSEC Server IP */ int set_ossec_server(char *ip, HWND hwnd); +/* Set OSSEC Auth Key */ +int set_ossec_key(char *key, HWND hwnd); + /* Get OSSEC Server IP */ int get_ossec_server();