OpenDNSSEC-enforcer
2.1.12
|
#include "log.h"
#include "str.h"
#include "clientpipe.h"
#include "duration.h"
#include "db/key_data.h"
#include "db/hsm_key.h"
#include "utils/kc_helper.h"
#include "signconf/signconf_xml.h"
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <limits.h>
#include <unistd.h>
Go to the source code of this file.
Functions | |
int | signconf_export_zone (char const *zonename, db_connection_t *dbconn) |
int | signconf_export_all (int sockfd, const db_connection_t *connection, int force) |
int signconf_export_all | ( | int | sockfd, |
const db_connection_t * | connection, | ||
int | force | ||
) |
Export the signconf XML for all zones.
[in] | sockfd | a socket fd. |
[in] | connection | a db_connection_t pointer. |
[in] | force | if non-zero it will force the export for all zones even if there are no updates for the zones. |
Definition at line 84 of file signconf_xml.c.
int signconf_export_zone | ( | char const * | zonename, |
db_connection_t * | dbconn | ||
) |
Export the signconf XML for zone.
[in] | zonename | Name of zone to write signconf for. |
[in] | dbconn | a db_connection_t pointer. |
Definition at line 57 of file signconf_xml.c.
References SIGNCONF_EXPORT_ERR_DATABASE, zone_db_free(), zone_db_get_policy(), and zone_db_new_get_by_name().