File: resolver.h

package info (click to toggle)
pidgin 2.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,920 kB
  • sloc: ansic: 281,868; sh: 4,572; makefile: 3,297; python: 1,253; perl: 529; cs: 209; tcl: 96; xml: 9
file content (28 lines) | stat: -rw-r--r-- 1,063 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 *  (C) Copyright 2008 Wojtek Kaniewski <wojtekka@irc.pl>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License Version
 *  2.1 as published by the Free Software Foundation.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307,
 *  USA.
 */

#ifndef LIBGADU_RESOLVER_H
#define LIBGADU_RESOLVER_H

#include "network.h"

int gg_gethostbyname_real(const char *hostname, struct in_addr **result, unsigned int *count, int pthread);
int gg_resolver_recv(int fd, void *buf, size_t len);
void gg_resolver_cleaner(void *data);

#endif /* LIBGADU_RESOLVER_H */