OpenDNSSEC-signer 2.1.13
|
#include <ldns/ldns.h>
#include <stdio.h>
#include <time.h>
#include "status.h"
#include "locks.h"
#include "signer/zone.h"
Go to the source code of this file.
Data Structures | |
struct | zonelist_struct |
Typedefs | |
typedef struct zonelist_struct | zonelist_type |
Functions | |
zonelist_type * | zonelist_create (void) |
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 *zl, 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) |
typedef struct zonelist_struct zonelist_type |
Definition at line 34 of file zonelist.h.
|
extern |
Add zone.
[in] | zl | zone list |
[in] | zone | zone |
Add zone.
Definition at line 201 of file zonelist.c.
References zonelist_struct::just_added, zone_struct::name, zone_struct::zl_status, zone_cleanup(), ZONE_ZL_ADDED, and zonelist_struct::zones.
Referenced by parse_zonelist_zones().
|
extern |
Clean up zone list.
[in] | zl | zone list |
Clean up a zonelist.
Definition at line 432 of file zonelist.c.
References zonelist_struct::zl_lock, and zonelist_struct::zones.
Referenced by engine_cleanup().
|
extern |
Create zone list.
[in] | allocator | memory allocator |
Create a new zone list.
Definition at line 74 of file zonelist.c.
References zonelist_struct::last_modified, zonelist_struct::zl_lock, and zonelist_struct::zones.
Referenced by zonelist_update().
|
extern |
Delete zone.
[in] | zl | zone list |
[in] | zone | zone |
Delete zone.
Definition at line 238 of file zonelist.c.
References zone_struct::name, and zonelist_struct::zones.
Referenced by engine_update_zones().
|
extern |
Free zone list.
[in] | zl | zone list |
Free zonelist.
Definition at line 453 of file zonelist.c.
References zonelist_struct::zl_lock, and zonelist_struct::zones.
Referenced by zonelist_update().
|
extern |
Lookup zone by dname and class.
[in] | zl | zone list |
[in] | dname | zone domain name |
[in] | klass | zone class |
Lookup zone by dname.
Definition at line 182 of file zonelist.c.
References zonelist_lookup_zone_by_name(), and zonelist_struct::zones.
Referenced by query_process().
|
extern |
Lookup zone by name and class.
[in] | zl | zone list |
[in] | name | zone name |
[in] | klass | zone class |
Lookup zone by name.
Definition at line 157 of file zonelist.c.
References zone_cleanup(), zone_create(), and zonelist_struct::zones.
Referenced by zonelist_lookup_zone_by_dname().
|
extern |
Update zonelist.
[in] | zl | zone list |
[in] | zlfile | zone list filename |
Update zone list.
Definition at line 342 of file zonelist.c.
References zonelist_struct::just_added, zonelist_struct::just_removed, zonelist_struct::just_updated, zonelist_struct::last_modified, zonelist_create(), zonelist_free(), and zonelist_struct::zones.
Referenced by engine_start().