1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3 
4 typedef struct StdoutStream StdoutStream;
5 
6 #include "fdset.h"
7 #include "journald-server.h"
8 
9 int server_open_stdout_socket(Server *s, const char *stdout_socket);
10 int server_restore_streams(Server *s, FDSet *fds);
11 
12 StdoutStream* stdout_stream_free(StdoutStream *s);
13 int stdout_stream_install(Server *s, int fd, StdoutStream **ret);
14 void stdout_stream_destroy(StdoutStream *s);
15 void stdout_stream_send_notify(StdoutStream *s);
16