chiark / gitweb /
bus: add minimal event loop API
[elogind.git] / src / systemd / sd-journal.h
index cf105cde72682503bfb05d85ff8457c7a87f7dc4..887fd3007b11cf21553f5533a8e57622e0c8a11f 100644 (file)
@@ -87,8 +87,9 @@ enum {
         SD_JOURNAL_LOCAL_ONLY = 1,
         SD_JOURNAL_RUNTIME_ONLY = 2,
         SD_JOURNAL_SYSTEM = 4,
-        SD_JOURNAL_SYSTEM_ONLY = SD_JOURNAL_SYSTEM, /* deprecated */
         SD_JOURNAL_CURRENT_USER = 8,
+
+        SD_JOURNAL_SYSTEM_ONLY = SD_JOURNAL_SYSTEM, /* deprecated name */
 };
 
 /* Wakeup event types */
@@ -100,6 +101,7 @@ enum {
 
 int sd_journal_open(sd_journal **ret, int flags);
 int sd_journal_open_directory(sd_journal **ret, const char *path, int flags);
+int sd_journal_open_files(sd_journal **ret, const char **paths, int flags);
 void sd_journal_close(sd_journal *j);
 
 int sd_journal_previous(sd_journal *j);