Tue, 19 May 2020 10:29:23 +0000
Merged in default (pull request #697)
simple: Fix search for message headers
Approved-by: Gary Kramlich
| 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 | ||
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
35305
diff
changeset
|
23 | #ifndef PURPLE_GG_BLIST_H |
|
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
35305
diff
changeset
|
24 | #define PURPLE_GG_BLIST_H |
| 11414 | 25 | |
|
40358
e6fe6fc1f516
move all protocols, purple plugins, and purple tests to use purple.h instead of including files individually
Gary Kramlich <grim@reaperworld.com>
parents:
40132
diff
changeset
|
26 | #include <purple.h> |
| 11414 | 27 | |
| 28 | void | |
| 15884 | 29 | ggp_buddylist_send(PurpleConnection *gc); |
| 11414 | 30 | |
| 31 | /** | |
|
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
|
32 | * Load buddylist from server into the roster. |
| 11414 | 33 | * |
| 15884 | 34 | * @param gc PurpleConnection |
| 11414 | 35 | * @param buddylist Pointer to the buddylist that will be loaded. |
| 36 | */ | |
| 15884 | 37 | /* void ggp_buddylist_load(PurpleConnection *gc, char *buddylist) {{{ */ |
| 11414 | 38 | void |
| 15884 | 39 | ggp_buddylist_load(PurpleConnection *gc, char *buddylist); |
| 11414 | 40 | |
| 41 | /** | |
| 42 | * Get all the buddies in the current account. | |
| 43 | * | |
| 44 | * @param account Current account. | |
|
31293
169eeb43b52c
Remove trailing whitespace
Richard Laager <rlaager@pidgin.im>
parents:
27197
diff
changeset
|
45 | * |
| 11414 | 46 | * @return List of buddies. |
| 47 | */ | |
| 48 | char * | |
| 15884 | 49 | ggp_buddylist_dump(PurpleAccount *account); |
| 11414 | 50 | |
|
33299
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
51 | /** |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
52 | * 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
|
53 | * |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
54 | * @param gc PurpleConnection instance. |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
55 | * @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
|
56 | * |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
57 | * @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
|
58 | * user on the list. |
|
b3c4ab3aeb7f
Gadu-Gadu: utils refactoring, (partially) fix new account registration
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
31293
diff
changeset
|
59 | */ |
|
40132
d167361831ba
Remove redundant const qualifiers from function parameters
qarkai <qarkai@gmail.com>
parents:
39819
diff
changeset
|
60 | const char * ggp_buddylist_get_buddy_name(PurpleConnection *gc, uin_t uin); |
| 11414 | 61 | |
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
35305
diff
changeset
|
62 | #endif /* PURPLE_GG_BLIST_H */ |
| 12007 | 63 | |
| 64 | /* vim: set ts=8 sts=0 sw=8 noet: */ |