tools.c File Reference
`#include "config.h"`
`#include "daemon/dnshandler.h"`
`#include "adapter/adapter.h"`
`#include "log.h"`
`#include "signer/tools.h"`
`#include "signer/zone.h"`
`#include <errno.h>`
`#include <sys/types.h>`
`#include <sys/wait.h>`
`#include <unistd.h>`

Go to the source code of this file.

## Functions

ods_status | tools_signconf (zone_type *zone)
ods_status | tools_input (zone_type *zone)
ods_status | tools_output (zone_type *zone, engine_type *engine)

## Function Documentation

## tools_input()

ods_status tools_input | ( | zone_type * | zone | ) |

Read zone from input adapter.

Definition at line 93 of file tools.c.

References zone_struct::adinbound, zone_struct::name, zone_struct::signconf, and zone_publish_dnskeys().

## tools_output()

ods_status tools_output | ( | zone_type * | zone,
|  | engine_type * | engine
| ) |  |

Write zone to output adapter.

fork

close fds

execv

error

wait for completion

Definition at line 181 of file tools.c.

## tools_signconf()

ods_status tools_signconf | ( | zone_type * | zone | ) |

Load zone signconf.

Or NSEC -> NSEC3, or NSEC3 -> NSEC, or NSEC3 params changed. All NSEC(3)s become invalid.

Definition at line 52 of file tools.c.

References zone_struct::db, zone_struct::name, namedb_cleanup_denials(), namedb_init_denials(), namedb_wipe_denial(), zone_struct::signconf, signconf_cleanup(), signconf_compare_denial(), and zone_load_signconf().