Tue, 18 Sep 2007 16:39:48 +0000
Modify gadu-gadu to use purple_connection_error_reason. I'm not sure about
some of these.
| 11414 | 1 | /** |
| 2 | * @file buddylist.h | |
| 3 | * | |
| 15884 | 4 | * purple |
| 11414 | 5 | * |
| 6 | * Copyright (C) 2005 Bartosz Oler <bartosz@bzimage.us> | |
| 7 | * | |
| 8 | * This program is free software; you can redistribute it and/or modify | |
| 9 | * it under the terms of the GNU General Public License as published by | |
| 10 | * the Free Software Foundation; either version 2 of the License, or | |
| 11 | * (at your option) any later version. | |
| 12 | * | |
| 13 | * This program is distributed in the hope that it will be useful, | |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | * GNU General Public License for more details. | |
| 17 | * | |
| 18 | * You should have received a copy of the GNU General Public License | |
| 19 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
15884
diff
changeset
|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 11414 | 21 | */ |
| 22 | ||
| 23 | ||
| 15884 | 24 | #ifndef _PURPLE_GG_BUDDYLIST_H |
| 25 | #define _PURPLE_GG_BUDDYLIST_H | |
| 11414 | 26 | |
| 27 | #include "connection.h" | |
| 28 | #include "account.h" | |
| 29 | ||
| 30 | void | |
| 15884 | 31 | ggp_buddylist_send(PurpleConnection *gc); |
| 11414 | 32 | |
| 33 | /** | |
| 34 | * Load buddylist from server into the rooster. | |
| 35 | * | |
| 15884 | 36 | * @param gc PurpleConnection |
| 11414 | 37 | * @param buddylist Pointer to the buddylist that will be loaded. |
| 38 | */ | |
| 15884 | 39 | /* void ggp_buddylist_load(PurpleConnection *gc, char *buddylist) {{{ */ |
| 11414 | 40 | void |
| 15884 | 41 | ggp_buddylist_load(PurpleConnection *gc, char *buddylist); |
| 11414 | 42 | |
| 43 | /** | |
| 44 | * Set offline status for all buddies. | |
| 45 | * | |
| 46 | * @param gc Connection handler | |
| 47 | */ | |
| 48 | void | |
| 15884 | 49 | ggp_buddylist_offline(PurpleConnection *gc); |
| 11414 | 50 | |
| 51 | /** | |
| 52 | * Get all the buddies in the current account. | |
| 53 | * | |
| 54 | * @param account Current account. | |
| 55 | * | |
| 56 | * @return List of buddies. | |
| 57 | */ | |
| 58 | char * | |
| 15884 | 59 | ggp_buddylist_dump(PurpleAccount *account); |
| 11414 | 60 | |
| 61 | ||
| 15884 | 62 | #endif /* _PURPLE_GG_BUDDYLIST_H */ |
| 11414 | 63 | |
| 12007 | 64 | |
| 65 | /* vim: set ts=8 sts=0 sw=8 noet: */ |