mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-10 20:07:43 +02:00
- Add comment documentation.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
- For #391: use struct timeval* start_time for callback information.
|
||||
- For #391: fix indentation.
|
||||
- For #391: more double casts in python start time calculation.
|
||||
- Add comment documentation.
|
||||
|
||||
6 January 2021: Wouter
|
||||
- Fix #379: zone loading over HTTP appears to have buffer issues.
|
||||
|
||||
@@ -1112,6 +1112,8 @@ int mesh_state_attachment(struct mesh_state* super, struct mesh_state* sub)
|
||||
* @param rcode: if not 0, error code.
|
||||
* @param rep: reply to send (or NULL if rcode is set).
|
||||
* @param r: callback entry
|
||||
* @param start_time: the time to pass to callback functions, it is 0 or
|
||||
* a value from one of the packets if the mesh state had packets.
|
||||
*/
|
||||
static void
|
||||
mesh_do_callback(struct mesh_state* m, int rcode, struct reply_info* rep,
|
||||
|
||||
@@ -554,6 +554,8 @@ struct edns_option* edns_opt_list_find(struct edns_option* list, uint16_t code);
|
||||
* @param edns: edns data of the reply.
|
||||
* @param repinfo: comm_reply. Reply information for a communication point.
|
||||
* @param region: region to store data.
|
||||
* @param start_time: the start time of recursion, when the packet arrived,
|
||||
* or the current time for cache responses.
|
||||
* @return false on failure (a callback function returned an error).
|
||||
*/
|
||||
int inplace_cb_reply_call(struct module_env* env, struct query_info* qinfo,
|
||||
@@ -572,6 +574,8 @@ int inplace_cb_reply_call(struct module_env* env, struct query_info* qinfo,
|
||||
* @param edns: edns data of the reply. Edns input can be found here.
|
||||
* @param repinfo: comm_reply. Reply information for a communication point.
|
||||
* @param region: region to store data.
|
||||
* @param start_time: the start time of recursion, when the packet arrived,
|
||||
* or the current time for cache responses.
|
||||
* @return false on failure (a callback function returned an error).
|
||||
*/
|
||||
int inplace_cb_reply_cache_call(struct module_env* env,
|
||||
@@ -591,6 +595,8 @@ int inplace_cb_reply_cache_call(struct module_env* env,
|
||||
* @param edns: edns data of the reply. Edns input can be found here.
|
||||
* @param repinfo: comm_reply. Reply information for a communication point.
|
||||
* @param region: region to store data.
|
||||
* @param start_time: the start time of recursion, when the packet arrived,
|
||||
* or the current time for cache responses.
|
||||
* @return false on failure (a callback function returned an error).
|
||||
*/
|
||||
int inplace_cb_reply_local_call(struct module_env* env,
|
||||
@@ -611,6 +617,8 @@ int inplace_cb_reply_local_call(struct module_env* env,
|
||||
* is NULL.
|
||||
* @param repinfo: comm_reply. Reply information for a communication point.
|
||||
* @param region: region to store data.
|
||||
* @param start_time: the start time of recursion, when the packet arrived,
|
||||
* or the current time for cache responses.
|
||||
* @return false on failure (a callback function returned an error).
|
||||
*/
|
||||
int inplace_cb_reply_servfail_call(struct module_env* env,
|
||||
|
||||
Reference in New Issue
Block a user