comparison libpurple/protocols/oscar/oscar.h @ 27427:4f24d5da4cb3

Create a oscar_get_ui_info_string() function that looks up a value in the ui_info hash table, and use this function in clientlogin.c and oscar.c
author Mark Doliner <mark@kingant.net>
date Wed, 08 Jul 2009 19:46:50 +0000
parents 7054f810b0f9
children 5048054d319a
comparison
equal deleted inserted replaced
27426:88ef8c38a639 27427:4f24d5da4cb3
1525 (((*((buf)+0)) << 0) & 0x000000ff) + \ 1525 (((*((buf)+0)) << 0) & 0x000000ff) + \
1526 (((*((buf)+1)) << 8) & 0x0000ff00) + \ 1526 (((*((buf)+1)) << 8) & 0x0000ff00) + \
1527 (((*((buf)+2)) << 16) & 0x00ff0000) + \ 1527 (((*((buf)+2)) << 16) & 0x00ff0000) + \
1528 (((*((buf)+3)) << 24) & 0xff000000)) 1528 (((*((buf)+3)) << 24) & 0xff000000))
1529 1529
1530 const char *oscar_get_ui_info_string(const char *str, const char *default_value);
1531
1530 guint16 aimutil_iconsum(const guint8 *buf, int buflen); 1532 guint16 aimutil_iconsum(const guint8 *buf, int buflen);
1531 int aimutil_tokslen(char *toSearch, int theindex, char dl); 1533 int aimutil_tokslen(char *toSearch, int theindex, char dl);
1532 int aimutil_itemcnt(char *toSearch, char dl); 1534 int aimutil_itemcnt(char *toSearch, char dl);
1533 char *aimutil_itemindex(char *toSearch, int theindex, char dl); 1535 char *aimutil_itemindex(char *toSearch, int theindex, char dl);
1534 1536