diff options
author | Michael Mann <mmann78@netscape.net> | 2012-08-18 19:20:31 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2012-08-18 19:20:31 +0000 |
commit | 493516fd6c3d70732d409ae940159ef5103ad753 (patch) | |
tree | 58c05c0b6d78894f24a3ad0eaaa994126f73953d /epan/emem.h | |
parent | ff6a33fdb44d7cb69d12f466d7a46eb95947823b (diff) | |
download | wireshark-493516fd6c3d70732d409ae940159ef5103ad753.tar.gz wireshark-493516fd6c3d70732d409ae940159ef5103ad753.tar.bz2 wireshark-493516fd6c3d70732d409ae940159ef5103ad753.zip |
Convert GString to emem_strbuf_t in packet-gadu-gadu.c
Required an additional function, ep_strbuf_append_unichar, in emem module
svn path=/trunk/; revision=44564
Diffstat (limited to 'epan/emem.h')
-rw-r--r-- | epan/emem.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/emem.h b/epan/emem.h index c8ce692559..8e87f56964 100644 --- a/epan/emem.h +++ b/epan/emem.h @@ -506,6 +506,16 @@ emem_strbuf_t *ep_strbuf_append(emem_strbuf_t *strbuf, const gchar *str); emem_strbuf_t *ep_strbuf_append_c(emem_strbuf_t *strbuf, const gchar c); /** + * Append a Unicode characeter converted to UTF-8 to a string buffer. + * + * @param strbuf The ep_strbuf-allocated string buffer to append to. + * @param c The Unicode character to append. + * + * @return strbuf + */ +emem_strbuf_t *ep_strbuf_append_unichar(emem_strbuf_t *strbuf, const gunichar c); + +/** * Chop off the end of a string buffer. * * @param strbuf The ep_strbuf-allocated string buffer to append to. |