Mercurial > pidgin
comparison src/protocols/novell/nmcontact.h @ 8684:046dd8ef2920
[gaim-migrate @ 9437]
Excess whitespace bad, especially *that* much.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 17 Apr 2004 18:29:20 +0000 |
parents | 9ee2542d1104 |
children | 6663ad2386d9 |
comparison
equal
deleted
inserted
replaced
8683:76935eb1bd40 | 8684:046dd8ef2920 |
---|---|
7 * USED, PRACTICED, PERFORMED, COPIED, DISTRIBUTED, REVISED, MODIFIED, | 7 * USED, PRACTICED, PERFORMED, COPIED, DISTRIBUTED, REVISED, MODIFIED, |
8 * TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, | 8 * TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, |
9 * RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, | 9 * RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, |
10 * INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT | 10 * INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT |
11 * THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. | 11 * THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. |
12 * | 12 * |
13 * AS BETWEEN [GAIM] AND NOVELL, NOVELL GRANTS [GAIM] THE RIGHT TO REPUBLISH | 13 * AS BETWEEN [GAIM] AND NOVELL, NOVELL GRANTS [GAIM] THE RIGHT TO REPUBLISH |
14 * THIS WORK UNDER THE GPL (GNU GENERAL PUBLIC LICENSE) WITH ALL RIGHTS AND | 14 * THIS WORK UNDER THE GPL (GNU GENERAL PUBLIC LICENSE) WITH ALL RIGHTS AND |
15 * LICENSES THEREUNDER. IF YOU HAVE RECEIVED THIS WORK DIRECTLY OR INDIRECTLY | 15 * LICENSES THEREUNDER. IF YOU HAVE RECEIVED THIS WORK DIRECTLY OR INDIRECTLY |
16 * FROM [GAIM] AS PART OF SUCH A REPUBLICATION, YOU HAVE ALL RIGHTS AND LICENSES | 16 * FROM [GAIM] AS PART OF SUCH A REPUBLICATION, YOU HAVE ALL RIGHTS AND LICENSES |
17 * GRANTED BY [GAIM] UNDER THE GPL. IN CONNECTION WITH SUCH A REPUBLICATION, IF | 17 * GRANTED BY [GAIM] UNDER THE GPL. IN CONNECTION WITH SUCH A REPUBLICATION, IF |
44 | 44 |
45 /** | 45 /** |
46 * Creates a contact from a field array representing the | 46 * Creates a contact from a field array representing the |
47 * contact | 47 * contact |
48 * | 48 * |
49 * Should be released by calling nm_release_contact | 49 * Should be released by calling nm_release_contact |
50 * | 50 * |
51 * @param fields Should be the NM_A_FA_CONTACT for | 51 * @param fields Should be the NM_A_FA_CONTACT for |
52 * the contact | 52 * the contact |
53 * | 53 * |
54 * @return The new contact | 54 * @return The new contact |
58 | 58 |
59 /** | 59 /** |
60 * Add a reference to an existing contact | 60 * Add a reference to an existing contact |
61 * | 61 * |
62 * The reference should be released by calling | 62 * The reference should be released by calling |
63 * nm_release_contact | 63 * nm_release_contact |
64 * | 64 * |
65 * @param contact The contact | 65 * @param contact The contact |
66 * | 66 * |
67 */ | 67 */ |
68 void nm_contact_add_ref(NMContact * contact); | 68 void nm_contact_add_ref(NMContact * contact); |
103 */ | 103 */ |
104 const char *nm_contact_get_dn(NMContact * contact); | 104 const char *nm_contact_get_dn(NMContact * contact); |
105 | 105 |
106 /** | 106 /** |
107 * Set the display name for a contact. This is called | 107 * Set the display name for a contact. This is called |
108 * by nm_send_rename_contact. It should not be called | 108 * by nm_send_rename_contact. It should not be called |
109 * directly (it does not change the display name on the | 109 * directly (it does not change the display name on the |
110 * server side list -- nm_send_rename_conact does). | 110 * server side list -- nm_send_rename_conact does). |
111 * | 111 * |
112 * @param contact The contact | 112 * @param contact The contact |
113 * @param display_name The new display name | 113 * @param display_name The new display name |
208 * | 208 * |
209 */ | 209 */ |
210 void nm_contact_set_data(NMContact * contact, gpointer data); | 210 void nm_contact_set_data(NMContact * contact, gpointer data); |
211 | 211 |
212 /** | 212 /** |
213 * Create a folder with the given name | 213 * Create a folder with the given name |
214 * | 214 * |
215 * @param name The name of the folder | 215 * @param name The name of the folder |
216 * | 216 * |
217 * @return The new folder | 217 * @return The new folder |
218 * | 218 * |
290 const char *nm_folder_get_name(NMFolder * folder); | 290 const char *nm_folder_get_name(NMFolder * folder); |
291 | 291 |
292 /** | 292 /** |
293 * Set the name of a folder. Do not call this directly. | 293 * Set the name of a folder. Do not call this directly. |
294 * It does not change the name of the folder in the | 294 * It does not change the name of the folder in the |
295 * server side contact list. You must call | 295 * server side contact list. You must call |
296 * nm_send_set_folder_name(). | 296 * nm_send_set_folder_name(). |
297 * | 297 * |
298 * @param folder The folder | 298 * @param folder The folder |
299 * @param name The new name for the folder | 299 * @param name The new name for the folder |
300 * | 300 * |
315 * Add contacts and folders from fields into root | 315 * Add contacts and folders from fields into root |
316 * | 316 * |
317 * @param user The logged in user | 317 * @param user The logged in user |
318 * @param root The root folder | 318 * @param root The root folder |
319 * @param fields The contact list field array | 319 * @param fields The contact list field array |
320 * | 320 * |
321 */ | 321 */ |
322 void nm_folder_add_contacts_and_folders(NMUser * user, NMFolder * root, | 322 void nm_folder_add_contacts_and_folders(NMUser * user, NMFolder * root, |
323 NMField * fields); | 323 NMField * fields); |
324 /** | 324 /** |
325 * Add a contact to the contact list. | 325 * Add a contact to the contact list. |