summaryrefslogtreecommitdiff
path: root/src/journal/journald-stream.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-06 00:30:25 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-06 03:16:39 +0100
commit13790add4bf648fed816361794d8277a75253410 (patch)
treeee47acce1e01571de313b6db70b365f88aafdfbf /src/journal/journald-stream.h
parenta354329f724d6ce913d2ccffb2be8f3327a67faa (diff)
journald: allow restarting journald without losing stream connections
Making use of the fd storage capability of the previous commit, allow restarting journald by serilizing stream state to /run, and pushing open fds to PID 1.
Diffstat (limited to 'src/journal/journald-stream.h')
-rw-r--r--src/journal/journald-stream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journald-stream.h b/src/journal/journald-stream.h
index 8cad012967..94bf955d78 100644
--- a/src/journal/journald-stream.h
+++ b/src/journal/journald-stream.h
@@ -21,8 +21,9 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "fdset.h"
#include "journald-server.h"
-int server_open_stdout_socket(Server *s);
+int server_open_stdout_socket(Server *s, FDSet *fds);
void stdout_stream_free(StdoutStream *s);