OpenDNSSEC-signer 1.2.1
|
#include "adapter/adapter.h"
#include "adapter/adfile.h"
#include "config.h"
#include "signer/zone.h"
#include "signer/zonedata.h"
#include "util/duration.h"
#include "util/file.h"
#include "util/log.h"
#include "util/se_malloc.h"
#include "util/util.h"
#include <ldns/ldns.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
int | adfile_read (struct zone_struct *zone, const char *filename, int recover) |
int | adfile_write (struct zone_struct *zone, const char *filename) |
int adfile_read | ( | struct zone_struct * | zone, |
const char * | filename, | ||
int | recover | ||
) |
Read input file adapter.
Definition at line 496 of file adfile.c.
References zone_struct::name, se_fclose(), se_fopen(), se_log_assert, se_log_debug(), se_log_error(), zone_struct::zonedata, and zonedata_del_rrs().
Referenced by tools_read_input(), and zone_recover_from_backup().
int adfile_write | ( | struct zone_struct * | zone, |
const char * | filename | ||
) |
Write zone file.
Definition at line 544 of file adfile.c.
References adapter_struct::filename, zone_struct::name, zone_struct::outbound_adapter, se_fclose(), se_fopen(), se_log_assert, se_log_debug(), and zone_print().
Referenced by tools_audit(), and tools_write_output().