chiark / gitweb /
Get rid of some more unused defines and dirs
[elogind.git] / src / shared / logs-show.h
index 11b3b59b7bef814e8ac53f2f89c3faeb781f2dd4..569e1faa55acea78237ee278179f09e472c197dc 100644 (file)
 ***/
 
 #include <stdbool.h>
-#include <unistd.h>
 #include <sys/types.h>
 
-#include <systemd/sd-journal.h>
+#include "sd-journal.h"
 
 #include "util.h"
 #include "output-mode.h"
@@ -38,7 +37,7 @@ int output_journal(
                 OutputFlags flags,
                 bool *ellipsized);
 
-int add_match_this_boot(sd_journal *j);
+int add_match_this_boot(sd_journal *j, const char *machine);
 
 int add_matches_for_unit(
                 sd_journal *j,
@@ -58,7 +57,8 @@ int show_journal_by_unit(
                 unsigned how_many,
                 uid_t uid,
                 OutputFlags flags,
-                bool system,
+                int journal_open_flags,
+                bool system_unit,
                 bool *ellipsized);
 
 void json_escape(