summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-18 22:31:27 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-18 22:34:42 +0200
commit240a5fe83e772d08d9e1f22e90163b37eea5ab45 (patch)
tree47e86857ac639baf49832e08fc7db8ed70c742cb /src/shared/logs-show.h
parentd5c4ed623b3b83b8caaf6b26f5b4c8006ff372ac (diff)
journal: add ability to list unique fields to gatewayd
Diffstat (limited to 'src/shared/logs-show.h')
-rw-r--r--src/shared/logs-show.h6
1 files changed, 6 insertions, 0 deletions
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);