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:
Diffstat (limited to 'src/libs/zbxtasks/task.c')
-rw-r--r--src/libs/zbxtasks/task.c76
1 files changed, 0 insertions, 76 deletions
diff --git a/src/libs/zbxtasks/task.c b/src/libs/zbxtasks/task.c
index c96f4492da7..e4d9ca4f86a 100644
--- a/src/libs/zbxtasks/task.c
+++ b/src/libs/zbxtasks/task.c
@@ -28,8 +28,6 @@
/******************************************************************************
* *
- * Function: tm_remote_command_clear *
- * *
* Purpose: frees remote command task resources *
* *
* Parameters: data - [IN] the remote command task data *
@@ -46,8 +44,6 @@ static void tm_remote_command_clear(zbx_tm_remote_command_t *data)
/******************************************************************************
* *
- * Function: tm_remote_command_result_clear *
- * *
* Purpose: frees remote command result task resources *
* *
* Parameters: data - [IN] the remote command result task data *
@@ -60,8 +56,6 @@ static void tm_remote_command_result_clear(zbx_tm_remote_command_result_t *data)
/******************************************************************************
* *
- * Function: tm_data_result_clear *
- * *
* Purpose: frees data result task resources *
* *
* Parameters: data - [IN] the data result task data *
@@ -74,8 +68,6 @@ static void tm_data_result_clear(zbx_tm_data_result_t *data)
/******************************************************************************
* *
- * Function: tm_data_clear *
- * *
* Purpose: frees data task resources *
* *
* Parameters: data - [IN] the data task *
@@ -88,8 +80,6 @@ static void tm_data_clear(zbx_tm_data_t *data)
/******************************************************************************
* *
- * Function: zbx_tm_task_clear *
- * *
* Purpose: frees task resources *
* *
* Parameters: task - [IN] *
@@ -127,8 +117,6 @@ void zbx_tm_task_clear(zbx_tm_task_t *task)
/******************************************************************************
* *
- * Function: zbx_tm_task_free *
- * *
* Purpose: frees task and its resources *
* *
* Parameters: task - [IN] the task to free *
@@ -142,8 +130,6 @@ void zbx_tm_task_free(zbx_tm_task_t *task)
/******************************************************************************
* *
- * Function: zbx_tm_remote_command_create *
- * *
* Purpose: create a remote command task data *
* *
* Parameters: command_type - [IN] the remote command type (ZBX_SCRIPT_TYPE_)*
@@ -187,8 +173,6 @@ zbx_tm_remote_command_t *zbx_tm_remote_command_create(int command_type, const ch
/******************************************************************************
* *
- * Function: zbx_tm_remote_command_result_create *
- * *
* Purpose: create a remote command result task data *
* *
* Parameters: parent_taskid - [IN] the parent task identifier *
@@ -213,8 +197,6 @@ zbx_tm_remote_command_result_t *zbx_tm_remote_command_result_create(zbx_uint64_t
/******************************************************************************
* *
- * Function: zbx_tm_check_now_create *
- * *
* Purpose: create a check now task data *
* *
* Parameters: itemid - [IN] the item identifier *
@@ -234,8 +216,6 @@ zbx_tm_check_now_t *zbx_tm_check_now_create(zbx_uint64_t itemid)
/******************************************************************************
* *
- * Function: zbx_tm_data_create *
- * *
* Purpose: create a data task *
* *
* Parameters: parent_taskid - [IN] parent task identifier *
@@ -262,8 +242,6 @@ zbx_tm_data_t *zbx_tm_data_create(zbx_uint64_t parent_taskid, const char *str, i
/******************************************************************************
* *
- * Function: zbx_tm_data_result_create *
- * *
* Purpose: create a data result task data *
* *
* Parameters: parent_taskid - [IN] the parent task identifier *
@@ -287,8 +265,6 @@ zbx_tm_data_result_t *zbx_tm_data_result_create(zbx_uint64_t parent_taskid, int
/******************************************************************************
* *
- * Function: zbx_tm_task_create *
- * *
* Purpose: create a new task *
* *
* Parameters: taskid - [IN] the task identifier *
@@ -321,8 +297,6 @@ zbx_tm_task_t *zbx_tm_task_create(zbx_uint64_t taskid, unsigned char type, unsig
/******************************************************************************
* *
- * Function: tm_save_remote_command_tasks *
- * *
* Purpose: saves remote command task data in database *
* *
* Parameters: tasks - [IN] the tasks *
@@ -367,8 +341,6 @@ static int tm_save_remote_command_tasks(zbx_tm_task_t **tasks, int tasks_num)
/******************************************************************************
* *
- * Function: tm_save_remote_command_result_tasks *
- * *
* Purpose: saves remote command result task data in database *
* *
* Parameters: tasks - [IN] the tasks *
@@ -410,8 +382,6 @@ static int tm_save_remote_command_result_tasks(zbx_tm_task_t **tasks, int tasks_
/******************************************************************************
* *
- * Function: tm_save_check_now_tasks *
- * *
* Purpose: saves remote command task data in database *
* *
* Parameters: tasks - [IN] the tasks *
@@ -451,8 +421,6 @@ static int tm_save_check_now_tasks(zbx_tm_task_t **tasks, int tasks_num)
/******************************************************************************
* *
- * Function: tm_save_data_tasks *
- * *
* Purpose: saves data task in database *
* *
* Parameters: tasks - [IN] the tasks *
@@ -493,8 +461,6 @@ static int tm_save_data_tasks(zbx_tm_task_t **tasks, int tasks_num)
/******************************************************************************
* *
- * Function: tm_save_data_result_tasks *
- * *
* Purpose: saves data task result in database *
* *
* Parameters: tasks - [IN] the tasks *
@@ -535,8 +501,6 @@ static int tm_save_data_result_tasks(zbx_tm_task_t **tasks, int tasks_num)
/******************************************************************************
* *
- * Function: tm_save_tasks *
- * *
* Purpose: saves tasks into database *
* *
* Parameters: tasks - [IN] the tasks *
@@ -624,8 +588,6 @@ static int tm_save_tasks(zbx_tm_task_t **tasks, int tasks_num)
/******************************************************************************
* *
- * Function: zbx_tm_save_tasks *
- * *
* Purpose: saves tasks and their data into database *
* *
* Parameters: tasks - [IN] the tasks *
@@ -642,8 +604,6 @@ void zbx_tm_save_tasks(zbx_vector_ptr_t *tasks)
/******************************************************************************
* *
- * Function: zbx_tm_save_task *
- * *
* Purpose: saves task and its data into database *
* *
* Parameters: task - [IN] the task *
@@ -667,8 +627,6 @@ int zbx_tm_save_task(zbx_tm_task_t *task)
/******************************************************************************
* *
- * Function: zbx_tm_update_task_status *
- * *
* Purpose: update status of the specified tasks in database *
* *
* Parameters: tasks - [IN] the tasks *
@@ -706,8 +664,6 @@ void zbx_tm_update_task_status(zbx_vector_ptr_t *tasks, int status)
/******************************************************************************
* *
- * Function: tm_json_serialize_task *
- * *
* Purpose: serializes common task data in json format *
* *
* Parameters: json - [OUT] the json data *
@@ -723,8 +679,6 @@ static void tm_json_serialize_task(struct zbx_json *json, const zbx_tm_task_t *t
/******************************************************************************
* *
- * Function: tm_json_serialize_remote_command *
- * *
* Purpose: serializes remote command data in json format *
* *
* Parameters: json - [OUT] the json data *
@@ -749,8 +703,6 @@ static void tm_json_serialize_remote_command(struct zbx_json *json, const zbx_tm
/******************************************************************************
* *
- * Function: tm_json_serialize_remote_command_result *
- * *
* Purpose: serializes remote command result data in json format *
* *
* Parameters: json - [OUT] the json data *
@@ -767,8 +719,6 @@ static void tm_json_serialize_remote_command_result(struct zbx_json *json,
/******************************************************************************
* *
- * Function: tm_json_serialize_check_now *
- * *
* Purpose: serializes check now data in json format *
* *
* Parameters: json - [OUT] the json data *
@@ -782,8 +732,6 @@ static void tm_json_serialize_check_now(struct zbx_json *json, const zbx_tm_chec
/******************************************************************************
* *
- * Function: tm_json_serialize_data *
- * *
* Purpose: serializes data task in json format *
* *
* Parameters: json - [OUT] the json data *
@@ -799,8 +747,6 @@ static void tm_json_serialize_data(struct zbx_json *json, const zbx_tm_data_t *d
/******************************************************************************
* *
- * Function: tm_json_serialize_data_result *
- * *
* Purpose: serializes data task result in json format *
* *
* Parameters: json - [OUT] the json data *
@@ -816,8 +762,6 @@ static void tm_json_serialize_data_result(struct zbx_json *json, const zbx_tm_da
/******************************************************************************
* *
- * Function: zbx_tm_json_serialize_tasks *
- * *
* Purpose: serializes remote command data in json format *
* *
* Parameters: json - [OUT] the json data *
@@ -867,8 +811,6 @@ void zbx_tm_json_serialize_tasks(struct zbx_json *json, const zbx_vector_ptr_t *
/******************************************************************************
* *
- * Function: tm_json_deserialize_remote_command *
- * *
* Purpose: deserializes remote command from json data *
* *
* Parameters: jp - [IN] the json data *
@@ -955,8 +897,6 @@ out:
/******************************************************************************
* *
- * Function: tm_json_deserialize_remote_command_result *
- * *
* Purpose: deserializes remote command result from json data *
* *
* Parameters: jp - [IN] the json data *
@@ -997,8 +937,6 @@ out:
/******************************************************************************
* *
- * Function: tm_json_deserialize_check_now *
- * *
* Purpose: deserializes check now from json data *
* *
* Parameters: jp - [IN] the json data *
@@ -1023,8 +961,6 @@ static zbx_tm_check_now_t *tm_json_deserialize_check_now(const struct zbx_json_p
/******************************************************************************
* *
- * Function: tm_json_deserialize_data *
- * *
* Purpose: deserializes data task from json *
* *
* Parameters: jp - [IN] the json *
@@ -1065,8 +1001,6 @@ out:
/******************************************************************************
* *
- * Function: tm_json_deserialize_data_result *
- * *
* Purpose: deserializes data task result from json *
* *
* Parameters: jp - [IN] the json *
@@ -1107,8 +1041,6 @@ out:
/******************************************************************************
* *
- * Function: tm_json_deserialize_task *
- * *
* Purpose: deserializes common task data from json data *
* *
* Parameters: jp - [IN] the json data *
@@ -1141,8 +1073,6 @@ static zbx_tm_task_t *tm_json_deserialize_task(const struct zbx_json_parse *jp)
/******************************************************************************
* *
- * Function: zbx_tm_json_deserialize_tasks *
- * *
* Purpose: deserializes tasks from json data *
* *
* Parameters: jp - [IN] the json data *
@@ -1207,8 +1137,6 @@ void zbx_tm_json_deserialize_tasks(const struct zbx_json_parse *jp, zbx_vector_p
/******************************************************************************
* *
- * Function: zbx_create_task_data *
- * *
* Purpose: insert task and its data in database *
* *
* Parameters: data - [IN] task data *
@@ -1243,8 +1171,6 @@ static zbx_uint64_t zbx_create_task_data(const char *data, int len, zbx_uint64_t
/******************************************************************************
* *
- * Function: zbx_tm_task_result_wait *
- * *
* Purpose: wait for task result *
* *
* Parameters: taskid - [IN] task identifier *
@@ -1288,8 +1214,6 @@ static int zbx_tm_task_result_wait(zbx_uint64_t taskid, char **info)
/******************************************************************************
* *
- * Function: zbx_tm_execute_task_data *
- * *
* Purpose: wait for task result *
* *
* Parameters: data - [IN] task data *