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;
83 bool ec_supports_restricted_access;
84 char *ec_restricted_access_option;
85 bool ec_requires_details;
87 GList *ec_imported_event_names;
94 void ec_set_screen_name(
event_config_t *ec,
const char *screen_name);
97 void ec_set_description(
event_config_t *ec,
const char *description);
112 void load_event_description_from_file(
event_config_t *event_config,
const char* filename);
115 GHashTable *load_event_config_data(
void);
117 void free_event_config_data(
void);
119 event_option_t *get_event_option_from_list(
const char *option_name, GList *event_options);
124 extern GHashTable *g_event_config_list;
126 GList *export_event_config(
const char *event_name);
127 void unexport_event_config(GList *env_list);
129 GHashTable *validate_event(
const char *event_name);