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:
authorAlexei Vladishev <alexei.vladishev@zabbix.com>2013-02-13 13:17:36 +0400
committerAlexei Vladishev <alexei.vladishev@zabbix.com>2013-02-13 13:17:36 +0400
commitd17dc07dde32c1b79f2ec0728880d26516635786 (patch)
tree5a34d26371498b30f31bec15b135dd0242f488ce /include/module.h
parent2bdcc88542ac6a16406c4feeeb3b75cf6ce12cb6 (diff)
...G...... [ZBXNEXT-1550] added timeout handling, support of versioning and implemented more efficient design of module routines
Diffstat (limited to 'include/module.h')
-rw-r--r--include/module.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/module.h b/include/module.h
index de7415aef74..e2b956d376c 100644
--- a/include/module.h
+++ b/include/module.h
@@ -23,6 +23,8 @@
#define ZBX_MODULE_OK 0
#define ZBX_MODULE_FAIL -1
+#define ZBX_MODULE_VERSION_ONE 1
+
#define get_rparam(request,num) ((request->nparam > num) ? request->params[num] : NULL)
/* agent request structure */
@@ -30,7 +32,6 @@ typedef struct
{
char *key;
int nparam;
- int timeout;
char **params;
}
AGENT_REQUEST;