libpurple/protocols/gg/buddylist.h

branch
release-2.x.y
changeset 43264
50facee54d1d
parent 43263
b9cf92c8b16b
equal deleted inserted replaced
43263:b9cf92c8b16b 43264:50facee54d1d
1 /**
2 * @file buddylist.h
3 *
4 * purple
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
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
21 */
22
23
24 #ifndef _PURPLE_GG_BUDDYLIST_H
25 #define _PURPLE_GG_BUDDYLIST_H
26
27 #include "connection.h"
28 #include "account.h"
29
30 void
31 ggp_buddylist_send(PurpleConnection *gc);
32
33 /**
34 * Load buddylist from server into the roster.
35 *
36 * @param gc PurpleConnection
37 * @param buddylist Pointer to the buddylist that will be loaded.
38 */
39 /* void ggp_buddylist_load(PurpleConnection *gc, char *buddylist) {{{ */
40 void
41 ggp_buddylist_load(PurpleConnection *gc, char *buddylist);
42
43 /**
44 * Get all the buddies in the current account.
45 *
46 * @param account Current account.
47 *
48 * @return List of buddies.
49 */
50 char *
51 ggp_buddylist_dump(PurpleAccount *account);
52
53
54 #endif /* _PURPLE_GG_BUDDYLIST_H */
55
56
57 /* vim: set ts=8 sts=0 sw=8 noet: */

mercurial