| 682 * @return The flags of the chat user. |
682 * @return The flags of the chat user. |
| 683 */ |
683 */ |
| 684 PurpleChatUserFlags purple_chat_user_get_flags(const PurpleChatUser *cb); |
684 PurpleChatUserFlags purple_chat_user_get_flags(const PurpleChatUser *cb); |
| 685 |
685 |
| 686 /** |
686 /** |
| 687 * Sets if this chat user is on the buddy list. |
687 * Indicates if this chat user is on the buddy list. |
| 688 * |
688 * |
| 689 * @param cb The chat user. |
689 * @param cb The chat user. |
| 690 * @param buddy TRUE if the chat user is on the buddy list. |
|
| 691 */ |
|
| 692 void purple_chat_user_set_buddy(const PurpleChatUser *cb, gboolean buddy); |
|
| 693 |
|
| 694 /** |
|
| 695 * Indicates if this chat user is on the buddy list. |
|
| 696 * |
|
| 697 * @param cb The chat user. |
|
| 698 * |
690 * |
| 699 * @return TRUE if the chat user is on the buddy list. |
691 * @return TRUE if the chat user is on the buddy list. |
| 700 */ |
692 */ |
| 701 gboolean purple_chat_user_is_buddy(const PurpleChatUser *cb); |
693 gboolean purple_chat_user_is_buddy(const PurpleChatUser *cb); |
| 702 |
694 |