comparison libpurple/protocols/gg/gg.h @ 15374:5fe8042783c1

Rename gtk/ and libgaim/ to pidgin/ and libpurple/
author Sean Egan <seanegan@gmail.com>
date Sat, 20 Jan 2007 02:32:10 +0000
parents
children 32c366eeeb99
comparison
equal deleted inserted replaced
15373:f79e0f4df793 15374:5fe8042783c1
1 /**
2 * @file gg.h
3 *
4 * gaim
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */
22
23
24 #ifndef _GAIM_GG_H
25 #define _GAIM_GG_H
26
27 #include <libgadu.h>
28 #include "search.h"
29 #include "connection.h"
30
31
32 #define PUBDIR_RESULTS_MAX 20
33
34
35 typedef struct
36 {
37 char *name;
38 GList *participants;
39
40 } GGPChat;
41
42 typedef void (*GGPTokenCallback)(GaimConnection *);
43
44 typedef struct
45 {
46 char *id;
47 char *data;
48 unsigned int size;
49
50 struct gg_http *req;
51 guint inpa;
52
53 GGPTokenCallback cb;
54
55 } GGPToken;
56
57 typedef struct {
58
59 struct gg_session *session;
60 GGPToken *token;
61 GList *chats;
62 GGPSearches *searches;
63
64 uin_t tmp_buddy;
65 int chats_count;
66
67 } GGPInfo;
68
69
70 #endif /* _GAIM_GG_H */
71
72 /* vim: set ts=8 sts=0 sw=8 noet: */