summaryrefslogtreecommitdiff
path: root/include/qemu-common.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-04-11 18:07:18 +0200
committerBlue Swirl <blauwirbel@gmail.com>2013-04-13 19:39:59 +0000
commitcb2744ea343d8cb96bab0389f6b7d6e1a3ddf6c1 (patch)
tree16bb107ec67b9570c41cb1ff601f56c518adc0b1 /include/qemu-common.h
parent75312e745ad1b672cbabdc3022f6e7c8eff69b00 (diff)
unicode: New mod_utf8_codepoint()
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'include/qemu-common.h')
-rw-r--r--include/qemu-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h
index 31fff22f32..3b1873e4ef 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -442,6 +442,9 @@ int64_t pow2floor(int64_t value);
int uleb128_encode_small(uint8_t *out, uint32_t n);
int uleb128_decode_small(const uint8_t *in, uint32_t *n);
+/* unicode.c */
+int mod_utf8_codepoint(const char *s, size_t n, char **end);
+
/*
* Hexdump a buffer to a file. An optional string prefix is added to every line
*/