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;
72 config_item_info_t *info;
74 char *ec_creates_items;
75 char *ec_requires_items;
76 char *ec_exclude_items_by_default;
77 char *ec_include_items_by_default;
78 char *ec_exclude_items_always;
79 bool ec_exclude_binary_items;
80 long ec_minimal_rating;
82 bool ec_sending_sensitive_data;
84 GList *ec_imported_event_names;
91 void ec_set_screen_name(
event_config_t *ec,
const char *screen_name);
94 void ec_set_description(
event_config_t *ec,
const char *description);
104 void load_event_description_from_file(
event_config_t *event_config,
const char* filename);
107 GHashTable *load_event_config_data(
void);
109 void free_event_config_data(
void);
111 event_option_t *get_event_option_from_list(
const char *option_name, GList *event_options);
116 extern GHashTable *g_event_config_list;
118 GList *export_event_config(
const char *event_name);
119 void unexport_event_config(GList *env_list);
121 GHashTable *validate_event(
const char *event_name);