comparison src/vbuf.h @ 151:cda7c812ec01

track character set individually for each mapi element
author Carl Byington <carl@five-ten-sg.com>
date Sun, 08 Mar 2009 14:35:26 -0700
parents 5e4d6faada34
children 6954d315aaa8
comparison
equal deleted inserted replaced
150:06aa84023b48 151:cda7c812ec01
86 86
87 void unicode_init(); 87 void unicode_init();
88 void unicode_close(); 88 void unicode_close();
89 size_t vb_utf16to8(vbuf *dest, const char *inbuf, int iblen); 89 size_t vb_utf16to8(vbuf *dest, const char *inbuf, int iblen);
90 size_t vb_utf8to8bit(vbuf *dest, const char *inbuf, int iblen, const char* charset); 90 size_t vb_utf8to8bit(vbuf *dest, const char *inbuf, int iblen, const char* charset);
91 size_t vb_8bit2utf8(vbuf *dest, const char *inbuf, int iblen, const char* charset);
91 92
92 int vb_skipline( struct varbuf *vb ); // in: vb->b == "stuff\nmore_stuff"; out: vb->b == "more_stuff" 93 int vb_skipline( struct varbuf *vb ); // in: vb->b == "stuff\nmore_stuff"; out: vb->b == "more_stuff"
93 94
94 95
95 #endif // VBUF_H 96 #endif // VBUF_H