summaryrefslogtreecommitdiff
path: root/src/basic/log.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-26 14:20:45 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-26 14:20:45 +0100
commit1d35b2d6e25ba100c903f02c92c67389e67bb913 (patch)
treea64869507321fd9de4bb28551be0d246d0d63663 /src/basic/log.h
parentd8fc78b40fab1d1545b384eb0b8928b78c8828ff (diff)
parent32917e33882778cf2ec6dd54b1e1082266fb072e (diff)
Merge pull request #2424 from keszybz/journald-disk-usage
Journald disk usage
Diffstat (limited to 'src/basic/log.h')
-rw-r--r--src/basic/log.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/basic/log.h b/src/basic/log.h
index cda1e45cc8..8c7c5e4598 100644
--- a/src/basic/log.h
+++ b/src/basic/log.h
@@ -26,6 +26,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <sys/signalfd.h>
+#include <sys/socket.h>
#include <syslog.h>
#include "sd-id128.h"
@@ -127,6 +128,15 @@ int log_oom_internal(
int line,
const char *func);
+int log_format_iovec(
+ struct iovec *iovec,
+ unsigned iovec_len,
+ unsigned *n,
+ bool newline_separator,
+ int error,
+ const char *format,
+ va_list ap);
+
/* This modifies the buffer passed! */
int log_dump_internal(
int level,