|
OmniEvents
|
#include "daemon.h"#include "main.h"#include "daemon_unix.h"#include <iostream.h>#include <fstream.h>#include <stdlib.h>#include <errno.h>#include <string>
Go to the source code of this file.
Namespaces | |
| omniORB | |
| OmniEvents | |
Macros | |
| #define | NEED_PACKAGE_INFO |
| #define | STRERR_FILE_LINE strerror(errno)<<" "<<__FILE__<<":"<<__LINE__ |
| #define | PIPE_READ 0 |
| #define | PIPE_WRITE 1 |
Functions | |
| void | omniORB::setLogFunction (void(*logFunction)(const char *)) |
| void | OmniEvents::shutdown0 (void) |
| Param to atexit(). More... | |
| void | OmniEvents::shutdown2 (int s, void *) |
| Param to on_exit(). More... | |
Variables | |
| DaemonImpl | OmniEvents::daemon |
| Singleton - only at file scope. More... | |
| #define NEED_PACKAGE_INFO |
Definition at line 28 of file daemon_unix.cc.
| #define PIPE_READ 0 |
Definition at line 87 of file daemon_unix.cc.
Referenced by OmniEvents::DaemonImpl::fork(), and OmniEvents::DaemonImpl::waitForChild().
| #define PIPE_WRITE 1 |
Definition at line 88 of file daemon_unix.cc.
Referenced by OmniEvents::DaemonImpl::fork(), and OmniEvents::DaemonImpl::notifyParent().
| #define STRERR_FILE_LINE strerror(errno)<<" "<<__FILE__<<":"<<__LINE__ |
Definition at line 85 of file daemon_unix.cc.
Referenced by OmniEvents::DaemonImpl::checkPidfileOrShutdown(), OmniEvents::DaemonImpl::daemonize(), OmniEvents::DaemonImpl::fork(), OmniEvents::DaemonImpl::notifyParent(), OmniEvents::DaemonImpl::redirectStreamsTo(), OmniEvents::DaemonImpl::shutdown(), and OmniEvents::DaemonImpl::waitForChild().