diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2018-03-02 18:05:02 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2018-03-02 18:05:02 +0300 |
commit | 41830619301de90c082680a65ef12c9490476393 (patch) | |
tree | 15dea9b020db771f691d4fa6feb1d93a0c424ee2 /include/zbxtasks.h | |
parent | a35ae90332853fd46127596b57e2b7fe97841eb3 (diff) |
.......PS. [DEV-794] addded support for check now task execution on proxies
Diffstat (limited to 'include/zbxtasks.h')
-rw-r--r-- | include/zbxtasks.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/zbxtasks.h b/include/zbxtasks.h index 22669a99f9b..de2a69efb48 100644 --- a/include/zbxtasks.h +++ b/include/zbxtasks.h @@ -72,6 +72,12 @@ zbx_tm_remote_command_result_t; typedef struct { + zbx_uint64_t itemid; +} +zbx_tm_check_now_t; + +typedef struct +{ /* the task identifier */ zbx_uint64_t taskid; /* the target proxy hostid or 0 if the task must be on server, ignored by proxy */ @@ -103,6 +109,8 @@ zbx_tm_remote_command_t *zbx_tm_remote_command_create(int commandtype, const cha zbx_tm_remote_command_result_t *zbx_tm_remote_command_result_create(zbx_uint64_t parent_taskid, int status, const char *error); +zbx_tm_check_now_t *zbx_tm_check_now_create(zbx_uint64_t itemid); + void zbx_tm_save_tasks(zbx_vector_ptr_t *tasks); int zbx_tm_save_task(zbx_tm_task_t *task); |