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/zabbix_server/lld/lld_item.c')
-rw-r--r--src/zabbix_server/lld/lld_item.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/zabbix_server/lld/lld_item.c b/src/zabbix_server/lld/lld_item.c
index 61449dc40fd..21673529d2a 100644
--- a/src/zabbix_server/lld/lld_item.c
+++ b/src/zabbix_server/lld/lld_item.c
@@ -364,8 +364,6 @@ static void lld_item_free(zbx_lld_item_t *item)
/******************************************************************************
* *
- * Function: lld_items_get *
- * *
* Purpose: retrieves existing items for the specified item prototypes *
* *
* Parameters: item_prototypes - [IN] item prototypes *
@@ -788,8 +786,6 @@ out:
/******************************************************************************
* *
- * Function: is_user_macro *
- * *
* Purpose: checks if string is user macro *
* *
* Parameters: str - [IN] string to validate *
@@ -815,8 +811,6 @@ static int is_user_macro(const char *str)
/******************************************************************************
* *
- * Function: lld_validate_item_param *
- * *
******************************************************************************/
static int lld_validate_item_param(zbx_uint64_t itemid, int type, size_t len, char *param, char **error)
{
@@ -846,8 +840,6 @@ static int lld_validate_item_param(zbx_uint64_t itemid, int type, size_t len, ch
/******************************************************************************
* *
- * Function: lld_validate_item_tag *
- * *
******************************************************************************/
static int lld_validate_item_tag(zbx_uint64_t itemid, int type, char *tag, char **error)
{
@@ -885,8 +877,6 @@ static int lld_validate_item_tag(zbx_uint64_t itemid, int type, char *tag, char
/******************************************************************************
* *
- * Function: lld_validate_item_field *
- * *
******************************************************************************/
static void lld_validate_item_field(zbx_lld_item_t *item, char **field, char **field_orig, zbx_uint64_t flag,
size_t field_len, char **error)
@@ -996,8 +986,6 @@ static void lld_validate_item_field(zbx_lld_item_t *item, char **field, char **f
/******************************************************************************
* *
- * Function: lld_item_dependence_add *
- * *
* Purpose: add a new dependency *
* *
* Parameters: item_dependencies - [IN\OUT] list of dependencies *
@@ -1027,8 +1015,6 @@ static zbx_item_dependence_t *lld_item_dependence_add(zbx_vector_ptr_t *item_dep
/******************************************************************************
* *
- * Function: lld_item_dependencies_get *
- * *
* Purpose: recursively get dependencies with dependent items taking into *
* account item prototypes *
* *
@@ -1161,8 +1147,6 @@ static void lld_item_dependencies_get(const zbx_vector_ptr_t *item_prototypes, z
/******************************************************************************
* *
- * Function: lld_item_dependencies_count *
- * *
* Purpose: recursively count the number of dependencies *
* *
* Parameters: itemid - [IN] item ID to be checked *
@@ -1232,8 +1216,6 @@ out:
/******************************************************************************
* *
- * Function: lld_item_dependencies_check *
- * *
* Purpose: check the limits of dependent items *
* *
* Parameters: item - [IN] discovered item *
@@ -1313,8 +1295,6 @@ out:
/******************************************************************************
* *
- * Function: lld_items_preproc_step_validate *
- * *
* Purpose: validation of a item preprocessing step expressions for discovery *
* process *
* *
@@ -1517,8 +1497,6 @@ static int lld_items_preproc_step_validate(const zbx_lld_item_preproc_t * pp, zb
/******************************************************************************
* *
- * Function: lld_items_validate *
- * *
* Parameters: hostid - [IN] host id *
* items - [IN] list of items *
* item_prototypes - [IN] the item prototypes *
@@ -1875,8 +1853,6 @@ static void lld_items_validate(zbx_uint64_t hostid, zbx_vector_ptr_t *items, zbx
/******************************************************************************
* *
- * Function: substitute_formula_macros *
- * *
* Purpose: substitutes lld macros in calculated item formula expression *
* *
* Parameters: data - [IN/OUT] the expression *
@@ -1902,8 +1878,6 @@ static int substitute_formula_macros(char **data, const struct zbx_json_parse *j
/******************************************************************************
* *
- * Function: lld_item_make *
- * *
* Purpose: creates a new item based on item prototype and lld data row *
* *
* Parameters: item_prototype - [IN] the item prototype *
@@ -2134,8 +2108,6 @@ static zbx_lld_item_t *lld_item_make(const zbx_lld_item_prototype_t *item_protot
/******************************************************************************
* *
- * Function: lld_item_update *
- * *
* Purpose: updates an existing item based on item prototype and lld data row *
* *
* Parameters: item_prototype - [IN] the item prototype *
@@ -2482,8 +2454,6 @@ static void lld_item_update(const zbx_lld_item_prototype_t *item_prototype, cons
/******************************************************************************
* *
- * Function: lld_items_make *
- * *
* Purpose: updates existing items and creates new ones based on item *
* item prototypes and lld data *
* *
@@ -2596,8 +2566,6 @@ static void lld_items_make(const zbx_vector_ptr_t *item_prototypes, zbx_vector_p
/******************************************************************************
* *
- * Function: substitute_lld_macors_in_preproc_params *
- * *
* Purpose: escaping of a symbols in items preprocessing steps for discovery *
* process *
* *
@@ -2683,8 +2651,6 @@ static void substitute_lld_macros_in_preproc_params(int type, const zbx_lld_row_
/******************************************************************************
* *
- * Function: lld_items_preproc_make *
- * *
* Purpose: updates existing items preprocessing operations and create new *
* based on item item prototypes *
* *
@@ -2803,8 +2769,6 @@ static void lld_items_preproc_make(const zbx_vector_ptr_t *item_prototypes,
/******************************************************************************
* *
- * Function: lld_items_param_make *
- * *
* Purpose: updates existing items parameters and create new based on item *
* prototypes *
* *
@@ -2909,8 +2873,6 @@ static void lld_items_param_make(const zbx_vector_ptr_t *item_prototypes,
/******************************************************************************
* *
- * Function: lld_items_tags_make *
- * *
* Purpose: updates existing items tags and create new based on item *
* prototypes *
* *
@@ -3030,8 +2992,6 @@ static void lld_items_tags_make(const zbx_vector_ptr_t *item_prototypes, const z
/******************************************************************************
* *
- * Function: lld_item_save *
- * *
* Purpose: recursively prepare LLD item bulk insert if any and *
* update dependent items with their masters *
* *
@@ -3111,8 +3071,6 @@ static void lld_item_save(zbx_uint64_t hostid, const zbx_vector_ptr_t *item_prot
/******************************************************************************
* *
- * Function: lld_item_prepare_update *
- * *
* Purpose: prepare sql to update LLD item *
* *
* Parameters: item_prototype - [IN] item prototype *
@@ -3501,8 +3459,6 @@ static void lld_item_prepare_update(const zbx_lld_item_prototype_t *item_prototy
/******************************************************************************
* *
- * Function: lld_item_discovery_prepare_update *
- * *
* Purpose: prepare sql to update key in LLD item discovery *
* *
* Parameters: item_prototype - [IN] item prototype *
@@ -3536,8 +3492,6 @@ static void lld_item_discovery_prepare_update(const zbx_lld_item_prototype_t *it
/******************************************************************************
* *
- * Function: lld_items_save *
- * *
* Parameters: hostid - [IN] parent host id *
* item_prototypes - [IN] item prototypes *
* items - [IN/OUT] items to save *
@@ -3756,8 +3710,6 @@ out:
/******************************************************************************
* *
- * Function: lld_items_preproc_save *
- * *
* Purpose: saves/updates/removes item preprocessing operations *
* *
* Parameters: hostid - [IN] parent host id *
@@ -3971,8 +3923,6 @@ out:
/******************************************************************************
* *
- * Function: lld_items_param_save *
- * *
* Purpose: saves/updates/removes item parameters *
* *
* Parameters: hostid - [IN] parent host id *
@@ -4152,8 +4102,6 @@ out:
/******************************************************************************
* *
- * Function: lld_items_tags_save *
- * *
* Purpose: saves/updates/removes item tags *
* *
* Parameters: hostid - [IN] parent host id *
@@ -4395,8 +4343,6 @@ void lld_item_links_sort(zbx_vector_ptr_t *lld_rows)
/******************************************************************************
* *
- * Function: lld_item_prototypes_get *
- * *
* Purpose: load discovery rule item prototypes *
* *
* Parameters: lld_ruleid - [IN] the discovery rule id *
@@ -4609,8 +4555,6 @@ out:
/******************************************************************************
* *
- * Function: lld_link_dependent_items *
- * *
* Purpose: create dependent item index in master item data *
* *
* Parameters: items - [IN/OUT] the lld items *
@@ -4647,8 +4591,6 @@ static void lld_link_dependent_items(zbx_vector_ptr_t *items, zbx_hashset_t *ite
/******************************************************************************
* *
- * Function: lld_update_items *
- * *
* Purpose: add or update discovered items *
* *
* Return value: SUCCEED - if items were successfully added/updated or *