annotate libpurple/protocols/gg/win32-resolver.h @ 32763:326591e64aaa

Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
author tomkiewicz@cpw.pidgin.im
date Mon, 17 Oct 2011 21:25:53 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32763
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: */