diff options
Diffstat (limited to 'src/Hooks/Kerneloops.cpp')
-rw-r--r-- | src/Hooks/Kerneloops.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Hooks/Kerneloops.cpp b/src/Hooks/Kerneloops.cpp new file mode 100644 index 00000000..74a21928 --- /dev/null +++ b/src/Hooks/Kerneloops.cpp @@ -0,0 +1,35 @@ +/* + * Copyright 2009, Red Hat Inc. + * + * This file is part of %TBD% + * + * This program file is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program in a file named COPYING; if not, write to the + * Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * Authors: + * Anton Arapov <anton@redhat.com> + */ + +#include "KerneloopsDmesg.h" + +int main() +{ + int ret; + + // reuses the code of Kerneloop Plugin + ret = scan_logs(); + + return ret; +} |