diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-04 14:52:38 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-04 14:52:38 +0200 |
commit | f1b08b8295fa46c805f223079284dd4330d329c6 (patch) | |
tree | 5de60e55ee8a48cedf0a5e9369facd7cde3d321a /lib/Plugins | |
parent | 0015e60791dd264248f4e2805a18a3f406f22f65 (diff) | |
download | abrt-f1b08b8295fa46c805f223079284dd4330d329c6.tar.gz abrt-f1b08b8295fa46c805f223079284dd4330d329c6.tar.xz abrt-f1b08b8295fa46c805f223079284dd4330d329c6.zip |
dumpoops: hopefully fix KerneloopsScanner plugin usage
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins')
-rw-r--r-- | lib/Plugins/KerneloopsScanner.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Plugins/KerneloopsScanner.cpp b/lib/Plugins/KerneloopsScanner.cpp index 361b44cd..00d5803b 100644 --- a/lib/Plugins/KerneloopsScanner.cpp +++ b/lib/Plugins/KerneloopsScanner.cpp @@ -173,3 +173,18 @@ PLUGIN_INFO(ACTION, "anton@redhat.com", "http://people.redhat.com/aarapov", ""); + +/* for dumpoops tool */ +extern "C" { + +int scan_syslog_file(CKerneloopsScanner *This, const char *filename) +{ + return This->ScanSysLogFile(filename); +} + +void save_oops_to_debug_dump(CKerneloopsScanner *This) +{ + This->SaveOopsToDebugDump(); +} + +} |