sd_journal *j,
OutputMode mode,
unsigned n_columns,
- OutputFlags flags);
+ OutputFlags flags,
+ bool *ellipsized);
-int show_journal_by_unit(
- FILE *f,
+int add_match_this_boot(sd_journal *j);
+
+int add_matches_for_unit(
+ sd_journal *j,
+ const char *unit);
+
+int add_matches_for_user_unit(
+ sd_journal *j,
const char *unit,
- OutputMode mode,
- unsigned n_columns,
- usec_t not_before,
- unsigned how_many,
- OutputFlags flags);
+ uid_t uid);
-int show_journal_by_user_unit(
+int show_journal_by_unit(
FILE *f,
const char *unit,
OutputMode mode,
usec_t not_before,
unsigned how_many,
uid_t uid,
- OutputFlags flags);
+ OutputFlags flags,
+ bool system,
+ bool *ellipsized);
void json_escape(
FILE *f,
size_t l,
OutputFlags flags);
-const char* output_mode_to_string(OutputMode m);
-OutputMode output_mode_from_string(const char *s);
+const char* output_mode_to_string(OutputMode m) _const_;
+OutputMode output_mode_from_string(const char *s) _pure_;