Mercurial > hg > nnchat
diff libnnchat.h @ 285:b765f15f9895
Move nn_username_{de,en}code() to libnnchat.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 10 Jun 2011 23:43:36 +0300 |
parents | 2cff949abbc5 |
children | c086345d176b |
line wrap: on
line diff
--- a/libnnchat.h Thu Jun 09 22:35:12 2011 +0300 +++ b/libnnchat.h Fri Jun 10 23:43:36 2011 +0300 @@ -104,6 +104,9 @@ char * nn_dbldecode_str(const char *str); char * nn_dblencode_str(const char *str); +char * nn_username_encode(char *str); +char * nn_username_decode(char *str); + int nn_editbuf_write(nn_editbuf_t *buf, ssize_t pos, int ch); int nn_editbuf_insert(nn_editbuf_t *buf, ssize_t pos, int ch);