summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-01-27 15:59:28 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-01-27 15:59:28 +0100
commit5c71e00f814f679bd6ea652eda8552f746b5f725 (patch)
tree4ff1034b3133ea204081badb72df7da4fa540fef /src/include
parentb26f7420aca444c38677bf6275376c71ccfc39df (diff)
downloadabrt-5c71e00f814f679bd6ea652eda8552f746b5f725.tar.gz
abrt-5c71e00f814f679bd6ea652eda8552f746b5f725.tar.xz
abrt-5c71e00f814f679bd6ea652eda8552f746b5f725.zip
preparatory changes for abrt-cli local processing change
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/include')
-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;
};