OpenDNSSEC-signer 2.1.12
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)

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 zone_struct::adinbound, and adapter_struct::configstr.

◆ adfile_write()

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

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 zone_struct::adoutbound.