Mercurial > pidgin
annotate src/protocols/gg/gg.h @ 13794:ecfd8fb02c19
[gaim-migrate @ 16206]
We don't really need to pop up an error if the sound file doesn't exist
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Tue, 30 May 2006 17:02:27 +0000 |
| parents | c99d04f8a42b |
| children |
| 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 |
| 13640 | 31 |
| 13642 | 32 #define PUBDIR_RESULTS_MAX 20 |
| 33 | |
| 34 | |
| 11414 | 35 typedef struct |
| 36 { | |
| 37 char *name; | |
| 38 GList *participants; | |
| 39 | |
| 40 } GGPChat; | |
| 41 | |
|
12007
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
42 typedef void (*GGPTokenCallback)(GaimConnection *); |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
43 |
| 11414 | 44 typedef struct |
| 45 { | |
|
12007
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
46 char *id; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
47 char *data; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
48 unsigned int size; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
49 |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
50 struct gg_http *req; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
51 guint inpa; |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
52 |
|
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
53 GGPTokenCallback cb; |
| 11414 | 54 |
| 55 } GGPToken; | |
| 56 | |
| 57 typedef struct { | |
| 58 | |
| 59 struct gg_session *session; | |
|
12007
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
60 GGPToken *token; |
| 11414 | 61 GList *chats; |
| 13640 | 62 GGPSearches *searches; |
| 11414 | 63 |
|
12961
4eae108efdde
[gaim-migrate @ 15314]
Richard Laager <rlaager@wiktel.com>
parents:
12007
diff
changeset
|
64 uin_t tmp_buddy; |
| 11414 | 65 int chats_count; |
| 66 | |
| 67 } GGPInfo; | |
| 68 | |
| 69 | |
| 70 #endif /* _GAIM_GG_H */ | |
| 71 | |
|
12007
8724718d387f
[gaim-migrate @ 14300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11414
diff
changeset
|
72 /* vim: set ts=8 sts=0 sw=8 noet: */ |
