comparison libpurple/protocols/msn/user.h @ 20486:ff4ae9dde291

Make block/unblock work right, as well as being add by a buddy. Finally fixes #723
author Carlos Silva <typ0@pidgin.im>
date Mon, 03 Sep 2007 05:47:52 +0000
parents a1c6206f0205
children 723b5a2f91ce
comparison
equal deleted inserted replaced
20485:87eea1c5be97 20486:ff4ae9dde291
80 MsnObject *msnobj; /**< The user's MSN Object. */ 80 MsnObject *msnobj; /**< The user's MSN Object. */
81 81
82 GHashTable *clientcaps; /**< The client's capabilities. */ 82 GHashTable *clientcaps; /**< The client's capabilities. */
83 83
84 MsnUserType type; /**< The user type */ 84 MsnUserType type; /**< The user type */
85
85 int list_op; /**< Which lists the user is in */ 86 int list_op; /**< Which lists the user is in */
87
88 guint membership_id[5]; /**< The membershipId sent by the contacts server,
89 indexed by the list it belongs to */
86 }; 90 };
87 91
88 /**************************************************************************/ 92 /**************************************************************************/
89 /** @name User API */ 93 /** @name User API */
90 /**************************************************************************/ 94 /**************************************************************************/
325 * check to see if user is Yahoo User 329 * check to see if user is Yahoo User
326 */ 330 */
327 gboolean 331 gboolean
328 msn_user_is_yahoo(PurpleAccount *account ,const char *name); 332 msn_user_is_yahoo(PurpleAccount *account ,const char *name);
329 333
330 void msn_user_set_op(MsnUser *user,int list_op); 334 void msn_user_set_op(MsnUser *user, int list_op);
335 void msn_user_unset_op(MsnUser *user, int list_op);
331 336
332 /*@}*/ 337 /*@}*/
333 338
334 339
335 #endif /* _MSN_USER_H_ */ 340 #endif /* _MSN_USER_H_ */