summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-27 23:27:10 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-28 00:55:24 +0200
commit08ace05beb1d09b6ebc5e9cafc2b972b39fa2437 (patch)
treebe7290b127df8b2bf4baed5b20659d79527bbc13 /src/shared/logs-show.h
parent8f14c8327b1c2b578bbf1235723a77931c3d0223 (diff)
logs-show: various cleanups
Among other cleanups this introduces a threshold for the size of binary blobs we serialize as integer arrays in the JSON output. THis can be disabled via --all.
Diffstat (limited to 'src/shared/logs-show.h')
-rw-r--r--src/shared/logs-show.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h
index 3e6b6e0f64..ea0f51fbf0 100644
--- a/src/shared/logs-show.h
+++ b/src/shared/logs-show.h
@@ -47,10 +47,15 @@ typedef enum OutputFlags {
OUTPUT_COLOR = 1 << 4
} OutputFlags;
-int output_journal(sd_journal *j, OutputMode mode, unsigned line,
- unsigned n_columns, OutputFlags flags);
+int output_journal(
+ FILE *f,
+ sd_journal *j,
+ OutputMode mode,
+ unsigned n_columns,
+ OutputFlags flags);
int show_journal_by_unit(
+ FILE *f,
const char *unit,
OutputMode mode,
unsigned n_columns,