Mercurial > pidgin
comparison doc/plugin-i18n.dox @ 18880:f41db253c1af
Add a new public function msim_msg_free_element_data(), that frees element data (but the MsimMessageElement * still must be g_free()'d). Internally, msim_msg_free_element() is still used, as a callback to g_list_foreach() to free every element in an MsimMessage.
Expose msim_msg_pack_element_data(), which returns the wire protocol representation of the given element. Similar to msim_msg_get_string(), except that msim_msg_pack_element_data() will be escaped, ready to be sent over the wire. msim_msg_get_string() will probably be used in most places instead, as it returns the string suitable for usage elsewhere.
Both these functions will be used by an upcoming change in msim_postprocess_outgoing() in myspace.c.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Tue, 07 Aug 2007 02:50:34 +0000 |
parents | 1414e0e01dc5 |
children | 901cbc91db27 |
comparison
equal
deleted
inserted
replaced
18879:e0cac5db762b | 18880:f41db253c1af |
---|