comparison src/account.h @ 5944:158196b2db19

[gaim-migrate @ 6385] Added #ifdef __cplusplus lines so that things will link right with C++. Also added some doxygen comment blocks that didn't previously exist. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 23 Jun 2003 06:40:13 +0000
parents a4f2aba0848d
children 49ae70ffcea5
comparison
equal deleted inserted replaced
5943:a4f2aba0848d 5944:158196b2db19
61 GSList *permit; /**< Permit list. */ 61 GSList *permit; /**< Permit list. */
62 GSList *deny; /**< Deny list. */ 62 GSList *deny; /**< Deny list. */
63 int perm_deny; /**< The permit/deny setting. */ 63 int perm_deny; /**< The permit/deny setting. */
64 }; 64 };
65 65
66 #ifdef __cplusplus
67 extern "C" {
68 #endif
69
70 /**************************************************************************/
71 /** @name Account API */
72 /**************************************************************************/
73 /*@{*/
74
66 /** 75 /**
67 * Creates a new account. 76 * Creates a new account.
68 * 77 *
69 * @param username The username. 78 * @param username The username.
70 * @param protocol_id The protocol ID. 79 * @param protocol_id The protocol ID.
460 * @return The value. 469 * @return The value.
461 */ 470 */
462 gboolean gaim_account_get_ui_bool(const GaimAccount *account, const char *ui, 471 gboolean gaim_account_get_ui_bool(const GaimAccount *account, const char *ui,
463 const char *name, gboolean default_value); 472 const char *name, gboolean default_value);
464 473
474 /*@}*/
475
476 /**************************************************************************/
477 /** @name Accounts API */
478 /**************************************************************************/
479 /*@{*/
480
465 /** 481 /**
466 * Loads the accounts. 482 * Loads the accounts.
467 */ 483 */
468 gboolean gaim_accounts_load(); 484 gboolean gaim_accounts_load();
469 485
527 * @return The account, if found, or @c FALSE otherwise. 543 * @return The account, if found, or @c FALSE otherwise.
528 */ 544 */
529 GaimAccount *gaim_accounts_find_with_prpl_id(const char *name, 545 GaimAccount *gaim_accounts_find_with_prpl_id(const char *name,
530 const char *protocol_id); 546 const char *protocol_id);
531 547
548 /*@}*/
549
550 #ifdef __cplusplus
551 }
552 #endif
553
532 #endif /* _GAIM_ACCOUNTS_H_ */ 554 #endif /* _GAIM_ACCOUNTS_H_ */