From 5c71e00f814f679bd6ea652eda8552f746b5f725 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 27 Jan 2011 15:59:28 +0100 Subject: preparatory changes for abrt-cli local processing change Signed-off-by: Denys Vlasenko --- src/include/report/run_event.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') diff --git a/src/include/report/run_event.h b/src/include/report/run_event.h index b58ea66a..bab7cd2c 100644 --- a/src/include/report/run_event.h +++ b/src/include/report/run_event.h @@ -28,8 +28,12 @@ extern "C" { struct dump_dir; struct run_event_state { + /* Used only for post-create dup detection. TODO: document its API */ int (*post_run_callback)(const char *dump_dir_name, void *param); void *post_run_param; + /* Can take ownership of log_line, which is malloced. In this case, return NULL. + * Otherwise should return log_line (it will be freed by caller) + */ char* (*logging_callback)(char *log_line, void *param); void *logging_param; }; -- cgit