File: dns.h

package info (click to toggle)
darkstat 3.0.708-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 708 kB
  • ctags: 592
  • sloc: ansic: 5,326; sh: 322; makefile: 131
file content (17 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* darkstat 3
 * copyright (c) 2001-2007 Emil Mikulic.
 *
 * dns.h: synchronous DNS in a child process.
 *
 * You may use, modify and redistribute this file under the terms of the
 * GNU General Public License version 2. (see COPYING.GPL)
 */

#include <netinet/in.h> /* in_addr_t */

void dns_init(const char *privdrop_user);
void dns_stop(void);
void dns_queue(const in_addr_t ip);
void dns_poll(void);

/* vim:set ts=3 sw=3 tw=78 expandtab: */