Searched refs:fromfile (Results 1 - 3 of 3) 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 )
472 ret = link (fromfile, tofile);
478 ** copyfile (fromfile, tofile, dnskeyfile)
479 ** copy fromfile into tofile.
482 int copyfile (const char *fromfile, const char *tofile, const char *dnskeyfile) argument
488 /* fprintf (stderr, "copyfile (%s, %s)\n", fromfile, tofile); */
489 if ( (infp = fopen (fromfile, "
516 copyzonefile(const char *fromfile, const char *tofile, const char *dnskeyfile) argument
[all...]
H A Dzkt-signer.c973 char fromfile[1024]; local
981 snprintf (fromfile, sizeof (fromfile), "%s/parent-%s", dir, domain);
982 if ( !fileexist (fromfile) ) /* use "normal" keyset-file */
983 snprintf (fromfile, sizeof (fromfile), "%s/keyset-%s", dir, domain);
985 /* verbmesg (2, conf, "\t check \"%s\" against parent dir\n", fromfile); */
987 if ( cmpfile (fromfile, tofile) != 0 )
989 verbmesg (2, conf, "\t copy \"%s\" to parent dir\n", fromfile);
990 if ( (ret = copyfile (fromfile, tofil
[all...]

Completed in 14 milliseconds