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;
90 void ec_set_screen_name(
event_config_t *ec,
const char *screen_name);
93 void ec_set_description(
event_config_t *ec,
const char *description);
103 void load_event_description_from_file(
event_config_t *event_config,
const char* filename);
106 GHashTable *load_event_config_data(
void);
108 void free_event_config_data(
void);
110 event_option_t *get_event_option_from_list(
const char *option_name, GList *event_options);
115 extern GHashTable *g_event_config_list;
117 GList *export_event_config(
const char *event_name);
118 void unexport_event_config(GList *env_list);
120 GHashTable *validate_event(
const char *event_name);