summaryrefslogtreecommitdiff
path: root/src/journal/libsystemd-journal.sym
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-26 20:05:19 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-26 20:07:33 +0200
commit85210bffd8363e491b4c31f2d09404f9869ad0c7 (patch)
tree8afc2d12f00925280a63dac7ef6e1eeeeb90edd7 /src/journal/libsystemd-journal.sym
parente9f600f2fb4b0df55c7a8fb4b4d09f9979997223 (diff)
journal: provide an API that allows client to figure out whether they need to recheck the journal manually for changes in regular intervals
Network file systems generally do not offer inotify() that would work across the network. We hence cannot rely on inotify() exclusiely in those case. Provide an API to determine these cases, and suggest doing manual regular rechecks. Note that this is not complete yet, as we need to rescan journal dirs on network file systems explicitly to find new/removed files
Diffstat (limited to 'src/journal/libsystemd-journal.sym')
-rw-r--r--src/journal/libsystemd-journal.sym5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/journal/libsystemd-journal.sym b/src/journal/libsystemd-journal.sym
index 96293b8a29..ad78fcc74d 100644
--- a/src/journal/libsystemd-journal.sym
+++ b/src/journal/libsystemd-journal.sym
@@ -80,3 +80,8 @@ global:
sd_journal_enumerate_unique;
sd_journal_restart_unique;
} LIBSYSTEMD_JOURNAL_190;
+
+LIBSYSTEMD_JOURNAL_196 {
+global:
+ sd_journal_fd_reliable;
+} LIBSYSTEMD_JOURNAL_195;