summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-21 18:17:22 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-21 18:17:22 +0100
commit72f597065c60fbfca501a8d8c29e9a11cb740946 (patch)
treeabdc21b6cb30e198d54c9ae06eee16cd766f6931 /src/util.h
parent807e17f05e217b474af39503efb9503d81b12596 (diff)
journalctl: add json, export, short and verbose output modes
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 1db82f83e0..ac2ec8c351 100644
--- a/src/util.h
+++ b/src/util.h
@@ -378,11 +378,12 @@ void status_vprintf(const char *format, va_list ap);
void status_printf(const char *format, ...);
void status_welcome(void);
-int columns(void);
+unsigned columns(void);
int running_in_chroot(void);
-char *ellipsize(const char *s, unsigned length, unsigned percent);
+char *ellipsize(const char *s, size_t length, unsigned percent);
+char *ellipsize_mem(const char *s, size_t old_length, size_t new_length, unsigned percent);
int touch(const char *path);