summaryrefslogtreecommitdiff
path: root/src/journal/libsystemd-journal.sym
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-11 01:08:38 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-11 01:08:38 +0200
commita963990ff4ebc7908d3cf82bbd8cf34a42d57b7f (patch)
treeed0ec7a15879352961a08c88be739f6fb6438f40 /src/journal/libsystemd-journal.sym
parente02d1cf72d115d1d61defdca5b551672d876c6bd (diff)
journal: rework directory enumeration/watch logic
There's now sd_journal_new_directory() for watching specific journal directories. This is exposed in journalctl -D. sd_journal_wait() and sd_journal_process() now return whether changes in the journal are invalidating or just appending. We now create inotify kernel watches only when we actually need them
Diffstat (limited to 'src/journal/libsystemd-journal.sym')
-rw-r--r--src/journal/libsystemd-journal.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/libsystemd-journal.sym b/src/journal/libsystemd-journal.sym
index d1ba9e8e31..fa4519a682 100644
--- a/src/journal/libsystemd-journal.sym
+++ b/src/journal/libsystemd-journal.sym
@@ -61,4 +61,5 @@ global:
LIBSYSTEMD_JOURNAL_187 {
global:
sd_journal_wait;
+ sd_journal_open_directory;
} LIBSYSTEMD_JOURNAL_184;