Import darkstat 3.0.712
[darkstat] / dns.h
1 /* darkstat 3
2 * copyright (c) 2001-2007 Emil Mikulic.
3 *
4 * dns.h: synchronous DNS in a child process.
5 *
6 * You may use, modify and redistribute this file under the terms of the
7 * GNU General Public License version 2. (see COPYING.GPL)
8 */
9
10 #include <netinet/in.h> /* in_addr_t */
11
12 void dns_init(const char *privdrop_user);
13 void dns_stop(void);
14 void dns_queue(const in_addr_t ip);
15 void dns_poll(void);
16
17 /* vim:set ts=3 sw=3 tw=78 expandtab: */