diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-08 16:23:31 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-08 16:23:31 +0100 |
commit | a6ee8958dbe6f45f95fca4fa2ea1490c7035be65 (patch) | |
tree | 9fc7b50deabb2724e18bce94f568165ff6feea5e /src/include | |
parent | f6ac33ecf6635bbb34e2da196f0cab6f92724907 (diff) | |
download | abrt-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.h | 7 |
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} |