daemon: added forgotten daemon.h
authorKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 6 Sep 2012 14:04:30 +0000 (17:04 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Fri, 26 Oct 2012 16:00:10 +0000 (19:00 +0300)
src/daemon/daemon.h [new file with mode: 0644]

diff --git a/src/daemon/daemon.h b/src/daemon/daemon.h
new file mode 100644 (file)
index 0000000..ba84346
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef __MURPHY_DAEMON_H__
+#define __MURPHY_DAEMON_H__
+
+#include <murphy/core/event.h>
+
+/*
+ * names of daemon-related events we emit
+ */
+
+#define MRP_DAEMON_LOADING  "daemon-loading"    /* loading configuration */
+#define MRP_DAEMON_STARTING "daemon-starting"   /* starting up (plugins) */
+#define MRP_DAEMON_RUNNING  "daemon-running"    /* about to run mainloop */
+#define MRP_DAEMON_STOPPING "daemon-stopping"   /* shutting down */
+
+#endif /* __MURPHY_DAEMON_H__ */