chiark / gitweb /
unit: use the UNIT() macro consistently
[elogind.git] / src / util.h
index a52ac64ee3c4a04f1a2a8dd96945311ae4d57e72..5413490c13415beff7865a7425286d8bca8b44f2 100644 (file)
@@ -67,6 +67,7 @@ typedef struct dual_timestamp {
 #define FORMAT_TIMESTAMP_MAX 64
 #define FORMAT_TIMESTAMP_PRETTY_MAX 256
 #define FORMAT_TIMESPAN_MAX 64
+#define FORMAT_BYTES_MAX 8
 
 #define ANSI_HIGHLIGHT_ON "\x1B[1;39m"
 #define ANSI_HIGHLIGHT_RED_ON "\x1B[1;32m"
@@ -411,6 +412,7 @@ char *fstab_node_to_udev_node(const char *p);
 void filter_environ(const char *prefix);
 
 bool tty_is_vc(const char *tty);
+bool tty_is_vc_resolve(const char *tty);
 int vtnr_from_tty(const char *tty);
 const char *default_term_for_tty(const char *tty);