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: implement message catalog
[elogind.git]
/
src
/
systemd
/
sd-journal.h
diff --git
a/src/systemd/sd-journal.h
b/src/systemd/sd-journal.h
index 724117303512a0f271121767bd8a48de083f6e90..f9919b29f1f3ab35cc090348f487fdb131192841 100644
(file)
--- a/
src/systemd/sd-journal.h
+++ b/
src/systemd/sd-journal.h
@@
-128,6
+128,8
@@
int sd_journal_reliable_fd(sd_journal *j);
int sd_journal_process(sd_journal *j);
int sd_journal_wait(sd_journal *j, uint64_t timeout_usec);
int sd_journal_process(sd_journal *j);
int sd_journal_wait(sd_journal *j, uint64_t timeout_usec);
+int sd_journal_get_catalog(sd_journal *j, char **text);
+
#define SD_JOURNAL_FOREACH(j) \
if (sd_journal_seek_head(j) >= 0) \
while (sd_journal_next(j) > 0)
#define SD_JOURNAL_FOREACH(j) \
if (sd_journal_seek_head(j) >= 0) \
while (sd_journal_next(j) > 0)