summaryrefslogtreecommitdiffstats
path: root/src/include/report
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/report')
-rw-r--r--src/include/report/run_event.h4
1 files changed, 4 insertions, 0 deletions
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;
};