diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2019-12-28 05:27:06 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2019-12-28 05:27:06 +0000 |
| commit | e2fe726866d062155f6b1aae749375475ef19191 (patch) | |
| tree | fe6b00611d5c987d2c12c32063891ae19295ffeb /util/data/msgencode.h | |
| parent | 366b94c4a9552acfb560d3234aea0955ebc1eb8e (diff) | |
Vendor import of Unbound 1.9.6.vendor/unbound/1.9.6
Diffstat (limited to 'util/data/msgencode.h')
| -rw-r--r-- | util/data/msgencode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/data/msgencode.h b/util/data/msgencode.h index eea129d98d59..30dc515cbe59 100644 --- a/util/data/msgencode.h +++ b/util/data/msgencode.h @@ -85,12 +85,14 @@ int reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep, * @param region: to store temporary data in. * @param udpsize: size of the answer, 512, from EDNS, or 64k for TCP. * @param dnssec: if 0 DNSSEC records are omitted from the answer. + * @param minimise: if true, the answer is a minimal response, with + * authority and additional removed if possible. * @return: nonzero is success, or * 0 on error: malloc failure (no log_err has been done). */ int reply_info_encode(struct query_info* qinfo, struct reply_info* rep, uint16_t id, uint16_t flags, struct sldns_buffer* buffer, time_t timenow, - struct regional* region, uint16_t udpsize, int dnssec); + struct regional* region, uint16_t udpsize, int dnssec, int minimise); /** * Encode query packet. Assumes the buffer is large enough. |
