summaryrefslogtreecommitdiff
path: root/src/shared/output-mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/output-mode.h')
-rw-r--r--src/shared/output-mode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/output-mode.h b/src/shared/output-mode.h
index e2b26e04d3..ea2e95f06b 100644
--- a/src/shared/output-mode.h
+++ b/src/shared/output-mode.h
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "macro.h"
+
typedef enum OutputMode {
OUTPUT_SHORT,
OUTPUT_SHORT_ISO,
@@ -48,3 +50,6 @@ typedef enum OutputFlags {
OUTPUT_UTC = 1 << 7,
OUTPUT_KERNEL_THREADS = 1 << 8,
} OutputFlags;
+
+const char* output_mode_to_string(OutputMode m) _const_;
+OutputMode output_mode_from_string(const char *s) _pure_;