comparison src/blist.h @ 12323:fc464a0abccc

[gaim-migrate @ 14627] Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 04 Dec 2005 18:19:56 +0000
parents 7630a95f3b8b
children e63a80be5227
comparison
equal deleted inserted replaced
12322:c7ae1fd0827d 12323:fc464a0abccc
202 /** 202 /**
203 * Creates a new buddy list 203 * Creates a new buddy list
204 * 204 *
205 * @return The new buddy list. 205 * @return The new buddy list.
206 */ 206 */
207 GaimBuddyList *gaim_blist_new(); 207 GaimBuddyList *gaim_blist_new(void);
208 208
209 /** 209 /**
210 * Sets the main buddy list. 210 * Sets the main buddy list.
211 * 211 *
212 * @param blist The buddy list you want to use. 212 * @param blist The buddy list you want to use.
231 GaimBlistNode *gaim_blist_node_next(GaimBlistNode *node, gboolean offline); 231 GaimBlistNode *gaim_blist_node_next(GaimBlistNode *node, gboolean offline);
232 232
233 /** 233 /**
234 * Shows the buddy list, creating a new one if necessary. 234 * Shows the buddy list, creating a new one if necessary.
235 */ 235 */
236 void gaim_blist_show(); 236 void gaim_blist_show(void);
237 237
238 238
239 /** 239 /**
240 * Destroys the buddy list window. 240 * Destroys the buddy list window.
241 */ 241 */
242 void gaim_blist_destroy(); 242 void gaim_blist_destroy(void);
243 243
244 /** 244 /**
245 * Hides or unhides the buddy list. 245 * Hides or unhides the buddy list.
246 * 246 *
247 * @param show Whether or not to show the buddy list 247 * @param show Whether or not to show the buddy list
441 /** 441 /**
442 * Creates a new contact 442 * Creates a new contact
443 * 443 *
444 * @return A new contact struct 444 * @return A new contact struct
445 */ 445 */
446 GaimContact *gaim_contact_new(); 446 GaimContact *gaim_contact_new(void);
447 447
448 /** 448 /**
449 * Adds a new contact to the buddy list. 449 * Adds a new contact to the buddy list.
450 * 450 *
451 * The new contact will be inserted after insert or prepended to the list if 451 * The new contact will be inserted after insert or prepended to the list if
715 /****************************************************************************************/ 715 /****************************************************************************************/
716 716
717 /** 717 /**
718 * Loads the buddy list from ~/.gaim/blist.xml. 718 * Loads the buddy list from ~/.gaim/blist.xml.
719 */ 719 */
720 void gaim_blist_load(); 720 void gaim_blist_load(void);
721 721
722 /** 722 /**
723 * Schedule a save of the blist.xml file. This is used by the privacy 723 * Schedule a save of the blist.xml file. This is used by the privacy
724 * API whenever the privacy settings are changed. If you make a change 724 * API whenever the privacy settings are changed. If you make a change
725 * to blist.xml using one of the functions in the buddy list API, then 725 * to blist.xml using one of the functions in the buddy list API, then
726 * the buddy list is saved automatically, so you should not need to 726 * the buddy list is saved automatically, so you should not need to
727 * call this. 727 * call this.
728 */ 728 */
729 void gaim_blist_schedule_save(); 729 void gaim_blist_schedule_save(void);
730 730
731 /** 731 /**
732 * Requests from the user information needed to add a buddy to the 732 * Requests from the user information needed to add a buddy to the
733 * buddy list. 733 * buddy list.
734 * 734 *