diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2014-05-14 18:43:20 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2014-05-14 18:43:20 +0000 |
| commit | f61d78fb42d2662643e7f0dbdcb97adbc2589dbc (patch) | |
| tree | 9b915379eafaa12682f45d6cb1f41e94fcb12a36 /iterator/iter_fwd.h | |
| parent | 697291b66c481c617cf9875497e2189bc4a4b096 (diff) | |
Notes
Diffstat (limited to 'iterator/iter_fwd.h')
| -rw-r--r-- | iterator/iter_fwd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/iterator/iter_fwd.h b/iterator/iter_fwd.h index dbb84f226126..62408ad52e2b 100644 --- a/iterator/iter_fwd.h +++ b/iterator/iter_fwd.h @@ -105,6 +105,16 @@ void forwards_delete(struct iter_forwards* fwd); int forwards_apply_cfg(struct iter_forwards* fwd, struct config_file* cfg); /** + * Find forward zone exactly by name + * @param fwd: forward storage. + * @param qname: The qname of the query. + * @param qclass: The qclass of the query. + * @return: A delegation point or null. + */ +struct delegpt* forwards_find(struct iter_forwards* fwd, uint8_t* qname, + uint16_t qclass); + +/** * Find forward zone information * For this qname/qclass find forward zone information, returns delegation * point with server names and addresses, or NULL if no forwarding is needed. |
