Tor
0.4.9.1-alpha-dev
feature
client
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
15
void
dnsserv_configure_listener
(
connection_t
*conn);
16
void
dnsserv_close_listener
(
connection_t
*conn);
17
void
dnsserv_resolved
(
entry_connection_t
*conn,
18
int
answer_type,
19
size_t
answer_len,
20
const
char
*answer,
21
int
ttl);
22
void
dnsserv_reject_request
(
entry_connection_t
*conn);
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
name
const char * name
Definition:
config.c:2462
dnsserv_configure_listener
void dnsserv_configure_listener(connection_t *conn)
Definition:
dnsserv.c:394
dnsserv_reject_request
void dnsserv_reject_request(entry_connection_t *conn)
Definition:
dnsserv.c:292
dnsserv_resolved
void dnsserv_resolved(entry_connection_t *conn, int answer_type, size_t answer_len, const char *answer, int ttl)
Definition:
dnsserv.c:342
dnsserv_launch_request
int dnsserv_launch_request(const char *name, int is_reverse, control_connection_t *control_conn)
Definition:
dnsserv.c:213
dnsserv_close_listener
void dnsserv_close_listener(connection_t *conn)
Definition:
dnsserv.c:410
connection_t
Definition:
connection_st.h:45
control_connection_t
Definition:
control_connection_st.h:19
entry_connection_t
Definition:
entry_connection_st.h:19
Generated by
1.9.4