djbdnscurve6 45
djbdnscurve6
Loading...
Searching...
No Matches
response.h
Go to the documentation of this file.
1#ifndef RESPONSE_H
2#define RESPONSE_H
3
4#include "uint_t.h"
5
6extern char response[];
7extern unsigned int response_len;
8extern unsigned int max_response_len;
9extern unsigned int do_dnssec;
10
11extern int response_query(const char *,const char *,const char *);
12extern void response_nxdomain(void);
13extern void response_servfail(void);
14extern void response_id(const char *);
15extern void response_tc(void);
16
17extern int response_addbytes(const char *,unsigned int);
18extern int response_addname(const char *);
19extern void response_hidettl(void);
20extern int response_rstart(const char *,const char *,uint32);
21extern void response_rfinish(int);
22
23#define RESPONSE_ANSWER 6
24#define RESPONSE_AUTHORITY 8
25#define RESPONSE_ADDITIONAL 10
26
27extern int response_cname(const char *,const char *,uint32);
28
29#endif
int response_addname(const char *)
Definition: response.c:25
void response_hidettl(void)
Definition: response.c:70
void response_rfinish(int)
Definition: response.c:89
void response_id(const char *)
int response_addbytes(const char *, unsigned int)
Definition: response.c:17
int response_cname(const char *, const char *, uint32)
Definition: response.c:95
char response[]
Definition: response.c:6
void response_tc(void)
Definition: response.c:119
unsigned int max_response_len
Definition: response.c:8
unsigned int response_len
Definition: response.c:7
int response_rstart(const char *, const char *, uint32)
int response_query(const char *, const char *, const char *)
void response_nxdomain(void)
Definition: response.c:103
unsigned int do_dnssec
Definition: response.c:9
void response_servfail(void)
Definition: response.c:109