summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-03-08 16:23:31 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-03-08 16:23:31 +0100
commita6ee8958dbe6f45f95fca4fa2ea1490c7035be65 (patch)
tree9fc7b50deabb2724e18bce94f568165ff6feea5e /src/include
parentf6ac33ecf6635bbb34e2da196f0cab6f92724907 (diff)
downloadabrt-a6ee8958dbe6f45f95fca4fa2ea1490c7035be65.tar.gz
abrt-a6ee8958dbe6f45f95fca4fa2ea1490c7035be65.tar.xz
abrt-a6ee8958dbe6f45f95fca4fa2ea1490c7035be65.zip
implement load_event_config_data. Untested.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/report/event_config.h7
1 files changed, 7 insertions, 0 deletions
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}