diff libpurple/protocols/oscar/oscar.h @ 29986:f18b6eb0ed02

Cleanup, basically. Move the icbm snac error handling from oscar.c to family_icbm.c so we don't have to bother we va_args. This is simpler, and gives us the benefit of type checking by the compiler, which will help avoid the crash bug we encountered.
author Mark Doliner <mark@kingant.net>
date Thu, 20 May 2010 02:44:00 +0000
parents 954e6092f503
children 674a656893a3
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.h	Thu May 20 01:39:52 2010 +0000
+++ b/libpurple/protocols/oscar/oscar.h	Thu May 20 02:44:00 2010 +0000
@@ -1559,6 +1559,7 @@
 		(((*((buf)+2)) << 16) & 0x00ff0000) + \
 		(((*((buf)+3)) << 24) & 0xff000000))
 
+const char *oscar_get_msgerr_reason(size_t reason);
 int oscar_get_ui_info_int(const char *str, int default_value);
 const char *oscar_get_ui_info_string(const char *str, const char *default_value);
 gchar *oscar_get_clientstring(void);