summaryrefslogtreecommitdiff
path: root/src/journal/journald.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-22 03:09:44 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-22 03:09:44 +0200
commitef63833d532dd86bdba63211e6a1363cbb3ef61d (patch)
tree13025d5d7460d81ab451322f935b8fea341394b9 /src/journal/journald.h
parent671e021c92c835c6c701dc61463149d05b6f31af (diff)
journald: split /dev/kmsg related stuff into its own .c file
Diffstat (limited to 'src/journal/journald.h')
-rw-r--r--src/journal/journald.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/journal/journald.h b/src/journal/journald.h
index da2c312474..b73be0ab35 100644
--- a/src/journal/journald.h
+++ b/src/journal/journald.h
@@ -103,6 +103,14 @@ typedef struct Server {
struct udev *udev;
} Server;
+#define N_IOVEC_META_FIELDS 17
+#define N_IOVEC_KERNEL_FIELDS 64
+#define N_IOVEC_UDEV_FIELDS 32
+
+void server_dispatch_message(Server *s, struct iovec *iovec, unsigned n, unsigned m, struct ucred *ucred, struct timeval *tv, const char *label, size_t label_len, const char *unit_id, int priority);
+
+void server_driver_message(Server *s, sd_id128_t message_id, const char *format, ...);
+
/* gperf lookup function */
const struct ConfigPerfItem* journald_gperf_lookup(const char *key, unsigned length);
@@ -110,3 +118,6 @@ int config_parse_storage(const char *filename, unsigned line, const char *sectio
const char *storage_to_string(Storage s);
Storage storage_from_string(const char *s);
+
+int syslog_fixup_facility(int priority);
+void syslog_read_identifier(const char **buf, char **identifier, char **pid);