summaryrefslogtreecommitdiff
path: root/src/shared/utf8.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-19 04:20:23 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-19 04:22:09 +0100
commit2e3d069236777cd62f755a02f4a239306b4ad21a (patch)
tree82ffbaaa8b6ebb2ffd90454443cf5b403514afff /src/shared/utf8.h
parent610d99284feb9e942bce601c6aac1a5074545e6b (diff)
core: if the bootloader supports it, determine firmware and boot loader delay
This allows us to print simple performance data of all parts of the boot now: - firmware - boot loader - kernel - initrd - userspace This only works for bootloaders which support passing TSC data via EFI variables. As of now that's only gummiboot.
Diffstat (limited to 'src/shared/utf8.h')
-rw-r--r--src/shared/utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/utf8.h b/src/shared/utf8.h
index 13d2f6a980..794ae15ab9 100644
--- a/src/shared/utf8.h
+++ b/src/shared/utf8.h
@@ -30,3 +30,5 @@ char *utf8_is_printable_n(const char* str, size_t length) _pure_;
char *utf8_filter(const char *s);
char *ascii_filter(const char *s);
+
+char *utf16_to_utf8(const void *s, size_t length);