daemon option '--version' added.

This commit is contained in:
Roland Jax
2014-11-09 23:21:55 +01:00
parent 2f9138b43e
commit af4f822f5d
8 changed files with 36 additions and 24 deletions
+3 -3
View File
@@ -17,8 +17,8 @@
* along with ebusd. If not, see http://www.gnu.org/licenses/.
*/
#ifndef LIBCORE_APPL_H_
#define LIBCORE_APPL_H_
#ifndef LIBUTILS_APPL_H_
#define LIBUTILS_APPL_H_
#include <string>
#include <cstring>
@@ -109,4 +109,4 @@ private:
void addParam(const char* name, const std::string arg, Datatype datatype);
};
#endif // LIBCORE_APPL_H_
#endif // LIBUTILS_APPL_H_
+3 -3
View File
@@ -17,8 +17,8 @@
* along with ebusd. If not, see http://www.gnu.org/licenses/.
*/
#ifndef LIBCORE_DAEMON_H_
#define LIBCORE_DAEMON_H_
#ifndef LIBUTILS_DAEMON_H_
#define LIBUTILS_DAEMON_H_
class Daemon
{
@@ -45,4 +45,4 @@ private:
};
#endif // LIBCORE_DAEMON_H_
#endif // LIBUTILS_DAEMON_H_
+3 -3
View File
@@ -17,8 +17,8 @@
* along with ebusd. If not, see http://www.gnu.org/licenses/.
*/
#ifndef LIBCORE_LOGGER_H_
#define LIBCORE_LOGGER_H_
#ifndef LIBUTILS_LOGGER_H_
#define LIBUTILS_LOGGER_H_
#include "wqueue.h"
#include "thread.h"
@@ -178,4 +178,4 @@ private:
};
#endif // LIBCORE_LOGGER_H_
#endif // LIBUTILS_LOGGER_H_
+3 -3
View File
@@ -17,8 +17,8 @@
* along with ebusd. If not, see http://www.gnu.org/licenses/.
*/
#ifndef LIBCORE_NOTIFY_H_
#define LIBCORE_NOTIFY_H_
#ifndef LIBUTILS_NOTIFY_H_
#define LIBUTILS_NOTIFY_H_
#include <unistd.h>
#include <fcntl.h>
@@ -51,6 +51,6 @@ private:
};
#endif // LIBCORE_NOTIFY_H_
#endif // LIBUTILS_NOTIFY_H_
+3 -3
View File
@@ -17,8 +17,8 @@
* along with ebusd. If not, see http://www.gnu.org/licenses/.
*/
#ifndef LIBCORE_TCPSOCKET_H_
#define LIBCORE_TCPSOCKET_H_
#ifndef LIBUTILS_TCPSOCKET_H_
#define LIBUTILS_TCPSOCKET_H_
#include <sys/types.h>
#include <sys/socket.h>
@@ -84,5 +84,5 @@ private:
};
#endif // LIBCORE_TCPSOCKET_H_
#endif // LIBUTILS_TCPSOCKET_H_
+3 -3
View File
@@ -17,8 +17,8 @@
* along with ebusd. If not, see http://www.gnu.org/licenses/.
*/
#ifndef LIBCORE_THREAD_H_
#define LIBCORE_THREAD_H_
#ifndef LIBUTILS_THREAD_H_
#define LIBUTILS_THREAD_H_
#include <pthread.h>
@@ -43,4 +43,4 @@ private:
};
#endif // LIBCORE_THREAD_H_
#endif // LIBUTILS_THREAD_H_
+3 -3
View File
@@ -17,8 +17,8 @@
* along with ebusd. If not, see http://www.gnu.org/licenses/.
*/
#ifndef LIBCORE_WQUEUE_H_
#define LIBCORE_WQUEUE_H_
#ifndef LIBUTILS_WQUEUE_H_
#define LIBUTILS_WQUEUE_H_
#include <list>
#include <pthread.h>
@@ -96,4 +96,4 @@ private:
};
#endif // LIBCORE_WQUEUE_H_
#endif // LIBUTILS_WQUEUE_H_