comparison libpurple/protocols/oscar/oscar.h @ 27428:5048054d319a

Use the ui_info hash table instead of prefs when passing the clientstring and distid from the UIs to the oscar prpl. I realized that using a pref wasn't great because it's persistent, and if you switch from a UI that sets one of those strings to a UI that doesn't hen we'll keep using the old value.
author Mark Doliner <mark@kingant.net>
date Wed, 08 Jul 2009 20:11:07 +0000
parents 4f24d5da4cb3
children 74e487f82f39
comparison
equal deleted inserted replaced
27427:4f24d5da4cb3 27428:5048054d319a
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 int oscar_get_ui_info_int(const char *str, int default_value);
1530 const char *oscar_get_ui_info_string(const char *str, const char *default_value); 1531 const char *oscar_get_ui_info_string(const char *str, const char *default_value);
1531 1532
1532 guint16 aimutil_iconsum(const guint8 *buf, int buflen); 1533 guint16 aimutil_iconsum(const guint8 *buf, int buflen);
1533 int aimutil_tokslen(char *toSearch, int theindex, char dl); 1534 int aimutil_tokslen(char *toSearch, int theindex, char dl);
1534 int aimutil_itemcnt(char *toSearch, char dl); 1535 int aimutil_itemcnt(char *toSearch, char dl);