chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journal: introduce sd_journal_wait() to simplify writing synchronous clients
[elogind.git]
/
src
/
systemd
/
sd-journal.h
diff --git
a/src/systemd/sd-journal.h
b/src/systemd/sd-journal.h
index a69aa25a685245178ef37f89852227d54be86068..ee4acffd653d279dfcc9a6702eb6579b184aa014 100644
(file)
--- a/
src/systemd/sd-journal.h
+++ b/
src/systemd/sd-journal.h
@@
-113,6
+113,7
@@
enum {
int sd_journal_get_fd(sd_journal *j);
int sd_journal_process(sd_journal *j);
+int sd_journal_wait(sd_journal *j, uint64_t timeout_usec);
#define SD_JOURNAL_FOREACH(j) \
if (sd_journal_seek_head(j) >= 0) \