summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Daemon.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-28 13:53:22 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-28 13:53:22 +0200
commit7cd21b9ed1a87af2979573b580508651466a67a8 (patch)
tree9027e1e12dcb9962accc64bf1185ed51c197a221 /src/Daemon/Daemon.cpp
parent51c2ed6d130b34f4f2888b2fc99e965f215b20b8 (diff)
downloadabrt-7cd21b9ed1a87af2979573b580508651466a67a8.tar.gz
abrt-7cd21b9ed1a87af2979573b580508651466a67a8.tar.xz
abrt-7cd21b9ed1a87af2979573b580508651466a67a8.zip
remove unused CObserver::Debug method
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/Daemon.cpp')
-rw-r--r--src/Daemon/Daemon.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp
index de9431a..b6155f1 100644
--- a/src/Daemon/Daemon.cpp
+++ b/src/Daemon/Daemon.cpp
@@ -30,6 +30,10 @@
#include "Daemon.h"
+#define VAR_RUN_LOCK_FILE VAR_RUN"/abrt.lock"
+#define VAR_RUN_PIDFILE VAR_RUN"/abrt.pid"
+
+
//FIXME: add some struct to be able to join all threads!
typedef struct cron_callback_data_t
{
@@ -423,6 +427,8 @@ static gboolean waitsignal_dispatch(GSource *source, GSourceFunc callback, gpoin
}
/* Inotify handler */
+/* 1024 simultaneous actions */
+#define INOTIFY_BUFF_SIZE ((sizeof(struct inotify_event)+FILENAME_MAX)*1024)
static gboolean handle_event_cb(GIOChannel *gio, GIOCondition condition, gpointer ptr_unused)
{
GIOError err;