diff options
Diffstat (limited to 'src/shared/logs-show.h')
-rw-r--r-- | src/shared/logs-show.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h index a835112c99..5a4c9f24d7 100644 --- a/src/shared/logs-show.h +++ b/src/shared/logs-show.h @@ -37,16 +37,16 @@ int output_journal( unsigned n_columns, OutputFlags flags); -int show_journal_by_unit( - FILE *f, +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, @@ -54,7 +54,8 @@ int show_journal_by_user_unit( usec_t not_before, unsigned how_many, uid_t uid, - OutputFlags flags); + OutputFlags flags, + bool system); void json_escape( FILE *f, |