diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-16 11:36:52 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-31 13:04:18 +0200 |
commit | 864876ec0f1cd9f8585bc0b541d34b0f2b583d09 (patch) | |
tree | f156114cff5ca6982f45ded73b300d227e38d6c3 /src/journal-remote/journal-remote.h | |
parent | journal-remote: split out µhttpd support and main() into a separate file (diff) | |
download | systemd-864876ec0f1cd9f8585bc0b541d34b0f2b583d09.tar.xz systemd-864876ec0f1cd9f8585bc0b541d34b0f2b583d09.zip |
journal-remote: export handle_raw_source()
Diffstat (limited to '')
-rw-r--r-- | src/journal-remote/journal-remote.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/journal-remote/journal-remote.h b/src/journal-remote/journal-remote.h index 72741c7fba..d4e068dad8 100644 --- a/src/journal-remote/journal-remote.h +++ b/src/journal-remote/journal-remote.h @@ -58,5 +58,10 @@ int journal_remote_get_writer(RemoteServer *s, const char *host, Writer **writer int journal_remote_add_source(RemoteServer *s, int fd, char* name, bool own_name); int journal_remote_add_raw_socket(RemoteServer *s, int fd); +int journal_remote_handle_raw_source( + sd_event_source *event, + int fd, + uint32_t revents, + RemoteServer *s); RemoteServer* journal_remote_server_destroy(RemoteServer *s); |