/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | zone.h | 48 const char *dir; /* directory of zone data */ member in struct:Zone 58 extern zone_t *zone_new (zone_t **zp, const char *zone, const char *dir, const char *file, const char *signed_ext, const zconf_t *cp); 62 extern int zone_readdir (const char *dir, const char *zone, const char *zfile, zone_t **listp, const zconf_t *conf, int dyn_zone);
|
H A D | domaincmp.c | 74 int dir; local 80 dir = 1; 82 dir = -1; 119 return -1 * dir; 124 return 1 * dir;
|
H A D | zone.c | 104 if ( zp->dir ) free ((char *)zp->dir); 140 zone_t *zone_new (zone_t **zp, const char *zone, const char *dir, const char *file, const char *signed_ext, const zconf_t *cp) argument 148 dbg_val3 ("zone_new: (zp, zone: %s, dir: %s, file: %s, cp)\n", zone, dir, file); 149 if ( dir == NULL || *dir == '\0' ) 150 dir = "."; 159 snprintf (path, sizeof (path), "%s/%.*s", dir, p-file, file); 160 dir 195 zone_readdir(const char *dir, const char *zone, const char *zfile, zone_t **listp, const zconf_t *conf, int dyn_zone) argument [all...] |
H A D | log.c | 310 int lg_zone_start (const char *dir, const char *domain) argument 314 dbg_val2 ("lg_zone_start (%s, %s)\n", dir, domain); 319 lg_fp = lg_fileopen (dir, fname);
|
H A D | ncparse.c | 189 ** parse_namedconf (const char *filename, chroot_dir, dir, dirsize, int (*func) ()) 196 int parse_namedconf (const char *filename, const char *chroot_dir, char *dir, size_t dirsize, int (*func) ()) argument 213 assert (dir != NULL && dirsize != 0); 231 dbg_val2 ("parse_namedconf: directory found \"%s\" (dir is %s)\n", 232 strval, dir); 233 if ( *strval != '/' && *dir ) 234 snprintf (path, sizeof (path), "%s/%s", dir, strval); 241 snprintf (dir, dirsize, "%s%s%s", chroot_dir, *path == '/' ? "": "/", path); 245 snprintf (dir, dirsize, "%s", path); 246 dbg_val ("parse_namedconf: new dir \" 298 printzone(const char *dir, const char *view, const char *zone, const char *file) argument [all...] |
H A D | rollover.c | 65 static dki_t *genkey (dki_t **listp, const char *dir, const char *domain, int ksk, const zconf_t *conf, int status) argument 73 dkp = dki_new (dir, domain, DKI_KSK, conf->k_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC); 75 dkp = dki_new (dir, domain, DKI_ZSK, conf->k_algo, conf->z_bits, conf->z_random, conf->z_life / DAYSEC); 82 static dki_t *genkey2 (dki_t **listp, const char *dir, const char *domain, int ksk, const zconf_t *conf, int status) argument 90 dkp = dki_new (dir, domain, DKI_KSK, conf->k2_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC); 92 dkp = dki_new (dir, domain, DKI_ZSK, conf->k2_algo, conf->z_bits, conf->z_random, conf->z_life / DAYSEC); 129 snprintf (path, sizeof (path), "%s/../%s", zp->dir, LOCALCONF_FILE); 130 if ( fileexist (path) ) /* parent dir has local config file ? */ 136 snprintf (path, sizeof (path), "%s/../%s.signed", conf->dir, conf->zonefile); 144 * used in the parent dir (se 364 ksk5011status(dki_t **listp, const char *dir, const char *domain, const zconf_t *z) argument 532 zskstatus(dki_t **listp, const char *dir, const char *domain, const zconf_t *z) argument [all...] |
H A D | zkt-ls.c | 126 static int parsedirectory (const char *dir, dki_t **listp, int sub_before); 326 sopt_usage ("\tusage: %s [-adefhkLprtzC] [-c config] [file|dir ...]\n", progname); 329 sopt_usage ("\tusage: %s -K [-dhkrz] [-c config] [file|dir ...]\n", progname); 330 lopt_usage ("\tusage: %s --list-dnskeys [-dhkzr] [-c config] [file|dir ...]\n", progname); 333 sopt_usage ("\tusage: %s -T [-dhrz] [-c config] [file|dir ...]\n", progname); 334 lopt_usage ("\tusage: %s --list-trustedkeys [-dhzr] [-c config] [file|dir ...]\n", progname); 364 static int parsedirectory (const char *dir, dki_t **listp, int sub_before) argument 374 dbg_val ("directory: opendir(%s)\n", dir); 375 if ( (dirp = opendir (dir)) == NULL ) 384 pathname (path, sizeof (path), dir, dent [all...] |
H A D | dnssec-zkt.c | 133 static int parsedirectory (const char *dir, dki_t **listp); 418 sopt_usage ("\tusage: %s [-dhatkzpr] [-c config] [file|dir ...]\n", progname); 421 sopt_usage ("\tusage: %s -K [-dhkzr] [-c config] [file|dir ...]\n", progname); 422 lopt_usage ("\tusage: %s --list-dnskeys [-dhkzr] [-c config] [file|dir ...]\n", progname); 425 sopt_usage ("\tusage: %s -T [-dhzr] [-c config] [file|dir ...]\n", progname); 426 lopt_usage ("\tusage: %s --list-trustedkeys [-dhzr] [-c config] [file|dir ...]\n", progname); 429 sopt_usage ("\tusage: %s -C <name> [-k] [-dpr] [-c config] [dir ...]\n", progname); 430 lopt_usage ("\tusage: %s --create=<name> [-k] [-dpr] [-c config] [dir ...]\n", progname); 436 sopt_usage ("\tusage: %s -P|-A|-D <keyspec> [-dr] [-c config] [dir ...]\n", progname); 437 lopt_usage ("\tusage: %s --published=<keyspec> [-dr] [-c config] [dir 488 const char *dir = ""; local 542 const char *dir; local 731 parsedirectory(const char *dir, dki_t **listp) argument [all...] |
H A D | zkt-keyman.c | 121 static int parsedirectory (const char *dir, dki_t **listp); 345 sopt_usage ("\tusage: %s -C <name> [-k] [-dpr] [-c config] [dir ...]\n", progname); 346 lopt_usage ("\tusage: %s --create=<name> [-k] [-dpr] [-c config] [dir ...]\n", progname); 352 sopt_usage ("\tusage: %s -P|-A|-D <keyspec> [-dr] [-c config] [dir ...]\n", progname); 353 lopt_usage ("\tusage: %s --published=<keyspec> [-dr] [-c config] [dir ...]\n", progname); 354 lopt_usage ("\tusage: %s --active=<keyspec> [-dr] [-c config] [dir ...]\n", progname); 355 lopt_usage ("\tusage: %s --depreciated=<keyspec> [-dr] [-c config] [dir ...]\n", progname); 358 sopt_usage ("\tusage: %s -R <keyspec> [-dr] [-c config] [dir ...]\n", progname); 359 lopt_usage ("\tusage: %s --revoke=<keyspec> [-dr] [-c config] [dir ...]\n", progname); 362 lopt_usage ("\tusage: %s --remove=<keyspec> [-dr] [-c config] [dir 395 const char *dir = ""; local 449 const char *dir; local 638 parsedirectory(const char *dir, dki_t **listp) argument [all...] |
H A D | misc.c | 340 ** pathname (path, size, dir, file, ext) 341 ** Concatenate 'dir', 'file' and 'ext' (if not null) to build 345 char *pathname (char *path, size_t size, const char *dir, const char *file, const char *ext) argument 353 if ( dir ) 354 len += strlen (dir); 361 if ( dir && *dir ) 363 len = sprintf (path, "%s", dir);
|
H A D | zkt-signer.c | 98 static int add2zonelist (const char *dir, const char *view, const char *zone, const char *file); 99 static int parsedir (const char *dir, zone_t **zp, const zconf_t *conf); 102 static int new_keysetfiles (const char *dir, time_t zone_signing_time); 106 static void copy_keyset (const char *dir, const char *domain, const zconf_t *conf); 255 fatal ("Couldn't open logfile %s in dir %s\n", logfile, config->zonedir); 292 char dir[255+1]; local 294 memset (dir, '\0', sizeof (dir)); 296 strncpy (dir, config->zonedir, sizeof(dir)); 304 char *dir = strdup (dirname); local 399 add2zonelist(const char *dir, const char *view, const char *zone, const char *file) argument 428 parsedir(const char *dir, zone_t **zp, const zconf_t *conf) argument 748 new_keysetfiles(const char *dir, time_t zone_signing_time) argument 839 const char *dir; local 971 copy_keyset(const char *dir, const char *domain, const zconf_t *conf) argument [all...] |
H A D | dki.c | 240 dki_t *dki_new (const char *dir, const char *name, int ksk, int algo, int bitsize, const char *rfile, int lf_days) argument 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) argument 402 dbg_val ("directory: opendir(%s)\n", dir); 403 if ( (dirp = opendir (dir)) == NULL ) 412 pathname (path, sizeof (path), dir, dent [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | gen-unix.h | 26 * the functions declared in isc/commandline.h and isc/dir.h could not 30 * The dir stuff was shrunk to fit the needs of gen.c. 59 start_directory(const char *path, isc_dir_t *dir) { argument 60 dir->handle = opendir(path); 62 if (dir->handle != NULL) 70 next_file(isc_dir_t *dir) { argument 73 dir->filename = NULL; 75 if (dir->handle != NULL) { 76 dirent = readdir(dir->handle); 78 dir 88 end_directory(isc_dir_t *dir) argument [all...] |
H A D | gen-win32.h | 65 * the functions declared in isc/commandline.h and isc/dir.h could not 69 * isc/commandline.c. The dir stuff was shrunk to fit the needs of gen.c. 225 start_directory(const char *path, isc_dir_t *dir) { argument 245 dir->first_file = ISC_TRUE; 247 dir->handle = FindFirstFile(pattern, &dir->find_data); 249 if (dir->handle == INVALID_HANDLE_VALUE) { 250 dir->filename = NULL; 253 dir->filename = dir 259 next_file(isc_dir_t *dir) argument 279 end_directory(isc_dir_t *dir) argument [all...] |
H A D | gen.c | 464 isc_dir_t dir; local 466 if (!start_directory(dirname, &dir)) 469 while (next_file(&dir)) { 470 if (sscanf(dir.filename, TYPECLASSFMT, typename, &type) != 2) 478 if (strcmp(buf, dir.filename) != 0) 483 end_directory(&dir); 528 isc_dir_t dir; local 596 if (!start_directory(buf, &dir)) 599 while (next_file(&dir)) { 600 if (sscanf(dir [all...] |
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | dir.c | 32 #include <isc/dir.h> 40 #define VALID_DIR(dir) ISC_MAGIC_VALID(dir, ISC_DIR_MAGIC) 43 isc_dir_init(isc_dir_t *dir) { argument 44 REQUIRE(dir != NULL); 46 dir->entry.name[0] = '\0'; 47 dir->entry.length = 0; 49 dir->handle = NULL; 51 dir->magic = ISC_DIR_MAGIC; 59 isc_dir_open(isc_dir_t *dir, cons argument 103 isc_dir_read(isc_dir_t *dir) argument 136 isc_dir_close(isc_dir_t *dir) argument 147 isc_dir_reset(isc_dir_t *dir) argument [all...] |
/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | dir.c | 31 #include <isc/dir.h> 39 #define VALID_DIR(dir) ISC_MAGIC_VALID(dir, ISC_DIR_MAGIC) 45 isc_dir_init(isc_dir_t *dir) { argument 46 REQUIRE(dir != NULL); 48 dir->dirname[0] = '\0'; 50 dir->entry.name[0] = '\0'; 51 dir->entry.length = 0; 52 memset(&(dir->entry.find_data), 0, sizeof(dir 65 isc_dir_open(isc_dir_t *dir, const char *dirname) argument 104 isc_dir_read(isc_dir_t *dir) argument 143 isc_dir_close(isc_dir_t *dir) argument 154 isc_dir_reset(isc_dir_t *dir) argument 181 start_directory(isc_dir_t *dir) argument [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-run/ |
H A D | fs.cpp | 231 impl::change_directory(const atf::fs::path& dir) argument 235 if (olddir != dir) { 236 if (::chdir(dir.c_str()) == -1) 237 throw system_error(IMPL_NAME "::chdir(" + dir.str() + ")",
|
H A D | atffile.cpp | 238 reader(std::istream& is, const atf::fs::directory& dir) : argument 240 m_dir(dir) 312 fs::directory dir(filename.branch_path()); 313 dir.erase(filename.leaf_name()); 314 fs::directory::iterator iter = dir.begin(); 315 while (iter != dir.end()) { 323 dir.erase(iter++); 333 reader r(is, dir);
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/ |
H A D | encoding.c | 263 idnGetInstallDir(char *dir, size_t len) argument 266 BOOL v = GetStringFromRegistry(IDNVAL_INSDIR, dir, len, IDN_GLOBAL); 269 (v == TRUE) ? dir : "<none>");
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c/ |
H A D | check.c | 58 create_tmpdir(atf_fs_path_t *dir) argument 62 err = atf_fs_path_init_fmt(dir, "%s/check.XXXXXX", 67 err = atf_fs_mkdtemp(dir); 69 atf_fs_path_fini(dir); 80 cleanup_tmpdir(const atf_fs_path_t *dir, const atf_fs_path_t *outfile, argument 104 atf_error_t err = atf_fs_rmdir(dir); 301 const atf_fs_path_t *dir) 313 err = atf_fs_path_copy(&r->pimpl->m_dir, dir); 318 atf_fs_path_cstring(dir)); 323 atf_fs_path_cstring(dir)); 300 atf_check_result_init(atf_check_result_t *r, const char *const *argv, const atf_fs_path_t *dir) argument 463 atf_fs_path_t dir; local [all...] |
/bind-9.6-ESV-R11/contrib/dlz/drivers/ |
H A D | dlz_filesystem_driver.c | 66 #include <isc/dir.h> 316 * path have the "data dir" directory contained within it so 324 * 0. the base dir is "/base-dir/" and the data dir is 326 * domain.com. Path /base-dir/com/domain/.datadir since 327 * /base-dir/com/domain/.datadir does not exist, we are not 330 * path /base-dir/com/domain/long/.datadir does exist! 333 /* if client is passed append xfr dir, otherwise append data dir */ 368 process_dir(isc_dir_t *dir, void *passback, config_data_t *cd, dlist_t *dir_list, unsigned int basedirlen) argument 643 isc_dir_t dir; local 797 isc_dir_t dir; local [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/ |
H A D | tp_main.c | 153 argv0_to_dir(const char *argv0, atf_fs_path_t *dir) argument 162 err = atf_fs_path_branch_path(&temp, dir);
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/ |
H A D | fs.cpp | 482 const path& dir = path(*iter); local 484 if (is_executable(dir / prog))
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | log.c | 32 #include <isc/dir.h> 1149 isc_dir_t dir; local 1180 isc_dir_init(&dir); 1181 result = isc_dir_open(&dir, dirname); 1195 while (isc_dir_read(&dir) == ISC_R_SUCCESS) { 1196 if (dir.entry.length > basenamelen && 1197 strncmp(dir.entry.name, basename, basenamelen) == 0 && 1198 dir.entry.name[basenamelen] == '.') { 1200 version = strtol(&dir.entry.name[basenamelen + 1], 1206 isc_dir_close(&dir); [all...] |