# This file was automatically generated by bifcl from dns-rw.bif.

global rewrite_dns_message: function(c: connection, is_orig: bool, msg: dns_msg, len: count)
	;
global rewrite_dns_request: function(c: connection, query: string, msg: dns_msg, qtype: count, qclass: count)
	;
global rewrite_dns_reply_question: function(c: connection, msg: dns_msg, qname: string, qtype: count, qclass: count)
	;
global rewrite_dns_NS_reply: function(c: connection, msg: dns_msg, dns_ans: dns_answer, name: string)
	;
global rewrite_dns_A_reply: function(c: connection, msg: dns_msg, ans: dns_answer, a: addr)
	;
global rewrite_dns_AAAA_reply: function(c: connection, msg: dns_msg, ans: dns_answer, a: addr, astr: string)
	;
global rewrite_dns_CNAME_reply: function(c: connection, msg: dns_msg, ans: dns_answer, name: string)
	;
global rewrite_dns_TXT_reply: function(c: connection, msg: dns_msg, ans: dns_answer, content: string)
	;
global rewrite_dns_PTR_reply: function(c: connection, msg: dns_msg, ans: dns_answer, name: string)
	;
global rewrite_dns_MX_reply: function(c: connection, msg: dns_msg, ans: dns_answer, name: string, preference: count)
	;
global rewrite_dns_SOA_reply: function(c: connection, msg: dns_msg, ans: dns_answer, soa: dns_soa)
	;
global rewrite_dns_EDNS_addl: function(c: connection, msg: dns_msg, ans: dns_edns_additional)
	;
global rewrite_dns_end: function(c: connection, commit: bool)
	;
