| 1 /* |
|
| 2 * (C) Copyright 2008 Wojtek Kaniewski <wojtekka@irc.pl> |
|
| 3 * |
|
| 4 * This program is free software; you can redistribute it and/or modify |
|
| 5 * it under the terms of the GNU Lesser General Public License Version |
|
| 6 * 2.1 as published by the Free Software Foundation. |
|
| 7 * |
|
| 8 * This program is distributed in the hope that it will be useful, |
|
| 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 11 * GNU Lesser General Public License for more details. |
|
| 12 * |
|
| 13 * You should have received a copy of the GNU Lesser General Public |
|
| 14 * License along with this program; if not, write to the Free Software |
|
| 15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, |
|
| 16 * USA. |
|
| 17 */ |
|
| 18 |
|
| 19 #ifndef LIBGADU_RESOLVER_H |
|
| 20 #define LIBGADU_RESOLVER_H |
|
| 21 |
|
| 22 #include "network.h" |
|
| 23 |
|
| 24 int gg_gethostbyname_real(const char *hostname, struct in_addr **result, unsigned int *count, int pthread); |
|
| 25 int gg_resolver_recv(int fd, void *buf, size_t len); |
|
| 26 void gg_resolver_cleaner(void *data); |
|
| 27 |
|
| 28 #endif /* LIBGADU_RESOLVER_H */ |
|