"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/knot/zone/zone.c" between
knot-2.9.1.tar.xz and knot-2.9.2.tar.xz

About: Knot DNS is a high-performance authoritative-only DNS server (supports zone transfers, dynamic updates and DNSSEC).

zone.c  (knot-2.9.1.tar.xz):zone.c  (knot-2.9.2.tar.xz)
skipping to change at line 288 skipping to change at line 288
int zone_flush_journal(conf_t *conf, zone_t *zone, bool verbose) int zone_flush_journal(conf_t *conf, zone_t *zone, bool verbose)
{ {
if (conf == NULL || zone == NULL) { if (conf == NULL || zone == NULL) {
return KNOT_EINVAL; return KNOT_EINVAL;
} }
return flush_journal(conf, zone, false, verbose); return flush_journal(conf, zone, false, verbose);
} }
bool zone_journal_has_zij(zone_t *zone)
{
bool exists = false, zij = false;
(void)journal_info(zone_journal(zone), &exists, NULL, &zij, NULL, NULL, N
ULL, NULL, NULL);
return exists && zij;
}
zone_contents_t *zone_switch_contents(zone_t *zone, zone_contents_t *new_content s) zone_contents_t *zone_switch_contents(zone_t *zone, zone_contents_t *new_content s)
{ {
if (zone == NULL) { if (zone == NULL) {
return NULL; return NULL;
} }
zone_contents_t *old_contents; zone_contents_t *old_contents;
zone_contents_t **current_contents = &zone->contents; zone_contents_t **current_contents = &zone->contents;
old_contents = rcu_xchg_pointer(current_contents, new_contents); old_contents = rcu_xchg_pointer(current_contents, new_contents);
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)