diff options
Diffstat (limited to 'usr.sbin/nsd/ixfr.h')
-rw-r--r-- | usr.sbin/nsd/ixfr.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/usr.sbin/nsd/ixfr.h b/usr.sbin/nsd/ixfr.h index 0920dc132f1..eae524dc0df 100644 --- a/usr.sbin/nsd/ixfr.h +++ b/usr.sbin/nsd/ixfr.h @@ -133,8 +133,7 @@ struct ixfr_store { * IXFR with this serial number. The NULL is on error. */ struct ixfr_store* ixfr_store_start(struct zone* zone, - struct ixfr_store* ixfr_store_mem, uint32_t old_serial, - uint32_t new_serial); + struct ixfr_store* ixfr_store_mem); /* * Cancel the ixfr store in progress. The pointer remains valid, no store done. @@ -163,14 +162,13 @@ void ixfr_store_finish_data(struct ixfr_store* ixfr_store); /* * Add the new SOA record to the ixfr store. * ixfr_store: stores ixfr data that is collected. + * ttl: the TTL of the SOA record * packet: DNS packet that contains the SOA. position restored on function * exit. - * ttlpos: position, just before the ttl, rdatalen, rdata of the SOA record. - * we do not need to pass the name, because that is the zone name, or - * the type or class of the record, because we already know. + * rrlen: wire rdata length of the SOA. */ -void ixfr_store_add_newsoa(struct ixfr_store* ixfr_store, - struct buffer* packet, size_t ttlpos); +void ixfr_store_add_newsoa(struct ixfr_store* ixfr_store, uint32_t ttl, + struct buffer* packet, size_t rrlen); /* * Add the old SOA record to the ixfr store. |