Mercurial > pidgin
annotate src/protocols/gg/gg.h @ 13561:104fbbfc91fb
[gaim-migrate @ 15940]
beta3 for the RPM spec file too
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Sat, 25 Mar 2006 15:17:15 +0000 |
| parents | 41747a38a1a8 |
| children | d12bbe6da705 |
| rev | line source |
|---|---|
| 11414 | 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 | |
|
13317
41747a38a1a8
[gaim-migrate @ 15686]
Richard Laager <rlaager@wiktel.com>
parents:
12961
diff
changeset
|
27 #include <libgadu.h> |
| 11414 | 28 #include "search.h" |
|
12007
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
29 #include "connection.h" |
| 11414 | 30 |
| 31 typedef struct | |
| 32 { | |
| 33 char *name; | |
| 34 GList *participants; | |
| 35 | |
| 36 } GGPChat; | |
| 37 | |
|
12007
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
38 typedef void (*GGPTokenCallback)(GaimConnection *); |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
39 |
| 11414 | 40 typedef struct |
| 41 { | |
|
12007
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
42 char *id; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
43 char *data; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
44 unsigned int size; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
45 |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
46 struct gg_http *req; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
47 guint inpa; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
48 |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
49 GGPTokenCallback cb; |
| 11414 | 50 |
| 51 } GGPToken; | |
| 52 | |
| 53 typedef struct { | |
| 54 | |
| 55 struct gg_session *session; | |
| 56 GGPSearchForm *search_form; | |
|
12007
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
57 GGPToken *token; |
| 11414 | 58 GList *chats; |
| 59 void *searchresults_window; | |
| 60 | |
|
12961
4eae108efdde
[gaim-migrate @ 15314]
Richard Laager <rlaager@wiktel.com>
parents:
12007
diff
changeset
|
61 uin_t tmp_buddy; |
| 11414 | 62 int chats_count; |
| 63 | |
| 64 } GGPInfo; | |
| 65 | |
| 66 | |
| 67 #endif /* _GAIM_GG_H */ | |
| 68 | |
|
12007
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
69 /* vim: set ts=8 sts=0 sw=8 noet: */ |
