diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/logs-show.c | 2 | ||||
-rw-r--r-- | src/shared/logs-show.h | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index 28d12d3d4a..05895366e2 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -405,7 +405,7 @@ static int output_export( return 0; } -static void json_escape( +void json_escape( FILE *f, const char* p, size_t l, diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h index 1b67876d8f..06082800c8 100644 --- a/src/shared/logs-show.h +++ b/src/shared/logs-show.h @@ -64,5 +64,11 @@ int show_journal_by_unit( unsigned how_many, OutputFlags flags); +void json_escape( + FILE *f, + const char* p, + size_t l, + OutputFlags flags); + const char* output_mode_to_string(OutputMode m); OutputMode output_mode_from_string(const char *s); |