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_creates_items;
86 char *ec_requires_items;
87 char *ec_exclude_items_by_default;
88 char *ec_include_items_by_default;
89 char *ec_exclude_items_always;
90 bool ec_exclude_binary_items;
91 long ec_minimal_rating;
93 bool ec_sending_sensitive_data;
94 bool ec_supports_restricted_access;
95 char *ec_restricted_access_option;
96 bool ec_requires_details;
98 GList *ec_imported_event_names;
105 void ec_set_screen_name(
event_config_t *ec,
const char *screen_name);
108 void ec_set_description(
event_config_t *ec,
const char *description);
125 void load_event_description_from_file(
event_config_t *event_config,
const char* filename);
128 GHashTable *load_event_config_data(
void);
130 void free_event_config_data(
void);
132 event_option_t *get_event_option_from_list(
const char *option_name, GList *event_options);
137 extern GHashTable *g_event_config_list;
139 GList *export_event_config(
const char *event_name);
140 void unexport_event_config(GList *env_list);
142 GList *get_options_with_err_msg(
const char *event_name);