Should I write my own or is there a library function that already does that? I need this for a pidgin plugin, so if there is something in the pidgin/purple/gnome libraries, that would be ideal. But other sources are fine, too.
+1
A:
You could use apreq_encode() from libapreq2. Note that your write buffer needs to be 3 * src_length + 1
big, which isn't necessarily clear from the doc snippet.
chaos
2009-09-11 15:52:39
thanks, i'll try that
Kim
2009-09-11 16:02:38