Searched refs:tofile (Results 1 - 5 of 5) sorted by relevance

/bind-9.6-ESV-R11/contrib/zkt/
H A Dmisc.h53 extern int linkfile (const char *fromfile, const char *tofile);
54 //extern int copyfile (const char *fromfile, const char *tofile);
55 extern int copyfile (const char *fromfile, const char *tofile, const char *dnskeyfile);
56 extern int copyzonefile (const char *fromfile, const char *tofile, const char *dnskeyfile);
H A Dmisc.c463 ** linkfile (fromfile, tofile)
465 int linkfile (const char *fromfile, const char *tofile) argument
469 /* fprintf (stderr, "linkfile (%s, %s)\n", fromfile, tofile); */
470 if ( (ret = link (fromfile, tofile)) == -1 && errno == EEXIST )
471 if ( unlink (tofile) == 0 )
472 ret = link (fromfile, tofile);
478 ** copyfile (fromfile, tofile, dnskeyfile)
479 ** copy fromfile into tofile.
480 ** Add (optional) the content of dnskeyfile to tofile.
482 int copyfile (const char *fromfile, const char *tofile, cons argument
516 copyzonefile(const char *fromfile, const char *tofile, const char *dnskeyfile) argument
[all...]
H A Dzkt-signer.c974 char tofile[1024]; local
986 snprintf (tofile, sizeof (tofile), "%s/../keyset-%s", dir, domain);
987 if ( cmpfile (fromfile, tofile) != 0 )
990 if ( (ret = copyfile (fromfile, tofile, NULL)) != 0 )
/bind-9.6-ESV-R11/lib/dns/
H A Ddst_internal.h171 isc_result_t (*tofile)(const dst_key_t *key, const char *directory); member in struct:dst_func
H A Ddst_api.c373 if (key->func->tofile == NULL)
384 return (key->func->tofile(key, directory));

Completed in 43 milliseconds