OpenDNSSEC-signer 1.2.1
|
#include "config.h"
#include <stdio.h>
Go to the source code of this file.
Defines | |
#define | SE_ADFILE_MAXLINE 65535 |
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 zone file.
[in] | zone | zone structure |
[in] | filename | read from this specific file |
[in] | recover | true if we are recovering from backup |
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.
[in] | zone | zone structure |
[in] | filename | write to this specific file |
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().