OpenDNSSEC-signer
2.1.5
|
#include "config.h"
#include "parser/confparser.h"
#include "parser/zonelistparser.h"
#include "duration.h"
#include "file.h"
#include "log.h"
#include "status.h"
#include "signer/zone.h"
#include "signer/zonelist.h"
#include <ldns/ldns.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
zonelist_type * | zonelist_create () |
zone_type * | zonelist_lookup_zone_by_name (zonelist_type *zonelist, const char *name, ldns_rr_class klass) |
zone_type * | zonelist_lookup_zone_by_dname (zonelist_type *zonelist, ldns_rdf *dname, ldns_rr_class klass) |
zone_type * | zonelist_add_zone (zonelist_type *zlist, zone_type *zone) |
void | zonelist_del_zone (zonelist_type *zlist, zone_type *zone) |
ods_status | zonelist_update (zonelist_type *zl, const char *zlfile) |
void | zonelist_cleanup (zonelist_type *zl) |
void | zonelist_free (zonelist_type *zl) |
zone_type* zonelist_add_zone | ( | zonelist_type * | zlist, |
zone_type * | zone | ||
) |
Add zone.
Definition at line 201 of file zonelist.c.
References zone_cleanup(), and zonelist_struct::zones.
void zonelist_cleanup | ( | zonelist_type * | zl | ) |
Clean up a zonelist.
Definition at line 432 of file zonelist.c.
zonelist_type* zonelist_create | ( | void | ) |
Create a new zone list.
Definition at line 74 of file zonelist.c.
void zonelist_del_zone | ( | zonelist_type * | zlist, |
zone_type * | zone | ||
) |
void zonelist_free | ( | zonelist_type * | zl | ) |
zone_type* zonelist_lookup_zone_by_dname | ( | zonelist_type * | zonelist, |
ldns_rdf * | dname, | ||
ldns_rr_class | klass | ||
) |
Lookup zone by dname.
Definition at line 182 of file zonelist.c.
References zonelist_lookup_zone_by_name(), and zonelist_struct::zones.
zone_type* zonelist_lookup_zone_by_name | ( | zonelist_type * | zonelist, |
const char * | name, | ||
ldns_rr_class | klass | ||
) |
Lookup zone by name.
Definition at line 157 of file zonelist.c.
References zone_create(), and zonelist_struct::zones.
Referenced by zonelist_lookup_zone_by_dname().
ods_status zonelist_update | ( | zonelist_type * | zl, |
const char * | zlfile | ||
) |
Update zone list.
Definition at line 342 of file zonelist.c.