aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-03-02 18:10:51 +0000
committerThomas Adam <thomas@xteddy.org>2016-03-02 18:10:51 +0000
commite304673c65d774bb76e5d55c095c8c8e6b05ff91 (patch)
treeaf461e71978b76dad59348d924a37f62b8c0bb7d /tmux.h
parente9d369a09e48ea8f940958025c8444988d31e840 (diff)
parentb8a102d26f41e57b94359627a4df8f22af10c6fa (diff)
downloadrtmux-e304673c65d774bb76e5d55c095c8c8e6b05ff91.tar.gz
rtmux-e304673c65d774bb76e5d55c095c8c8e6b05ff91.tar.bz2
rtmux-e304673c65d774bb76e5d55c095c8c8e6b05ff91.zip
Merge branch 'obsd-master'
Conflicts: utf8.c
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index be00098d..ca6e03fc 100644
--- a/tmux.h
+++ b/tmux.h
@@ -29,6 +29,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <termios.h>
+#include <wchar.h>
#ifdef HAVE_UTEMPTER
#include <utempter.h>
@@ -2313,14 +2314,12 @@ void session_group_synchronize1(struct session *, struct session *);
void session_renumber_windows(struct session *);
/* utf8.c */
-u_int utf8_width(u_int);
void utf8_set(struct utf8_data *, u_char);
void utf8_copy(struct utf8_data *, const struct utf8_data *);
enum utf8_state utf8_open(struct utf8_data *, u_char);
enum utf8_state utf8_append(struct utf8_data *, u_char);
-u_int utf8_combine(const struct utf8_data *);
-enum utf8_state utf8_split(u_int, struct utf8_data *);
-u_int utf8_split2(u_int, u_char *);
+enum utf8_state utf8_combine(const struct utf8_data *, wchar_t *);
+enum utf8_state utf8_split(wchar_t, struct utf8_data *);
int utf8_strvis(char *, const char *, size_t, int);
char *utf8_sanitize(const char *);
struct utf8_data *utf8_fromcstr(const char *);