git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make vconns keep track of their names and include them in log messages.
[sliver-openvswitch.git]
/
include
/
daemon.h
diff --git
a/include/daemon.h
b/include/daemon.h
index
d7273e0
..
ee6b0f0
100644
(file)
--- a/
include/daemon.h
+++ b/
include/daemon.h
@@
-34,9
+34,14
@@
#ifndef DAEMON_H
#define DAEMON_H 1
#ifndef DAEMON_H
#define DAEMON_H 1
+#include <stdbool.h>
+
char *make_pidfile_name(const char *name);
void set_pidfile(const char *name);
char *make_pidfile_name(const char *name);
void set_pidfile(const char *name);
+const char *get_pidfile(void);
void set_detach(void);
void daemonize(void);
void set_detach(void);
void daemonize(void);
+void die_if_already_running(void);
+void ignore_existing_pidfile(void);
#endif /* daemon.h */
#endif /* daemon.h */