chiark / gitweb /
bus: make sure introspection can be generated correctly with NULL method signatures
[elogind.git] / src / systemd / sd-journal.h
index 5375d49963bf63f7416c5f994e32a5c3193406fe..887fd3007b11cf21553f5533a8e57622e0c8a11f 100644 (file)
@@ -86,7 +86,10 @@ typedef struct sd_journal sd_journal;
 enum {
         SD_JOURNAL_LOCAL_ONLY = 1,
         SD_JOURNAL_RUNTIME_ONLY = 2,
-        SD_JOURNAL_SYSTEM_ONLY = 4
+        SD_JOURNAL_SYSTEM = 4,
+        SD_JOURNAL_CURRENT_USER = 8,
+
+        SD_JOURNAL_SYSTEM_ONLY = SD_JOURNAL_SYSTEM, /* deprecated name */
 };
 
 /* Wakeup event types */
@@ -98,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);