diff options
Diffstat (limited to 'src/libs/zbxeval/parse.c')
-rw-r--r-- | src/libs/zbxeval/parse.c | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/src/libs/zbxeval/parse.c b/src/libs/zbxeval/parse.c index 05e2f70f754..2a6b457c485 100644 --- a/src/libs/zbxeval/parse.c +++ b/src/libs/zbxeval/parse.c @@ -36,8 +36,6 @@ static int is_whitespace(char c) /****************************************************************************** * * - * Function: eval_get_whitespace_len * - * * * Purpose: find the number of following whitespace characters * * * * Parameters: ctx - [IN] the evaluation context * @@ -58,8 +56,6 @@ static size_t eval_get_whitespace_len(zbx_eval_context_t *ctx, size_t pos) /****************************************************************************** * * - * Function: eval_update_const_variable * - * * * Purpose: update constant variable index in the trigger expression * * * * Parameters: ctx - [IN] the evaluation context * @@ -89,8 +85,6 @@ static void eval_update_const_variable(zbx_eval_context_t *ctx, zbx_eval_token_t /****************************************************************************** * * - * Function: eval_is_compound_number_char * - * * * Purpose: check if the character can be a part of a compound number * * following a macro * * * @@ -115,8 +109,6 @@ static int eval_is_compound_number_char(char c, int pos) /****************************************************************************** * * - * Function: eval_parse_functionid * - * * * Purpose: parse functionid token ({<functionid>}) * * * * Parameters: ctx - [IN] the evaluation context * @@ -144,8 +136,6 @@ static int eval_parse_functionid(zbx_eval_context_t *ctx, size_t pos, zbx_eval_t /****************************************************************************** * * - * Function: eval_parse_macro * - * * * Purpose: parse macro * * * * Parameters: ctx - [IN] the evaluation context * @@ -184,8 +174,6 @@ static int eval_parse_macro(zbx_eval_context_t *ctx, int pos, zbx_token_t *tok) /****************************************************************************** * * - * Function: eval_parse_number * - * * * Purpose: parse numeric value * * * * Parameters: ctx - [IN] the evaluation context * @@ -221,8 +209,6 @@ static int eval_parse_number(zbx_eval_context_t *ctx, size_t pos, size_t *pos_r) /****************************************************************************** * * - * Function: eval_parse_constant * - * * * Purpose: parse constant value * * * * Parameters: ctx - [IN] the evaluation context * @@ -326,8 +312,6 @@ out: /****************************************************************************** * * - * Function: eval_parse_character_token * - * * * Purpose: parse single character token * * * * Parameters: pos - [IN] the starting position * @@ -344,8 +328,6 @@ static void eval_parse_character_token(size_t pos, zbx_token_type_t type, zbx_ev /****************************************************************************** * * - * Function: eval_parse_less_character_token * - * * * Purpose: parse token starting with '<' * * * * Parameters: ctx - [IN] the evaluation context * @@ -386,8 +368,6 @@ static int eval_parse_less_character_token(zbx_eval_context_t *ctx, size_t pos, /****************************************************************************** * * - * Function: eval_parse_greater_character_token * - * * * Purpose: parse token starting with '>' * * * * Parameters: ctx - [IN] the evaluation context * @@ -411,8 +391,6 @@ static void eval_parse_greater_character_token(zbx_eval_context_t *ctx, size_t p /****************************************************************************** * * - * Function: eval_parse_string_token * - * * * Purpose: parse string variable token * * * * Parameters: ctx - [IN] the evaluation context * @@ -459,8 +437,6 @@ static int eval_parse_string_token(zbx_eval_context_t *ctx, size_t pos, zbx_eval /****************************************************************************** * * - * Function: eval_parse_number_token * - * * * Purpose: parse numeric variable token * * * * Parameters: ctx - [IN] the evaluation context * @@ -502,8 +478,6 @@ static int eval_parse_number_token(zbx_eval_context_t *ctx, size_t pos, zbx_eval /****************************************************************************** * * - * Function: eval_parse_logic_token * - * * * Purpose: parse logical operation token * * * * Parameters: ctx - [IN] the evaluation context * @@ -548,8 +522,6 @@ static int eval_parse_logic_token(zbx_eval_context_t *ctx, size_t pos, zbx_eval_ /****************************************************************************** * * - * Function: eval_parse_function_token * - * * * Purpose: parse function token * * * * Parameters: ctx - [IN] the evaluation context * @@ -583,8 +555,6 @@ static int eval_parse_function_token(zbx_eval_context_t *ctx, size_t pos, zbx_ev /****************************************************************************** * * - * Function: eval_parse_query_filter * - * * * Purpose: parse item query filter (?[group="xyz"]) * * * * Parameters: ptr - [IN] - the filter to parse * @@ -629,8 +599,6 @@ static int eval_parse_query_filter(const char **ptr) /****************************************************************************** * * - * Function: eval_parse_query * - * * * Purpose: parse item query /host/key?[filter] into host, key and filter * * components * * * @@ -714,8 +682,6 @@ size_t eval_parse_query(const char *str, const char **phost, const char **pkey, /****************************************************************************** * * - * Function: eval_parse_query_token * - * * * Purpose: parse history query token * * * * Parameters: ctx - [IN] the evaluation context * @@ -749,8 +715,6 @@ static int eval_parse_query_token(zbx_eval_context_t *ctx, size_t pos, zbx_eval_ /****************************************************************************** * * - * Function: eval_parse_time_token * - * * * Purpose: parse time period token * * * * Parameters: ctx - [IN] the evaluation context * @@ -798,8 +762,6 @@ static int eval_parse_period_token(zbx_eval_context_t *ctx, size_t pos, zbx_eval /****************************************************************************** * * - * Function: eval_parse_property_token * - * * * Purpose: parse property token * * * * Parameters: ctx - [IN] the evaluation context * @@ -835,8 +797,6 @@ static int eval_parse_property_token(zbx_eval_context_t *ctx, size_t pos, zbx_ev /****************************************************************************** * * - * Function: eval_parse_token * - * * * Purpose: parse token * * * * Parameters: ctx - [IN] the evaluation context * @@ -1036,8 +996,6 @@ static int eval_parse_token(zbx_eval_context_t *ctx, size_t pos, zbx_eval_token_ /****************************************************************************** * * - * Function: eval_append_operator * - * * * Purpose: add operator/function token to evaluation stack * * * * Parameters: ctx - [IN] the evaluation context * @@ -1124,8 +1082,6 @@ static int eval_append_operator(zbx_eval_context_t *ctx, zbx_eval_token_t *token /****************************************************************************** * * - * Function: eval_append_operand * - * * * Purpose: add operand token to evaluation stack * * * * Parameters: ctx - [IN] the evaluation context * @@ -1184,8 +1140,6 @@ static int eval_append_operand(zbx_eval_context_t *ctx, zbx_eval_token_t *token, /****************************************************************************** * * - * Function: eval_append_arg_null * - * * * Purpose: add null argument token to evaluation stack * * * * Parameters: ctx - [IN] the evaluation context * @@ -1200,8 +1154,6 @@ static void eval_append_arg_null(zbx_eval_context_t *ctx) /****************************************************************************** * * - * Function: eval_clear * - * * * Purpose: free resources allocated by evaluation context * * * * Parameters: ctx - [IN] the evaluation context * @@ -1222,8 +1174,6 @@ static void eval_clear(zbx_eval_context_t *ctx) /****************************************************************************** * * - * Function: eval_parse_expression * - * * * Purpose: parse expression into tokens in postfix notation order * * * * Parameters: ctx - [OUT] the evaluation context * @@ -1481,8 +1431,6 @@ out: /****************************************************************************** * * - * Function: zbx_eval_parse_expression * - * * * Purpose: parse expression into tokens in postfix notation order * * * * Parameters: ctx - [OUT] the evaluation context * @@ -1501,8 +1449,6 @@ int zbx_eval_parse_expression(zbx_eval_context_t *ctx, const char *expression, z /****************************************************************************** * * - * Function: zbx_eval_init * - * * * Purpose: initialize context so it can be cleared without parsing * * * * Parameters: ctx - [IN] the evaluation context * @@ -1515,8 +1461,6 @@ void zbx_eval_init(zbx_eval_context_t *ctx) /****************************************************************************** * * - * Function: zbx_eval_clear * - * * * Purpose: free resources allocated by evaluation context * * * * Parameters: ctx - [IN] the evaluation context * @@ -1529,8 +1473,6 @@ void zbx_eval_clear(zbx_eval_context_t *ctx) /****************************************************************************** * * - * Function: zbx_eval_status * - * * * Purpose: return evaluation context status * * * * Parameters: ctx - [IN] the evaluation context * |