Experimental: rr types as pointer to struct, not enum.
[adns] / src / reply.c
CommitLineData
4353a5c4 1/**/
2
3#include "internal.h"
4
5void adns__procdgram(adns_state ads, const byte *dgram, int len, int serv) {
6 /* FIXME do something with incoming datagrams */
7 adns__diag(ads,serv,"received datagram size %d",len);
1c94793e 8
9
4353a5c4 10}
1c94793e 11
12struct adns__rrtype adns_r_a [1]= {{ 1, rcf_a }};
13struct adns__rrtype adns_r_ns [1]= {{ 2, rcf_ns }};
14struct adns__rrtype adns_r_ns_raw [1]= {{ 2, rcf_domain }};
15struct adns__rrtype adns_r_ns [1]= {{ 5, rcf_cname }};
16struct adns__rrtype adns_r_soa [1]= {{ 5, rcf_soa }};
17struct adns__rrtype adns_r_soa_raw [1]= {{ 6, rcf_soa_raw }};
18struct adns__rrtype adns_r_null [1]= {{ 10, rcf_null }};
19struct adns__rrtype adns_r_ptr [1]= {{ 12, rcf_ptr }};
20struct adns__rrtype adns_r_ptr_raw [1]= {{ 12, rcf_ptr_raw }};
21struct adns__rrtype adns_r_hinfo [1]= {{ 13, rcf_hinfo }};
22struct adns__rrtype adns_r_mx [1]= {{ 15, rcf_mx }};
23struct adns__rrtype adns_r_mx_raw [1]= {{ 15, rcf_mx_raw }};
24struct adns__rrtype adns_r_txt [1]= {{ 16, rcf_txt }};
25struct adns__rrtype adns_r_rp [1]= {{ 17, rcf_rp_raw }};
26struct adns__rrtype adns_r_rp_raw [1]= {{ 17, rcf_rp_raw }};