Go to the source code of this file.
Classes |
|
class | pending_query |
class containing query information More... |
|
Variables |
|
DnsMessage *(* | handle_query )(pending_query *query) |
query entry-point function |
This file contains structures regarding the Posadis query handling architecture.
Definition in file handlequery.h.
|
query entry-point function This is the query entry-point function. Servers will set this function pointer to their own function that will handle the queries, prior to starting the server mechanism. This function will be called when a query is received. This can be asynchronously: each query gets its own thread in which it operates. All you have to do is create a DnsMessage with the answer to the query, and return it, or return Note that if you don't change this, the default handle_query implementation will be used, which always returns
Definition at line 80 of file handlequery.h. |