Sat, 24 May 2014 02:32:01 +0530
Merged default branch
| 11414 | 1 | /** |
|
34710
6182323fbb0c
Renamed gg's buddylist.[ch] to blist.[ch]
Ankit Vani <a@nevitus.org>
parents:
33299
diff
changeset
|
2 | * @file blist.h |
| 11414 | 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 | ||
|
35038
c29644627f31
Fix inclusion guards to appropriate names
Ankit Vani <a@nevitus.org>
parents:
34710
diff
changeset
|
24 | #ifndef _PURPLE_GG_BLIST_H |
|
c29644627f31
Fix inclusion guards to appropriate names
Ankit Vani <a@nevitus.org>
parents:
34710
diff
changeset
|
25 | #define _PURPLE_GG_BLIST_H |
| 11414 | 26 | |
| 27 | #include "connection.h" | |
| 28 | ||
| 29 | void | |
| 15884 | 30 | ggp_buddylist_send(PurpleConnection *gc); |
| 11414 | 31 | |
| 32 | /** | |
|
27197
b785e826ce29
gadu-gadu: There's no need to set all buddies to offline at logout
Paul Aurich <darkrain42@pidgin.im>
parents:
19859
diff
changeset
|
33 | * Load buddylist from server into the roster. |
| 11414 | 34 | * |
| 15884 | 35 | * @param gc PurpleConnection |
| 11414 | 36 | * @param buddylist Pointer to the buddylist that will be loaded. |
| 37 | */ | |
| 15884 | 38 | /* void ggp_buddylist_load(PurpleConnection *gc, char *buddylist) {{{ */ |
| 11414 | 39 | void |
| 15884 | 40 | ggp_buddylist_load(PurpleConnection *gc, char *buddylist); |
| 11414 | 41 | |
| 42 | /** | |
| 43 | * Get all the buddies in the current account. | |
| 44 | * | |
| 45 | * @param account Current account. | |
|
31293
169eeb43b52c
Remove trailing whitespace
Richard Laager <rlaager@pidgin.im>
parents:
27197
diff
changeset
|
46 | * |
| 11414 | 47 | * @return List of buddies. |
| 48 | */ | |
| 49 | char * | |
| 15884 | 50 | ggp_buddylist_dump(PurpleAccount *account); |
| 11414 | 51 | |
|
33299
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
52 | /** |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
53 | * Returns the best name of a buddy from the buddylist. |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
54 | * |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
55 | * @param gc PurpleConnection instance. |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
56 | * @param uin UIN of the buddy. |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
57 | * |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
58 | * @return Name of the buddy, or UIN converted to string, if there is no such |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
59 | * user on the list. |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
60 | */ |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
61 | const char * ggp_buddylist_get_buddy_name(PurpleConnection *gc, const uin_t uin); |
| 11414 | 62 | |
|
35038
c29644627f31
Fix inclusion guards to appropriate names
Ankit Vani <a@nevitus.org>
parents:
34710
diff
changeset
|
63 | #endif /* _PURPLE_GG_BLIST_H */ |
| 11414 | 64 | |
| 12007 | 65 | |
| 66 | /* vim: set ts=8 sts=0 sw=8 noet: */ |