"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "query.h" between
nsd-4.3.6.tar.gz and nsd-4.3.7.tar.gz

About: NSD is an authoritative only, high performance, simple name server daemon.

query.h  (nsd-4.3.6):query.h  (nsd-4.3.7)
skipping to change at line 185 skipping to change at line 185
/* /*
* Reset a query structure so it is ready for receiving and processing * Reset a query structure so it is ready for receiving and processing
* a new query. * a new query.
*/ */
void query_reset(query_type *query, size_t maxlen, int is_tcp); void query_reset(query_type *query, size_t maxlen, int is_tcp);
/* /*
* Process a query and write the response in the query I/O buffer. * Process a query and write the response in the query I/O buffer.
*/ */
query_state_type query_process(query_type *q, nsd_type *nsd); query_state_type query_process(query_type *q, nsd_type *nsd, uint32_t *now_p);
/* /*
* Prepare the query structure for writing the response. The packet * Prepare the query structure for writing the response. The packet
* data up-to the current packet limit is preserved. This usually * data up-to the current packet limit is preserved. This usually
* includes the packet header and question section. Space is reserved * includes the packet header and question section. Space is reserved
* for the optional EDNS record, if required. * for the optional EDNS record, if required.
*/ */
void query_prepare_response(query_type *q); void query_prepare_response(query_type *q);
/* /*
* Add EDNS0 information to the response if required. * Add EDNS0 information to the response if required.
*/ */
void query_add_optional(query_type *q, nsd_type *nsd); void query_add_optional(query_type *q, nsd_type *nsd, uint32_t *now_p);
/* /*
* Write an error response into the query structure with the indicated * Write an error response into the query structure with the indicated
* RCODE. * RCODE.
*/ */
query_state_type query_error(query_type *q, nsd_rc_type rcode); query_state_type query_error(query_type *q, nsd_rc_type rcode);
static inline int static inline int
query_overflow(query_type *q) query_overflow(query_type *q)
{ {
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)