dns_clientresevent Struct Reference

A dns_clientresevent_t is sent when name resolution performed by a client completes. 'result' stores the result code of the entire resolution procedure. 'vresult' specifically stores the result code of DNSSEC validation if it is performed. When name resolution successfully completes, 'answerlist' is typically non empty, containing answer names along with RRsets. It is the receiver's responsibility to free this list by calling dns_client_freeresanswer() before freeing the event structure. More...

#include <client.h>


Public Member Functions

 ISC_EVENT_COMMON (struct dns_clientresevent)

Data Fields

isc_result_t result
isc_result_t vresult
dns_namelist_t answerlist


Detailed Description

A dns_clientresevent_t is sent when name resolution performed by a client completes. 'result' stores the result code of the entire resolution procedure. 'vresult' specifically stores the result code of DNSSEC validation if it is performed. When name resolution successfully completes, 'answerlist' is typically non empty, containing answer names along with RRsets. It is the receiver's responsibility to free this list by calling dns_client_freeresanswer() before freeing the event structure.

Definition at line 116 of file client.h.


Member Function Documentation

dns_clientresevent::ISC_EVENT_COMMON ( struct  dns_clientresevent  ) 


Field Documentation

isc_result_t dns_clientresevent::result

Definition at line 118 of file client.h.

Referenced by client_resfind(), resolve_done(), resolveaddr_done(), and resolvesoa_done().

isc_result_t dns_clientresevent::vresult

Definition at line 119 of file client.h.

Referenced by client_resfind(), and resolve_done().

dns_namelist_t dns_clientresevent::answerlist

Definition at line 120 of file client.h.

Referenced by client_resfind(), resolve_done(), resolveaddr_done(), and resolvesoa_done().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:20 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha