#include "syslog-ng.h"#include "messages.h"#include "template/templates.h"#include "patterndb.h"#include "dbparser.h"#include "radix.h"#include "stats/stats-registry.h"#include "plugin.h"#include "filter/filter-expr-parser.h"#include "patternize.h"#include "pdb-example.h"#include "pdb-program.h"#include "pdb-load.h"#include "pdb-file.h"#include "apphook.h"#include "transport/transport-file.h"#include "logproto/logproto-text-server.h"#include "reloc.h"#include "pathutils.h"#include "resolved-configurable-paths.h"#include "crypto.h"#include "compat/openssl_support.h"#include "scratch-buffers.h"#include "timeutils/cache.h"#include "mainloop.h"#include "msg-format.h"#include "str-utils.h"#include <stdio.h>#include <string.h>#include <stdlib.h>#include <fcntl.h>#include <unistd.h>#include <errno.h>#include <locale.h>
Classes | |
| struct | PdbToolMergeState |
Macros | |
| #define | BOOL(x) ((x) ? "TRUE" : "FALSE") |
| #define | COLOR_TRAILING_JUNK 0 |
| #define | COLOR_PARSER 1 |
| #define | COLOR_LITERAL 2 |
| #define | COLOR_PARTIAL 3 |
Functions | |
| void | pdbtool_merge_start_element (GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, gpointer user_data, GError **error) |
| void | pdbtool_merge_end_element (GMarkupParseContext *context, const gchar *element_name, gpointer user_data, GError **error) |
| void | pdbtool_merge_text (GMarkupParseContext *context, const gchar *text, gsize text_len, gpointer user_data, GError **error) |
| gboolean | pdbtool_match_values (NVHandle handle, const gchar *name, const gchar *value, gssize length, LogMessageValueType type, gpointer user_data) |
| gboolean | pdbtool_test_value_type_callback (NVHandle handle, const gchar *name, const gchar *value, gssize length, LogMessageValueType type, gpointer user_data) |
| void | pdbtool_walk_tree (RNode *root, gint level, gboolean program) |
| const gchar * | pdbtool_mode (int *argc, char **argv[]) |
| void | usage (void) |
| int | main (int argc, char *argv[]) |
Variables | |
| GMarkupParser | pdbtool_merge_parser |
| #define BOOL | ( | x | ) | ((x) ? "TRUE" : "FALSE") |
| #define COLOR_LITERAL 2 |
| #define COLOR_PARSER 1 |
| #define COLOR_PARTIAL 3 |
| #define COLOR_TRAILING_JUNK 0 |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| gboolean pdbtool_match_values | ( | NVHandle | handle, |
| const gchar * | name, | ||
| const gchar * | value, | ||
| gssize | length, | ||
| LogMessageValueType | type, | ||
| gpointer | user_data | ||
| ) |
| void pdbtool_merge_end_element | ( | GMarkupParseContext * | context, |
| const gchar * | element_name, | ||
| gpointer | user_data, | ||
| GError ** | error | ||
| ) |
| void pdbtool_merge_start_element | ( | GMarkupParseContext * | context, |
| const gchar * | element_name, | ||
| const gchar ** | attribute_names, | ||
| const gchar ** | attribute_values, | ||
| gpointer | user_data, | ||
| GError ** | error | ||
| ) |
| void pdbtool_merge_text | ( | GMarkupParseContext * | context, |
| const gchar * | text, | ||
| gsize | text_len, | ||
| gpointer | user_data, | ||
| GError ** | error | ||
| ) |
| const gchar* pdbtool_mode | ( | int * | argc, |
| char ** | argv[] | ||
| ) |
| gboolean pdbtool_test_value_type_callback | ( | NVHandle | handle, |
| const gchar * | name, | ||
| const gchar * | value, | ||
| gssize | length, | ||
| LogMessageValueType | type, | ||
| gpointer | user_data | ||
| ) |
| void pdbtool_walk_tree | ( | RNode * | root, |
| gint | level, | ||
| gboolean | program | ||
| ) |
| void usage | ( | void | ) |
| const gchar* description |
| const gchar* mode |
| const GOptionEntry* options |
| GMarkupParser pdbtool_merge_parser |