From aa09d40fdcaf9abfe750929c5fe3b19ac1cef0cb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 21 Aug 2009 19:27:54 +0200 Subject: move most of CCrashWatcher's init/deinit into daemon's main() Signed-off-by: Denys Vlasenko --- inc/abrtlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc') diff --git a/inc/abrtlib.h b/inc/abrtlib.h index 5721c6fa..5cde2cb9 100644 --- a/inc/abrtlib.h +++ b/inc/abrtlib.h @@ -108,6 +108,9 @@ void xmove_fd(int from, int to); char* xasprintf(const char *format, ...); std::string ssprintf(const char *format, ...); +int xopen(const char *pathname, int flags); +int xopen3(const char *pathname, int flags, int mode); + /* copyfd_XX print read/write errors and return -1 if they occur */ off_t copyfd_eof(int src_fd, int dst_fd); off_t copyfd_size(int src_fd, int dst_fd, off_t size); -- cgit