Mercurial > pidgin
annotate libpurple/protocols/gg/win32-resolver.h @ 32710:a677e7b1497f
Facebook does not support various XMPP extensions that we do.
Disable roster changes, FT, attention, and VV.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 29 Dec 2011 07:33:57 +0000 |
parents | 326591e64aaa |
children |
rev | line source |
---|---|
32301
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
1 /** |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
2 * @file win32-resolver.h |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
3 * |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
4 * purple |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
5 * |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
6 * This program is free software; you can redistribute it and/or modify |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
7 * it under the terms of the GNU General Public License as published by |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
8 * the Free Software Foundation; either version 2 of the License, or |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
9 * (at your option) any later version. |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
10 * |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
11 * This program is distributed in the hope that it will be useful, |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
14 * GNU General Public License for more details. |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
15 * |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
16 * You should have received a copy of the GNU General Public License |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
17 * along with this program; if not, write to the Free Software |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
19 */ |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
20 |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
21 #ifndef _PURPLE_GG_WIN32_RESOLVER |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
22 #define _PURPLE_GG_WIN32_RESOLVER |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
23 |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
24 /** |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
25 * Starts hostname resolving in new win32 thread. |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
26 * |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
27 * @param fd Pointer to variable, where pipe descriptor will be saved. |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
28 * @param private_data Pointer to variable, where pointer to private data will |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
29 * be saved. |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
30 * @param hostname Hostname to resolve. |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
31 */ |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
32 int ggp_resolver_win32thread_start(int *fd, void **private_data, |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
33 const char *hostname); |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
34 |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
35 /** |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
36 * Cleans up resources after hostname resolving. |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
37 * |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
38 * @param private_data Pointer to variable storing pointer to private data. |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
39 * @param force TRUE, if resources should be cleaned up even, if |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
40 * resolving process didn't finished. |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
41 */ |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
42 void ggp_resolver_win32thread_cleanup(void **private_data, int force); |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
43 |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
44 #endif /* _PURPLE_GG_WIN32_RESOLVER */ |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
45 |
326591e64aaa
Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
tomkiewicz@cpw.pidgin.im
parents:
diff
changeset
|
46 /* vim: set ts=8 sts=0 sw=8 noet: */ |