From eb86030ec0e53ef3834d1b230440e88fdf020e9d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 27 Jan 2016 18:59:29 +0100 Subject: sd-journal: add an API to enumerate known field names of the journal This adds two new calls to get the list of all journal fields names currently in use. This is the low-level support to implement the feature requested in #2176 in a more optimized way. --- src/libsystemd/libsystemd.sym | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libsystemd') diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym index 043ff13e6f..d6928bfbb7 100644 --- a/src/libsystemd/libsystemd.sym +++ b/src/libsystemd/libsystemd.sym @@ -481,3 +481,9 @@ global: sd_bus_path_encode_many; sd_listen_fds_with_names; } LIBSYSTEMD_226; + +LIBSYSTEMD_229 { +global: + sd_journal_enumerate_fields; + sd_journal_restart_fields; +} LIBSYSTEMD_227; -- cgit v1.2.3-54-g00ecf From 9a07f779bbeacc3358d405f6cf583506aaf655ae Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 1 Feb 2016 23:15:54 +0100 Subject: sd-journal: properly export has_{persistent|runtime}_files() This was missing in 39fd5b08a73f144a20202a665bd25cad51d8a90b. --- src/libsystemd/libsystemd.sym | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libsystemd') diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym index d6928bfbb7..4ab637b686 100644 --- a/src/libsystemd/libsystemd.sym +++ b/src/libsystemd/libsystemd.sym @@ -484,6 +484,8 @@ global: LIBSYSTEMD_229 { global: + sd_journal_has_runtime_files; + sd_journal_has_persistent_files; sd_journal_enumerate_fields; sd_journal_restart_fields; } LIBSYSTEMD_227; -- cgit v1.2.3-54-g00ecf