Merge branch 't/utf8'
[paraslash.git] / string.h
index d4627f33f0d3ce07885deff483c847e57df5b32a..d45c9199822d993ab2594877a6cd45914a902f15 100644 (file)
--- a/string.h
+++ b/string.h
@@ -91,3 +91,5 @@ void freep(void *arg);
 int compute_word_num(const char *buf, const char *delim, int offset);
 char *safe_strdup(const char *src, size_t len);
 char *key_value_copy(const char *src, size_t len, const char *key);
+int skip_cells(const char *s, size_t cells_to_skip, size_t *result);
+__must_check int strwidth(const char *s, size_t *result);