diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-19 16:48:54 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-19 16:48:54 +0100 |
commit | 764c3a1e4f21c635c565cf5c20c480dbf48d1599 (patch) | |
tree | 35befea8632742fcf9a05354c8a1ca9bc0a3e2d4 /doc | |
parent | b7e20eb84250ce9feeefde8dad2eab448125dc5d (diff) | |
download | abrt-764c3a1e4f21c635c565cf5c20c480dbf48d1599.tar.gz abrt-764c3a1e4f21c635c565cf5c20c480dbf48d1599.tar.xz abrt-764c3a1e4f21c635c565cf5c20c480dbf48d1599.zip |
unify "crash data, "crash info" and "crash report" data types. they are the same
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/DESIGN | 6 | ||||
-rw-r--r-- | doc/PLUGINS-HOWTO | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -84,7 +84,7 @@ if no new dbus calls are arriving to it. The key dbus calls served by abrt-process are: -- GetCrashInfos(): returns a vector_crash_infos_t (vector_map_vector_string_t) +- GetCrashInfos(): returns a vector_map_crash_data_t (vector_map_vector_string_t) of crashes for given uid v[N]["executable"/"uid"/"kernel"/"backtrace"][N] = "contents" [see above the problem with producing this list] @@ -97,8 +97,8 @@ The key dbus calls served by abrt-process are: abrt should be run by root anyway - debuginfo gets installed using pk-debuginfo-install, which cares about privileges itself, so no problem here -- GetJobResult(UUID): returns map_crash_report_t (map_vector_string_t) -- Report(map_crash_report_t (map_vector_string_t)): +- GetJobResult(UUID): returns map_crash_data_t (map_vector_string_t) +- Report(map_crash_data_t (map_vector_string_t)): "Please report this crash": calls Report() of all registered reporter plugins Returns report_status_t (map_vector_string_t) - the status of each call - DeleteDebugDump(UUID): delete corresponding /var/cache/abrt/DIR. Returns bool diff --git a/doc/PLUGINS-HOWTO b/doc/PLUGINS-HOWTO index d8467801..a7c08088 100644 --- a/doc/PLUGINS-HOWTO +++ b/doc/PLUGINS-HOWTO @@ -74,8 +74,8 @@ it on some web tool...) You have to override this method: -virtual void Report(const crash_report_t& pCrashReport, - const std::string& pArgs); +virtual void Report(const map_crash_data_t& pCrashData, + const char *pArgs); -It is self-explanatory, that this method takes the report and presents it somewhere to the world. The second argument is a string with arguments specified for the reporter. |