diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-03-07 17:09:43 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-03-07 17:09:43 +0100 |
commit | 75d2a56b6420fd65f596b8ee18b02e121147ea4e (patch) | |
tree | 5bcc4e723c52c3d4f50fe5de50d44271bd6d5a0e /src/include | |
parent | 67541b83a1c09ad95ed497da3f90c8bf8ce40676 (diff) | |
download | abrt-75d2a56b6420fd65f596b8ee18b02e121147ea4e.tar.gz abrt-75d2a56b6420fd65f596b8ee18b02e121147ea4e.tar.xz abrt-75d2a56b6420fd65f596b8ee18b02e121147ea4e.zip |
renamed some files, no code changes
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/Makefile.am | 2 | ||||
-rw-r--r-- | src/include/abrtlib.h | 2 | ||||
-rw-r--r-- | src/include/report/event_config.h (renamed from src/include/report/event_xml_parser.h) | 10 |
3 files changed, 11 insertions, 3 deletions
diff --git a/src/include/Makefile.am b/src/include/Makefile.am index e21b043b..e6f0387b 100644 --- a/src/include/Makefile.am +++ b/src/include/Makefile.am @@ -3,7 +3,7 @@ libreport_include_HEADERS = \ report/crash_data.h \ report/dump_dir.h \ report/run_event.h \ - report/event_xml_parser.h + report/event_config.h libabrt_includedir = $(includedir)/abrt libabrt_include_HEADERS = \ diff --git a/src/include/abrtlib.h b/src/include/abrtlib.h index 6122f467..435c4def 100644 --- a/src/include/abrtlib.h +++ b/src/include/abrtlib.h @@ -82,7 +82,7 @@ int vdprintf(int d, const char *format, va_list ap); #include "abrt_types.h" #include "dump_dir.h" #include "run_event.h" -#include "event_xml_parser.h" +#include "event_config.h" #ifdef __cplusplus diff --git a/src/include/report/event_xml_parser.h b/src/include/report/event_config.h index 8e55b1b0..ee0cf7ab 100644 --- a/src/include/report/event_xml_parser.h +++ b/src/include/report/event_config.h @@ -40,4 +40,12 @@ typedef struct GList *options; } event_config_t; -void load_event_description_from_file(event_config_t *event_config, const char* filename);
\ No newline at end of file +void load_event_description_from_file(event_config_t *event_config, const char* filename); + +// (Re)loads data from /etc/abrt/events/*.{conf,xml} +void load_event_config_data(void); +/* Frees all loaded data */ +void free_event_config_data(void); +event_config_t *get_event_config(const char *name); + +extern GList *g_event_config_list; // for iterating through entire list of all loaded configs
\ No newline at end of file |