diff options
author | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2013-02-27 12:41:40 +0400 |
---|---|---|
committer | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2013-02-27 12:41:40 +0400 |
commit | dc66924a0304843034f5489fa520ee0f93fbfff4 (patch) | |
tree | 73ca8d96834a77a96d59064b608996c8d48a3972 /include/sysinfo.h | |
parent | 79468b7ac5db71f1334ddb1cfabe03f15d9c5d7d (diff) |
...G...... [ZBXNEXT-1550] moving some defines and structures to module.h
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r-- | include/sysinfo.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h index d716e0e17a4..01f662e32ee 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -107,22 +107,6 @@ extern int CONFIG_ENABLE_REMOTE_COMMANDS; extern int CONFIG_LOG_REMOTE_COMMANDS; extern int CONFIG_UNSAFE_USER_PARAMETERS; -typedef enum -{ - SYSINFO_RET_OK = 0, - SYSINFO_RET_FAIL -} -ZBX_SYSINFO_RET; - -typedef struct -{ - char *key; - unsigned flags; - int (*function)(); - char *test_param; /* item test parameters; user parameter items keep command here */ -} -ZBX_METRIC; - /* collector */ #define MAX_COLLECTOR_HISTORY (15 * SEC_PER_MIN + 1) #define ZBX_AVG1 0 @@ -162,11 +146,6 @@ ZBX_METRIC; #define ZBX_DSTAT_MAX 6 int get_diskstat(const char *devname, zbx_uint64_t *dstat); -/* flags for command */ -#define CF_HAVEPARAMS 1 /* item accepts either optional or mandatory parameters */ -#define CF_MODULE 2 /* item is defined in a loadable module */ -#define CF_USERPARAMETER 4 /* item is defined as user parameter */ - /* flags for process */ #define PROCESS_TEST 1 #define PROCESS_USE_TEST_PARAM 2 |