summaryrefslogtreecommitdiffstats
path: root/src/journal-remote/microhttpd-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-06-22 19:36:31 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-16 04:31:41 +0200
commit8201af08fa09c2bd0f005fbe262f27e2c5bd2d86 (patch)
tree548dba06347317740d4c236467615fa2ee4be450 /src/journal-remote/microhttpd-util.h
parentAllow addresses to be specified for --listen-... args (diff)
downloadsystemd-8201af08fa09c2bd0f005fbe262f27e2c5bd2d86.tar.xz
systemd-8201af08fa09c2bd0f005fbe262f27e2c5bd2d86.zip
journal-remote: allow splitting incoming logs by source host
Previously existing scheme where the file name would be based on the source was just too ugly and unpredicatable. Now there are only two options: 1. just one file (until rotation), 2. one file per source host, using the hostname as filename part. For the cases where the source is specified by the user, only option one is allowed, and the full of the file must be specified.
Diffstat (limited to '')
-rw-r--r--src/journal-remote/microhttpd-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/microhttpd-util.h b/src/journal-remote/microhttpd-util.h
index 4186da888e..c43d7f75a3 100644
--- a/src/journal-remote/microhttpd-util.h
+++ b/src/journal-remote/microhttpd-util.h
@@ -41,7 +41,7 @@ int mhd_respond(struct MHD_Connection *connection,
int mhd_respond_oom(struct MHD_Connection *connection);
-int check_permissions(struct MHD_Connection *connection, int *code);
+int check_permissions(struct MHD_Connection *connection, int *code, char **hostname);
#ifdef HAVE_GNUTLS
void log_func_gnutls(int level, const char *message);