From a6ee8958dbe6f45f95fca4fa2ea1490c7035be65 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 8 Mar 2011 16:23:31 +0100 Subject: implement load_event_config_data. Untested. Signed-off-by: Denys Vlasenko --- src/include/report/event_config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include') diff --git a/src/include/report/event_config.h b/src/include/report/event_config.h index c383bce4..d2624e60 100644 --- a/src/include/report/event_config.h +++ b/src/include/report/event_config.h @@ -52,6 +52,9 @@ typedef struct int required; } event_option_t; +event_option_t *new_event_option(void); +void free_event_option(event_option_t *p); + //structure to hold the option data typedef struct { @@ -61,6 +64,10 @@ typedef struct GList *options; } event_config_t; +event_config_t *new_event_config(void); +void free_event_config(event_config_t *p); + + void load_event_description_from_file(event_config_t *event_config, const char* filename); // (Re)loads data from /etc/abrt/events/*.{conf,xml} -- cgit