X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Flogs-show.h;h=187ee595fbafeccc3c2ef26ac60671964cae81bb;hb=1f2b7175cf84bdbef6ee6917224658ba2adf43bf;hp=c9a9ad3e9195413239bc3b062d031aa4c3c3c601;hpb=5ec76417764e19486261fb8e38e8e71b28185b37;p=elogind.git diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h index c9a9ad3e9..187ee595f 100644 --- a/src/shared/logs-show.h +++ b/src/shared/logs-show.h @@ -25,7 +25,7 @@ #include #include -#include +#include "systemd/sd-journal.h" #include "util.h" #include "output-mode.h" @@ -35,9 +35,10 @@ int output_journal( sd_journal *j, OutputMode mode, unsigned n_columns, - OutputFlags flags); + 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, @@ -57,7 +58,8 @@ int show_journal_by_unit( unsigned how_many, uid_t uid, OutputFlags flags, - bool system); + bool system, + bool *ellipsized); void json_escape( FILE *f,