Mercurial > pidgin
comparison src/protocols/msn/user.h @ 5363:ebebc833cf77
[gaim-migrate @ 5739]
You can now set your home, work, and mobile phone numbers.
Trust me, I'm going somewhere with all this.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 13 May 2003 08:03:27 +0000 |
parents | d5690ed70085 |
children | fa0217bec87e |
comparison
equal
deleted
inserted
replaced
5362:a206742d470d | 5363:ebebc833cf77 |
---|---|
35 MsnSession *session; /**< The MSN session. */ | 35 MsnSession *session; /**< The MSN session. */ |
36 | 36 |
37 char *passport; /**< The passport account. */ | 37 char *passport; /**< The passport account. */ |
38 char *name; /**< The friendly name. */ | 38 char *name; /**< The friendly name. */ |
39 | 39 |
40 struct | |
41 { | |
42 char *home; /**< Home phone number. */ | |
43 char *work; /**< Work phone number. */ | |
44 char *mobile; /**< Mobile phone number. */ | |
45 | |
46 } phone; | |
47 | |
40 int group_id; /**< The group ID. */ | 48 int group_id; /**< The group ID. */ |
41 | 49 |
42 size_t ref_count; /**< The reference count. */ | 50 size_t ref_count; /**< The reference count. */ |
43 | 51 |
44 GHashTable *clientinfo; /**< The client information. */ | 52 GHashTable *clientinfo; /**< The client information. */ |
114 * @param id The group ID. | 122 * @param id The group ID. |
115 */ | 123 */ |
116 void msn_user_set_group_id(MsnUser *user, int id); | 124 void msn_user_set_group_id(MsnUser *user, int id); |
117 | 125 |
118 /** | 126 /** |
127 * Sets the home phone number for a user. | |
128 * | |
129 * @param user The user. | |
130 * @param number The home phone number. | |
131 */ | |
132 void msn_user_set_home_phone(MsnUser *user, const char *number); | |
133 | |
134 /** | |
135 * Sets the work phone number for a user. | |
136 * | |
137 * @param user The user. | |
138 * @param number The work phone number. | |
139 */ | |
140 void msn_user_set_work_phone(MsnUser *user, const char *number); | |
141 | |
142 /** | |
143 * Sets the mobile phone number for a user. | |
144 * | |
145 * @param user The user. | |
146 * @param number The mobile phone number. | |
147 */ | |
148 void msn_user_set_mobile_phone(MsnUser *user, const char *number); | |
149 | |
150 /** | |
119 * Returns the passport account for a user. | 151 * Returns the passport account for a user. |
120 * | 152 * |
121 * @param user The user. | 153 * @param user The user. |
122 * | 154 * |
123 * @return The passport account. | 155 * @return The passport account. |
139 * @param user The user. | 171 * @param user The user. |
140 * | 172 * |
141 * @return The group ID. | 173 * @return The group ID. |
142 */ | 174 */ |
143 int msn_user_get_group_id(const MsnUser *user); | 175 int msn_user_get_group_id(const MsnUser *user); |
176 | |
177 /** | |
178 * Returns the home phone number for a user. | |
179 * | |
180 * @param user The user. | |
181 * | |
182 * @return The user's home phone number. | |
183 */ | |
184 const char *msn_user_get_home_phone(const MsnUser *user); | |
185 | |
186 /** | |
187 * Returns the work phone number for a user. | |
188 * | |
189 * @param user The user. | |
190 * | |
191 * @return The user's work phone number. | |
192 */ | |
193 const char *msn_user_get_work_phone(const MsnUser *user); | |
194 | |
195 /** | |
196 * Returns the mobile phone number for a user. | |
197 * | |
198 * @param user The user. | |
199 * | |
200 * @return The user's mobile phone number. | |
201 */ | |
202 const char *msn_user_get_mobile_phone(const MsnUser *user); | |
144 | 203 |
145 /** | 204 /** |
146 * Sets the client information for a user. | 205 * Sets the client information for a user. |
147 * | 206 * |
148 * @param user The user. | 207 * @param user The user. |