19 #ifndef LIBREPORT_EVENT_CONFIG_H
20 #define LIBREPORT_EVENT_CONFIG_H
25 #include "config_item_info.h"
37 OPTION_TYPE_HINT_HTML,
58 option_type_t eo_type;
83 config_item_info_t *info;
85 char *ec_requires_items;
86 char *ec_exclude_items_by_default;
87 char *ec_include_items_by_default;
88 char *ec_exclude_items_always;
89 bool ec_exclude_binary_items;
90 long ec_minimal_rating;
92 bool ec_sending_sensitive_data;
93 bool ec_supports_restricted_access;
94 char *ec_restricted_access_option;
95 bool ec_requires_details;
97 GList *ec_imported_event_names;
104 void ec_set_screen_name(
event_config_t *ec,
const char *screen_name);
107 void ec_set_description(
event_config_t *ec,
const char *description);
124 void load_event_description_from_file(
event_config_t *event_config,
const char* filename);
127 GHashTable *load_event_config_data(
void);
129 void free_event_config_data(
void);
131 event_option_t *get_event_option_from_list(
const char *option_name, GList *event_options);
136 extern GHashTable *g_event_config_list;
138 GList *export_event_config(
const char *event_name);
139 void unexport_event_config(GList *env_list);
141 GList *get_options_with_err_msg(
const char *event_name);
171 GList *expand_event_wildcard(
const gchar *event_name, gsize event_len);
178 GList *expand_event_chain_wildcards(GList *chain);