Searched defs:zp (Results 1 - 5 of 5) sorted by relevance

/bind-9.6-ESV-R11/contrib/zkt/
H A Dnscomm.c99 int dist_and_reload (const zone_t *zp, int what) argument
108 assert (zp != NULL);
109 assert (zp->conf->dist_cmd != NULL);
112 if ( zp->conf->dist_cmd == NULL )
115 if ( !is_exec_ok (zp->conf->dist_cmd) )
124 verbmesg (1, zp->conf, mesg, zp->conf->dist_cmd);
125 lg_mesg (LG_ERROR, "exec of distribution command %s disabled due to security reasons", zp->conf->dist_cmd);
131 if ( zp->conf->view )
133 snprintf (zone, sizeof (zone), "\"%s\" in view \"%s\"", zp
[all...]
H A Dzone.c67 zone_t *zp; local
69 if ( (zp = malloc (sizeof (zone_t))) )
71 memset (zp, 0, sizeof (zone_t));
72 return zp;
99 void zone_free (zone_t *zp) argument
101 assert (zp != NULL);
103 if ( zp->zone ) free ((char *)zp->zone);
104 if ( zp->dir ) free ((char *)zp
140 zone_new(zone_t **zp, const char *zone, const char *dir, const char *file, const char *signed_ext, const zconf_t *cp) argument
[all...]
H A Drollover.c117 ** Check if the parent directory of the zone specified by zp
121 static int is_parentdirsigned (const zone_t *zonelist, const zone_t *zp) argument
129 snprintf (path, sizeof (path), "%s/../%s", zp->dir, LOCALCONF_FILE);
133 conf = zp->conf;
137 if ( conf != zp->conf ) /* if we read in a local config file.. */
147 ext = strrchr (zp->sfile, '.');
148 if ( ext && strcmp (zp->sfile, ".dsigned") == 0 ) /* is the current zone a dynamic one ? */
150 snprintf (path, sizeof (path), "%s/../%s", zp->dir, "zone.db.signed");
158 parentname = strchr (zp->zone, '.'); /* find first dot in zone name */
168 snprintf (path, sizeof (path), "%s/../%s", zp
224 kskrollover(dki_t *ksk, zone_t *zonelist, zone_t *zp) argument
470 kskstatus(zone_t *zonelist, zone_t *zp) argument
[all...]
H A Dzkt-signer.c99 static int parsedir (const char *dir, zone_t **zp, const zconf_t *conf);
100 static int dosigning (zone_t *zonelist, zone_t *zp);
104 static int sign_zone (const zone_t *zp);
144 zone_t *zp; local
258 for ( zp = zonelist; zp; zp = zp->next )
259 zone_print ("in main: ", zp);
323 for ( zp
428 parsedir(const char *dir, zone_t **zp, const zconf_t *conf) argument
461 dosigning(zone_t *zonelist, zone_t *zp) argument
825 sign_zone(const zone_t *zp) argument
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Dview.c1191 dns_zone_t **zp = NULL;; local
1204 zp = (zone1 == NULL) ? &zone1 : &zone2;
1208 NULL, zp);
1218 dns_zone_detach(zp);

Completed in 30 milliseconds