#include "value-pairs/internals.h"#include "value-pairs/value-pairs.h"#include "logmsg/logmsg.h"#include "logmsg/type-hinting.h"#include "template/templates.h"#include "template/macros.h"#include "cfg-parser.h"#include "string-list.h"#include "scratch-buffers.h"#include "cfg.h"#include <ctype.h>
Classes | |
| struct | VPPatternSpec |
| struct | VPPairConf |
| struct | VPResultValue |
| struct | VPResults |
| struct | ValuePairSpec |
| struct | vp_stack_t |
| struct | vp_walk_stack_data_t |
| struct | vp_walk_state_t |
Macros | |
| #define | VP_STACK_INITIAL_SIZE 16 |
Enumerations | |
| enum | ValuePairScope { VPS_NV_PAIRS = 0x01 , VPS_DOT_NV_PAIRS = 0x02 , VPS_RFC3164 = 0x04 , VPS_RFC5424 = 0x08 , VPS_ALL_MACROS = 0x10 , VPS_SELECTED_MACROS = 0x20 , VPS_SDATA = 0x40 , VPS_EVERYTHING = 0x7f } |
| enum | { VPT_MACRO , VPT_NVPAIR } |
Functions | |
| gboolean | value_pairs_foreach_sorted (ValuePairs *vp, VPForeachFunc func, GCompareFunc compare_func, LogMessage *msg, LogTemplateEvalOptions *options, gpointer user_data) |
| gboolean | value_pairs_foreach (ValuePairs *vp, VPForeachFunc func, LogMessage *msg, LogTemplateEvalOptions *options, gpointer user_data) |
| gboolean | value_pairs_walk (ValuePairs *vp, VPWalkCallbackFunc obj_start_func, VPWalkValueCallbackFunc process_value_func, VPWalkCallbackFunc obj_end_func, LogMessage *msg, LogTemplateEvalOptions *options, gchar key_delimiter, gpointer user_data) |
| gboolean | value_pairs_add_scope (ValuePairs *vp, const gchar *scope) |
| void | value_pairs_add_glob_pattern (ValuePairs *vp, const gchar *pattern, gboolean include) |
| void | value_pairs_add_glob_patterns (ValuePairs *vp, GList *patterns, gboolean include) |
| void | value_pairs_add_pair (ValuePairs *vp, const gchar *key, LogTemplate *value) |
| void | value_pairs_add_transforms (ValuePairs *vp, ValuePairsTransformSet *vpts) |
| void | value_pairs_set_cast_to_strings (ValuePairs *vp, gboolean enable) |
| void | value_pairs_set_auto_cast (ValuePairs *vp) |
| gboolean | value_pairs_is_cast_to_strings_explicit (ValuePairs *vp) |
| void | value_pairs_set_include_bytes (ValuePairs *vp, gboolean enable) |
| ValuePairs * | value_pairs_new (GlobalConfig *cfg) |
| ValuePairs * | value_pairs_new_default (GlobalConfig *cfg) |
| ValuePairs * | value_pairs_ref (ValuePairs *self) |
| void | value_pairs_unref (ValuePairs *self) |
| void | value_pairs_global_init (void) |
| void | value_pairs_global_deinit (void) |
| #define VP_STACK_INITIAL_SIZE 16 |
| enum ValuePairScope |
| void value_pairs_add_glob_pattern | ( | ValuePairs * | vp, |
| const gchar * | pattern, | ||
| gboolean | include | ||
| ) |
| void value_pairs_add_glob_patterns | ( | ValuePairs * | vp, |
| GList * | patterns, | ||
| gboolean | include | ||
| ) |
| void value_pairs_add_pair | ( | ValuePairs * | vp, |
| const gchar * | key, | ||
| LogTemplate * | value | ||
| ) |
| gboolean value_pairs_add_scope | ( | ValuePairs * | vp, |
| const gchar * | scope | ||
| ) |
| void value_pairs_add_transforms | ( | ValuePairs * | vp, |
| ValuePairsTransformSet * | vpts | ||
| ) |
| gboolean value_pairs_foreach | ( | ValuePairs * | vp, |
| VPForeachFunc | func, | ||
| LogMessage * | msg, | ||
| LogTemplateEvalOptions * | options, | ||
| gpointer | user_data | ||
| ) |
| gboolean value_pairs_foreach_sorted | ( | ValuePairs * | vp, |
| VPForeachFunc | func, | ||
| GCompareFunc | compare_func, | ||
| LogMessage * | msg, | ||
| LogTemplateEvalOptions * | options, | ||
| gpointer | user_data | ||
| ) |
| void value_pairs_global_deinit | ( | void | ) |
| void value_pairs_global_init | ( | void | ) |
| gboolean value_pairs_is_cast_to_strings_explicit | ( | ValuePairs * | vp | ) |
| ValuePairs* value_pairs_new | ( | GlobalConfig * | cfg | ) |
| ValuePairs* value_pairs_new_default | ( | GlobalConfig * | cfg | ) |
| ValuePairs* value_pairs_ref | ( | ValuePairs * | self | ) |
| void value_pairs_set_auto_cast | ( | ValuePairs * | vp | ) |
| void value_pairs_set_cast_to_strings | ( | ValuePairs * | vp, |
| gboolean | enable | ||
| ) |
| void value_pairs_set_include_bytes | ( | ValuePairs * | vp, |
| gboolean | enable | ||
| ) |
| void value_pairs_unref | ( | ValuePairs * | self | ) |
| gboolean value_pairs_walk | ( | ValuePairs * | vp, |
| VPWalkCallbackFunc | obj_start_func, | ||
| VPWalkValueCallbackFunc | process_value_func, | ||
| VPWalkCallbackFunc | obj_end_func, | ||
| LogMessage * | msg, | ||
| LogTemplateEvalOptions * | options, | ||
| gchar | key_delimiter, | ||
| gpointer | user_data | ||
| ) |