comparison libpurple/protocols/oscar/oscar.h @ 30406: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 9623db527d1e 674a656893a3
comparison
equal deleted inserted replaced
30405:c1b8e619f1b8 30406:f18b6eb0ed02
1557 (((*((buf)+0)) << 0) & 0x000000ff) + \ 1557 (((*((buf)+0)) << 0) & 0x000000ff) + \
1558 (((*((buf)+1)) << 8) & 0x0000ff00) + \ 1558 (((*((buf)+1)) << 8) & 0x0000ff00) + \
1559 (((*((buf)+2)) << 16) & 0x00ff0000) + \ 1559 (((*((buf)+2)) << 16) & 0x00ff0000) + \
1560 (((*((buf)+3)) << 24) & 0xff000000)) 1560 (((*((buf)+3)) << 24) & 0xff000000))
1561 1561
1562 const char *oscar_get_msgerr_reason(size_t reason);
1562 int oscar_get_ui_info_int(const char *str, int default_value); 1563 int oscar_get_ui_info_int(const char *str, int default_value);
1563 const char *oscar_get_ui_info_string(const char *str, const char *default_value); 1564 const char *oscar_get_ui_info_string(const char *str, const char *default_value);
1564 gchar *oscar_get_clientstring(void); 1565 gchar *oscar_get_clientstring(void);
1565 1566
1566 guint16 aimutil_iconsum(const guint8 *buf, int buflen); 1567 guint16 aimutil_iconsum(const guint8 *buf, int buflen);