Tor 0.4.9.1-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);
23int 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:2462
void dnsserv_configure_listener(connection_t *conn)
Definition: dnsserv.c:394
void dnsserv_reject_request(entry_connection_t *conn)
Definition: dnsserv.c:292
void dnsserv_resolved(entry_connection_t *conn, int answer_type, size_t answer_len, const char *answer, int ttl)
Definition: dnsserv.c:342
int dnsserv_launch_request(const char *name, int is_reverse, control_connection_t *control_conn)
Definition: dnsserv.c:213
void dnsserv_close_listener(connection_t *conn)
Definition: dnsserv.c:410