Searched refs:filename (Results 1 - 25 of 104) sorted by relevance

12345

/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dtestutil.h60 * `filename'. Note that the arguments must be terminated with `NULL'.
69 create_conf_file(const char *filename, unsigned int flags, ...);
H A Dtestutil.c55 create_conf_file(const char *filename, unsigned int flags, ...) { argument
61 file = fopen(filename, "w");
64 filename);
/bind-9.11.3/bin/named/unix/include/named/
H A Dos.h49 ns_os_openfile(const char *filename, mode_t mode, isc_boolean_t switch_user);
52 ns_os_writepidfile(const char *filename, isc_boolean_t first_time);
55 ns_os_issingleton(const char *filename);
/bind-9.11.3/bin/named/win32/include/named/
H A Dos.h45 ns_os_openfile(const char *filename, int mode, isc_boolean_t switch_user);
48 ns_os_writepidfile(const char *filename, isc_boolean_t first_time);
51 ns_os_issingleton(const char *filename);
/bind-9.11.3/lib/dns/
H A Dgen-unix.h44 char *filename; member in struct:__anon109
64 dir->filename = NULL;
69 dir->filename = dirent->d_name;
72 if (dir->filename != NULL)
H A Dgen-win32.h212 char *filename; member in struct:__anon110
241 dir->filename = NULL;
244 dir->filename = dir->find_data.cFileName;
256 dir->filename = dir->find_data.cFileName;
258 dir->filename = NULL;
261 dir->filename = NULL;
263 if (dir->filename != NULL)
H A Ddyndb.c85 load_symbol(void *handle, const char *filename, argument
103 symbol_name, filename, errmsg);
114 load_library(isc_mem_t *mctx, const char *filename, const char *instname, argument
130 instname, filename);
137 handle = dlopen(filename, flags);
144 CHECK(load_symbol(handle, filename, "dyndb_version",
158 CHECK(load_symbol(handle, filename, "dyndb_init",
160 CHECK(load_symbol(handle, filename, "dyndb_destroy",
187 "driver '%s': %s (%s)", instname, filename,
212 load_symbol(HMODULE handle, const char *filename, argument
237 load_library(isc_mem_t *mctx, const char *filename, const char *instname, dyndb_implementation_t **impp) argument
327 load_library(isc_mem_t *mctx, const char *filename, const char *instname, dyndb_implementation_t **impp) argument
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dfile.h121 * are replaced with ASCII characters until a non-existent filename
165 isc_file_remove(const char *filename);
167 * \brief Remove the file named by 'filename'.
185 isc_file_isabsolute(const char *filename);
231 isc_file_iscurrentdir(const char *filename);
237 isc_file_ischdiridempotent(const char *filename);
239 * Return #ISC_TRUE if calling chdir(filename) multiple times will give
244 isc_file_basename(const char *filename);
250 isc_file_progname(const char *filename, char *buf, size_t buflen);
252 * \brief Given an operating system specific file name "filename"
[all...]
/bind-9.11.3/lib/isc/win32/
H A Dfile.c445 isc_file_remove(const char *filename) { argument
448 REQUIRE(filename != NULL);
450 r = unlink(filename);
481 isc_file_isplainfile(const char *filename) { argument
483 * This function returns success if filename is a plain file.
488 if ((stat(filename, &filestat)) == -1)
500 * This function returns success if filename is a plain file.
515 isc_file_isdirectory(const char *filename) { argument
517 * This function returns success if filename is a directory.
522 if ((stat(filename,
533 isc_file_isabsolute(const char *filename) argument
549 isc_file_iscurrentdir(const char *filename) argument
555 isc_file_ischdiridempotent(const char *filename) argument
570 isc_file_basename(const char *filename) argument
582 isc_file_progname(const char *filename, char *progname, size_t namelen) argument
623 isc_file_absolutepath(const char *filename, char *path, size_t pathlen) argument
642 isc_file_truncate(const char *filename, isc_offset_t size) argument
660 isc_file_safecreate(const char *filename, FILE **fp) argument
[all...]
H A Dfsaccess.c58 char filename[1024]; local
60 REQUIRE(filename != NULL);
62 if (isc_file_absolutepath(file, filename,
63 sizeof(filename)) != ISC_R_SUCCESS) {
71 if (isalpha(filename[0]) && filename[1] == ':' &&
72 (filename[2] == '\\' || filename[2] == '/')) {
74 strlcpy(drive, filename, ISC_MIN(3 + 1, sizeof(drive)));
75 } else if ((filename[
143 NTFS_Access_Control(const char *filename, const char *user, int access, isc_boolean_t isdir) argument
315 isc_fsaccess_changeowner(const char *filename, const char *user) argument
[all...]
/bind-9.11.3/bin/named/win32/
H A Dos.c180 safe_open(const char *filename, int mode, isc_boolean_t append) { argument
184 if (stat(filename, &sb) == -1) {
191 fd = open(filename, O_WRONLY|O_CREAT|O_APPEND, mode);
193 (void)unlink(filename);
194 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, mode);
225 ns_os_openfile(const char *filename, int mode, isc_boolean_t switch_user) { argument
231 fd = safe_open(filename, mode, ISC_FALSE);
235 filename, strbuf);
243 filename, strbuf);
251 ns_os_writepidfile(const char *filename, isc_boolean_ argument
301 ns_os_issingleton(const char *filename) argument
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Drootns.h24 const char *filename, dns_db_t **target);
H A Djournal.h93 dns_journal_open(isc_mem_t *mctx, const char *filename, unsigned int mode,
96 * Open the journal file 'filename' and create a dns_journal_t object for it.
228 const char *filename);
230 * Roll forward (play back) the journal file "filename" into the
238 *\li 'filename' is the name of the journal file belonging to 'db'.
249 dns_journal_print(isc_mem_t *mctx, const char *filename, FILE *file);
272 dns_journal_compact(isc_mem_t *mctx, char *filename, isc_uint32_t serial,
/bind-9.11.3/bin/tests/
H A Dfromhex.pl24 my $filename = shift @ARGV;
25 open FH, "<$filename" or die "$filename: $!";
/bind-9.11.3/bin/tools/
H A Dgenrandom.c34 generate(char *filename, unsigned int bytes) { argument
37 fp = fopen(filename, "w");
39 printf("failed to open %s\n", filename);
51 printf("error writing to %s\n", filename);
56 printf("error writing to %s\n", filename);
/bind-9.11.3/bin/named/unix/
H A Dos.c645 safe_open(const char *filename, mode_t mode, isc_boolean_t append) { argument
649 if (stat(filename, &sb) == -1) {
658 fd = open(filename, O_WRONLY|O_CREAT|O_APPEND, mode);
660 if (unlink(filename) < 0 && errno != ENOENT)
662 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, mode);
697 * NOTE: This function overwrites the '/' characters in 'filename' with
698 * nulls. The caller should copy the filename to a fresh buffer first.
701 mkdirpath(char *filename, void (*report)(const char *, ...)) { argument
702 char *slash = strrchr(filename, '/');
706 if (slash != NULL && slash != filename) {
797 ns_os_openfile(const char *filename, mode_t mode, isc_boolean_t switch_user) argument
876 ns_os_writepidfile(const char *filename, isc_boolean_t first_time) argument
927 ns_os_issingleton(const char *filename) argument
[all...]
/bind-9.11.3/unit/atf-src/atf-sh/
H A Datf-sh.cpp48 fix_plain_name(const char *filename) argument
50 const atf::fs::path filepath(filename);
52 return std::string("./") + filename;
54 return std::string(filename);
59 construct_script(const char* filename) argument
72 ". " + fix_plain_name(filename) + " ; " +
/bind-9.11.3/lib/isc/unix/
H A Dfile.c387 isc_file_remove(const char *filename) { argument
390 REQUIRE(filename != NULL);
392 r = unlink(filename);
423 isc_file_isplainfile(const char *filename) { argument
425 * This function returns success if filename is a plain file.
430 if ((stat(filename, &filestat)) == -1)
442 * This function returns success if filename is a plain file.
457 isc_file_isdirectory(const char *filename) { argument
459 * This function returns success if filename exists and is a
465 if ((stat(filename,
476 isc_file_isabsolute(const char *filename) argument
482 isc_file_iscurrentdir(const char *filename) argument
488 isc_file_ischdiridempotent(const char *filename) argument
498 isc_file_basename(const char *filename) argument
511 isc_file_progname(const char *filename, char *buf, size_t buflen) argument
562 isc_file_absolutepath(const char *filename, char *path, size_t pathlen) argument
574 isc_file_truncate(const char *filename, isc_offset_t size) argument
583 isc_file_safecreate(const char *filename, FILE **fp) argument
[all...]
/bind-9.11.3/bin/check/
H A Dcheck-tool.h29 load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
34 dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
/bind-9.11.3/lib/irs/include/irs/
H A Ddnsconf.h46 irs_dnsconf_load(isc_mem_t *mctx, const char *filename, irs_dnsconf_t **confp);
48 * Load the "advanced" DNS configuration file 'filename' in the "dns.conf"
55 *\li 'filename' != NULL
H A Dresconf.h38 irs_resconf_load(isc_mem_t *mctx, const char *filename, irs_resconf_t **confp);
40 * Load the resolver configuration file 'filename' in the "resolv.conf" format,
64 *\li 'filename' != NULL
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddatafile.h26 perf_datafile_open(isc_mem_t *mctx, const char *filename);
/bind-9.11.3/contrib/sdb/dir/
H A Ddirdb.c65 char filename[255]; local
80 snprintf(filename, sizeof(filename), "%s", (char *)dbdata);
82 snprintf(filename, sizeof(filename), "%s/%s",
84 CHECKN(lstat(filename, &statbuf));
100 CHECKN(readlink(filename, filename2, sizeof(filename2) - 1));
/bind-9.11.3/lib/isc/tests/
H A Dfile_test.c39 touch(const char *filename) { argument
42 unlink(filename);
43 fd = creat(filename, 0644);
/bind-9.11.3/bin/dnssec/
H A Ddnssec-importkey.c102 loadset(const char *filename, dns_rdataset_t *rdataset) { argument
115 if (strcmp(filename, "-") == 0) {
117 filename = "input";
119 result = dns_db_load3(db, filename, dns_masterformat_text,
122 fatal("can't load %s: %s", filename,
128 fatal("can't find %s node in %s", setname, filename);
134 fatal("no DNSKEY RR for %s in %s", setname, filename);
146 loadkey(char *filename, unsigned char *key_buf, unsigned int key_buf_size, argument
158 result = dst_key_fromnamedfile(filename, NULL, DST_TYPE_PUBLIC,
162 filename, isc_result_totex
294 char *filename = NULL, *dir = NULL, *namestr; local
[all...]

Completed in 30 milliseconds

12345