OpenDNSSEC-signer  1.3.9
Functions
zonelistparser.h File Reference
#include "adapter/adapter.h"
#include "shared/allocator.h"
#include "shared/status.h"
#include <libxml/xpath.h>
#include <libxml/xmlreader.h>
Include dependency graph for zonelistparser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

adapter_typeparse_zonelist_adapter (xmlXPathContextPtr xpathCtx, xmlChar *expr, int inbound)
ods_status parse_zonelist_zones (struct zonelist_struct *zlist, const char *zlfile)

Function Documentation

adapter_type* parse_zonelist_adapter ( xmlXPathContextPtr  xpathCtx,
xmlChar *  expr,
int  inbound 
)

Parse adapter.

Parameters
[in]xpathCtxXPath Context Pointer
[in]exprexpression
[in]inboundtrue if Input Adapter

Parse adapter.

Definition at line 103 of file zonelistparser.c.

References ADAPTER_FILE, and ods_log_error().

Referenced by parse_conf_adapters().

ods_status parse_zonelist_zones ( struct zonelist_struct zlist,
const char *  zlfile 
)

Parse the zonelist file.

Parameters
[in]zlistzone list storage
[in]zlfilezonelist file name
Returns
ods_status status

Parse the zonelist file.

Definition at line 166 of file zonelistparser.c.

References zone_struct::adinbound, zone_struct::adoutbound, zone_struct::name, ods_log_assert, ods_log_crit(), ods_log_debug(), ods_log_error(), ODS_STATUS_ASSERT_ERR, ODS_STATUS_OK, ODS_STATUS_PARSE_ERR, ODS_STATUS_XML_ERR, ods_strcmp(), zone_struct::policy_name, zone_struct::signconf_filename, zone_cleanup(), zone_create(), and zonelist_add_zone().