Tor  0.4.7.0-alpha-dev
dnsserv.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * \file dnsserv.h
9  * \brief Header file for dnsserv.c.
10  **/
11 
12 #ifndef TOR_DNSSERV_H
13 #define TOR_DNSSERV_H
14 
18  int answer_type,
19  size_t answer_len,
20  const char *answer,
21  int ttl);
23 int dnsserv_launch_request(const char *name, int is_reverse,
24  control_connection_t *control_conn);
25 
26 #endif /* !defined(TOR_DNSSERV_H) */
27 
const char * name
Definition: config.c:2434
void dnsserv_configure_listener(connection_t *conn)
Definition: dnsserv.c:391
void dnsserv_reject_request(entry_connection_t *conn)
Definition: dnsserv.c:289
void dnsserv_resolved(entry_connection_t *conn, int answer_type, size_t answer_len, const char *answer, int ttl)
Definition: dnsserv.c:339
int dnsserv_launch_request(const char *name, int is_reverse, control_connection_t *control_conn)
Definition: dnsserv.c:210
void dnsserv_close_listener(connection_t *conn)
Definition: dnsserv.c:407