Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
32762:9c9143e32b6c | 32763:326591e64aaa |
---|---|
1 /** | |
2 * @file win32-resolver.h | |
3 * | |
4 * purple | |
5 * | |
6 * This program is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * This program is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | |
19 */ | |
20 | |
21 #ifndef _PURPLE_GG_WIN32_RESOLVER | |
22 #define _PURPLE_GG_WIN32_RESOLVER | |
23 | |
24 /** | |
25 * Starts hostname resolving in new win32 thread. | |
26 * | |
27 * @param fd Pointer to variable, where pipe descriptor will be saved. | |
28 * @param private_data Pointer to variable, where pointer to private data will | |
29 * be saved. | |
30 * @param hostname Hostname to resolve. | |
31 */ | |
32 int ggp_resolver_win32thread_start(int *fd, void **private_data, | |
33 const char *hostname); | |
34 | |
35 /** | |
36 * Cleans up resources after hostname resolving. | |
37 * | |
38 * @param private_data Pointer to variable storing pointer to private data. | |
39 * @param force TRUE, if resources should be cleaned up even, if | |
40 * resolving process didn't finished. | |
41 */ | |
42 void ggp_resolver_win32thread_cleanup(void **private_data, int force); | |
43 | |
44 #endif /* _PURPLE_GG_WIN32_RESOLVER */ | |
45 | |
46 /* vim: set ts=8 sts=0 sw=8 noet: */ |