diff options
Diffstat (limited to 'src/include/report/run_event.h')
-rw-r--r-- | src/include/report/run_event.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/report/run_event.h b/src/include/report/run_event.h index c2e34650..b58ea66a 100644 --- a/src/include/report/run_event.h +++ b/src/include/report/run_event.h @@ -19,6 +19,8 @@ #ifndef RUN_EVENT_H_ #define RUN_EVENT_H_ +#include "crash_data.h" + #ifdef __cplusplus extern "C" { #endif @@ -38,7 +40,8 @@ void free_run_event_state(struct run_event_state *state); * of post_run_callback. If all actions are successful, returns 0. * If no actions were run for the event, returns -1. */ -int run_event(struct run_event_state *state, const char *dump_dir_name, const char *event); +int run_event_on_dir_name(struct run_event_state *state, const char *dump_dir_name, const char *event); +int run_event_on_crash_data(struct run_event_state *state, crash_data_t *data, const char *event); char *list_possible_events(struct dump_dir *dd, const char *dump_dir_name, const char *pfx); #ifdef __cplusplus |