OpenDNSSEC-signer 2.1.13
Functions
adfile.h File Reference
#include "config.h"
#include "status.h"
#include <stdio.h>

Go to the source code of this file.

Functions

ods_status adfile_read (void *zone)
 
ods_status adfile_write (void *zone, const char *filename)
 

Function Documentation

◆ adfile_read()

ods_status adfile_read ( void *  zone)
extern

File Adapters. File adapter. NULL Read zone from input file adapter.

Parameters
[in]zonezone reference
Returns
ods_status status

Read zone from zonefile.

Definition at line 298 of file adfile.c.

References adapi_trans_full(), zone_struct::adinbound, and adapter_struct::configstr.

Referenced by adapter_read().

◆ adfile_write()

ods_status adfile_write ( void *  zone,
const char *  filename 
)
extern

Write zone to output file adapter.

Parameters
[in]zonezone reference
[in]filenamewrite to this specific file
Returns
ods_status status

Write zonefile.

Definition at line 326 of file adfile.c.

References adapi_printzone(), zone_struct::adoutbound, adapter_struct::error, and zone_struct::name.

Referenced by adapter_write().