summaryrefslogtreecommitdiffstats
path: root/src/lib/hooklib.h
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-04-20 18:23:56 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-04-20 18:23:56 +0200
commit0274b29916883efac50e0961c0a3b49ce8a11f1f (patch)
tree30f88847461ef58b90e7fe42cbdca8740dbc5cc7 /src/lib/hooklib.h
parent3572f658c5829492da1c99eae33b1e9ca9d4518c (diff)
downloadabrt-0274b29916883efac50e0961c0a3b49ce8a11f1f.tar.gz
abrt-0274b29916883efac50e0961c0a3b49ce8a11f1f.tar.xz
abrt-0274b29916883efac50e0961c0a3b49ce8a11f1f.zip
delete ugly parse_conf(), use load_abrt_conf() instead
Therefore moved abrt_conf.* to libreport Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/lib/hooklib.h')
-rw-r--r--src/lib/hooklib.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/hooklib.h b/src/lib/hooklib.h
index a7421e06..c140f951 100644
--- a/src/lib/hooklib.h
+++ b/src/lib/hooklib.h
@@ -15,17 +15,13 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef HOOKLIB_H
+#define HOOKLIB_H 1
#ifdef __cplusplus
extern "C" {
#endif
-#define parse_conf abrt_parse_conf
-void parse_conf(const char *additional_conf,
- unsigned *setting_MaxCrashReportsSize,
- bool *setting_MakeCompatCore,
- bool *setting_SaveBinaryImage);
-
#define check_free_space abrt_check_free_space
void check_free_space(unsigned setting_MaxCrashReportsSize);
@@ -35,3 +31,5 @@ void trim_debug_dumps(const char *dirname, double cap_size, const char *exclude_
#ifdef __cplusplus
}
#endif
+
+#endif