Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgors Homjakovs <git-no-reply@zabbix.com>2013-06-28 12:05:14 +0400
committerIgors Homjakovs <git-no-reply@zabbix.com>2013-06-28 12:05:14 +0400
commit51176e2602673649ac5be485189247811dc1f147 (patch)
treec812c55b5c32bd17a59b1aaa271bffd9a64fdbc6 /include/sysinfo.h
parentc01197e77684601d8897c7d47da2b9daef5e393e (diff)
parent300a3890949a6e74296e5eee3cf1b1da91315fd5 (diff)
.......... [ZBX-5616] merge from upstream
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r--include/sysinfo.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index a1fa668410a..1cbd69a4d70 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -147,10 +147,8 @@ extern int CONFIG_UNSAFE_USER_PARAMETERS;
int get_diskstat(const char *devname, zbx_uint64_t *dstat);
/* flags for process */
-#define PROCESS_TEST 1
-#define PROCESS_USE_TEST_PARAM 2
-#define PROCESS_LOCAL_COMMAND 4
-#define PROCESS_MODULE_COMMAND 8
+#define PROCESS_LOCAL_COMMAND 1
+#define PROCESS_MODULE_COMMAND 2
void init_metrics();
int add_metric(ZBX_METRIC *new, char *error, size_t max_error_len);
@@ -161,7 +159,7 @@ int process(const char *in_command, unsigned flags, AGENT_RESULT *result);
int add_user_parameter(const char *key, char *command, char *error, size_t max_error_len);
int add_user_module(const char *key, int (*function)());
void test_parameters();
-void test_parameter(const char *key, unsigned flags);
+void test_parameter(const char *key);
void init_result(AGENT_RESULT *result);
void free_result(AGENT_RESULT *result);