Mercurial > pidgin
comparison src/protocols/msn/user.h @ 19785:852b32710df0
[gaim-migrate @ 16507]
add the contact list retrieve and dump contact list to server
currently can do chanllenge successfully
But can't get the buddy list done
by MaYuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
author | Ma Yuan <mayuan2006@gmail.com> |
---|---|
date | Mon, 17 Jul 2006 12:22:37 +0000 |
parents | 92d4a25fd33c |
children | 2e078c892e0b |
comparison
equal
deleted
inserted
replaced
19784:bc30c6270d9f | 19785:852b32710df0 |
---|---|
43 | 43 |
44 char *passport; /**< The passport account. */ | 44 char *passport; /**< The passport account. */ |
45 char *store_name; /**< The name stored in the server. */ | 45 char *store_name; /**< The name stored in the server. */ |
46 char *friendly_name; /**< The friendly name. */ | 46 char *friendly_name; /**< The friendly name. */ |
47 | 47 |
48 char * uid; /*< User Id */ | |
49 | |
48 const char *status; /**< The state of the user. */ | 50 const char *status; /**< The state of the user. */ |
49 gboolean idle; /**< The idle state of the user. */ | 51 gboolean idle; /**< The idle state of the user. */ |
50 | 52 |
51 struct | 53 struct |
52 { | 54 { |
63 | 65 |
64 MsnObject *msnobj; /**< The user's MSN Object. */ | 66 MsnObject *msnobj; /**< The user's MSN Object. */ |
65 | 67 |
66 GHashTable *clientcaps; /**< The client's capabilities. */ | 68 GHashTable *clientcaps; /**< The client's capabilities. */ |
67 | 69 |
70 int type; | |
68 int list_op; | 71 int list_op; |
69 }; | 72 }; |
70 | 73 |
71 /**************************************************************************/ | 74 /**************************************************************************/ |
72 /** @name User API */ | 75 /** @name User API */ |
154 * Adds the group ID for a user. | 157 * Adds the group ID for a user. |
155 * | 158 * |
156 * @param user The user. | 159 * @param user The user. |
157 * @param id The group ID. | 160 * @param id The group ID. |
158 */ | 161 */ |
159 void msn_user_add_group_id(MsnUser *user, int id); | 162 void msn_user_add_group_id(MsnUser *user, const char * id); |
160 | 163 |
161 /** | 164 /** |
162 * Removes the group ID from a user. | 165 * Removes the group ID from a user. |
163 * | 166 * |
164 * @param user The user. | 167 * @param user The user. |
165 * @param id The group ID. | 168 * @param id The group ID. |
166 */ | 169 */ |
167 void msn_user_remove_group_id(MsnUser *user, int id); | 170 void msn_user_remove_group_id(MsnUser *user, const char * id); |
168 | 171 |
169 /** | 172 /** |
170 * Sets the home phone number for a user. | 173 * Sets the home phone number for a user. |
171 * | 174 * |
172 * @param user The user. | 175 * @param user The user. |
180 * @param user The user. | 183 * @param user The user. |
181 * @param number The work phone number. | 184 * @param number The work phone number. |
182 */ | 185 */ |
183 void msn_user_set_work_phone(MsnUser *user, const char *number); | 186 void msn_user_set_work_phone(MsnUser *user, const char *number); |
184 | 187 |
188 void msn_user_set_uid(MsnUser *user, const char *uid); | |
189 void msn_user_set_type(MsnUser *user,int type); | |
190 | |
185 /** | 191 /** |
186 * Sets the mobile phone number for a user. | 192 * Sets the mobile phone number for a user. |
187 * | 193 * |
188 * @param user The user. | 194 * @param user The user. |
189 * @param number The mobile phone number. | 195 * @param number The mobile phone number. |