comparison src/conversation.h @ 11137:096020ae09a9

[gaim-migrate @ 13201] Some more deworming. I mean, dewarning. I also realized that lots of glib uses guchar* instead of guint* for passing around bits of binary data, so I changed some stuff in util.c that I'd already changed. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 21 Jul 2005 05:49:48 +0000
parents 11e465b55fe6
children b8c93c40ee2e
comparison
equal deleted inserted replaced
11136:6270b6ad69a2 11137:096020ae09a9
201 gboolean (*has_focus)(GaimConversation *conv); 201 gboolean (*has_focus)(GaimConversation *conv);
202 202
203 /* Custom Smileys */ 203 /* Custom Smileys */
204 gboolean (*custom_smiley_add)(GaimConversation *conv, const char *smile); 204 gboolean (*custom_smiley_add)(GaimConversation *conv, const char *smile);
205 void (*custom_smiley_write)(GaimConversation *conv, const char *smile, 205 void (*custom_smiley_write)(GaimConversation *conv, const char *smile,
206 const char * data, gint64 size); 206 const guchar *data, gsize size);
207 void (*custom_smiley_close)(GaimConversation *conv, const char *smile); 207 void (*custom_smiley_close)(GaimConversation *conv, const char *smile);
208 208
209 209
210 210
211 /* Events */ 211 /* Events */
1015 * @param data The actual image data. 1015 * @param data The actual image data.
1016 * @param size The length of the data. 1016 * @param size The length of the data.
1017 */ 1017 */
1018 1018
1019 void gaim_conv_custom_smiley_write(GaimConversation *conv, 1019 void gaim_conv_custom_smiley_write(GaimConversation *conv,
1020 const char *smile, const char * data, 1020 const char *smile,
1021 gint64 size); 1021 const guchar *data,
1022 gsize size);
1022 1023
1023 /** 1024 /**
1024 * Close the custom smiley, all data has been written with 1025 * Close the custom smiley, all data has been written with
1025 * gaim_conv_custom_smiley_write, and it is no longer valid 1026 * gaim_conv_custom_smiley_write, and it is no longer valid
1026 * to call that function on that smiley. 1027 * to call that function on that smiley.