Lines Matching defs:dir
240 dki_t *dki_new (const char *dir, const char *name, int ksk, int algo, int bitsize, const char *rfile, int lf_days)
261 if ( dir && *dir )
263 dir, KEYGENCMD, KEYGEN_COMPMODE, randfile, expflag, dki_algo2str(algo), bitsize, flag, name);
278 new = dki_read (dir, fname);
392 ** read key files from directory 'dir' and, if recursive is
395 int dki_readdir (const char *dir, dki_t **listp, int recursive)
402 dbg_val ("directory: opendir(%s)\n", dir);
403 if ( (dirp = opendir (dir)) == NULL )
412 pathname (path, sizeof (path), dir, dentp->d_name, NULL);
419 if ( (dkp = dki_read (dir, dentp->d_name)) )