Lines Matching refs:path
123 char path[MAX_PATHSIZE+1];
129 snprintf (path, sizeof (path), "%s/../%s", zp->dir, LOCALCONF_FILE);
130 if ( fileexist (path) ) /* parent dir has local config file ? */
131 conf = loadconfig (path, NULL);
135 /* build the path of the .signed zone file */
136 snprintf (path, sizeof (path), "%s/../%s.signed", conf->dir, conf->zonefile);
150 snprintf (path, sizeof (path), "%s/../%s", zp->dir, "zone.db.signed");
166 snprintf (path, sizeof (path), "%s/%s", parent->dir, parent->sfile);
168 snprintf (path, sizeof (path), "%s/../%s", zp->dir, zp->sfile);
172 lg_mesg (LG_DEBUG, "%s: is_parentdirsigned = %d fileexist (%s)\n", zp->zone, fileexist (path), path);
173 return fileexist (path); /* parent dir has zone.db.signed file ? */
226 char path[MAX_PATHSIZE+1];
249 /* build path of parent-file */
250 pathname (path, sizeof (path), zp->dir, "parent-", zp->zone);
253 if ( lifetime > 0 && age > lifetime && !fileexist (path) ) /* lifetime is over and no kskrollover in progress */
271 if ( !create_parent_file (path, 1, z->key_ttl, ksk) )
272 lg_mesg (LG_ERROR, "Couldn't create parentfile %s\n", path);
288 if ( !fileexist (path) ) /* no parent-<zone> file found ? */
292 currphase = get_parent_phase (path); /* this is the actual state we are in */
293 parfile_age = file_age (path);
307 if ( !create_parent_file (path, currphase+1, z->key_ttl, ksk) )
308 lg_mesg (LG_ERROR, "Couldn't create parentfile %s\n", path);
323 unlink (path);