2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

Additional description of function

This commit is contained in:
Mark Andrews
1999-02-10 05:45:00 +00:00
parent fdd04623a6
commit bfc4767894

View File

@@ -37,9 +37,24 @@ dns_result_t dns_master_load(char *master_file,
isc_mem_t *mctx); isc_mem_t *mctx);
/* /*
* Loads a RFC 1305 master file from disk into rdatasets then call
* 'callbacks->commit' to commit the dataset. Rdata memory belongs
* to dns_master_load and will be reused / released when the callback
* completes.
*
* 'callbacks->commit' is assumed to call 'callbacks->error' or
* 'callbacks->warn' to generate any error messages required.
*
* Requires: * Requires:
* callbacks->commit to point ta a valid function. * 'master_file' to point to a valid string.
* masterfile point to a valid string. * 'top' to point to a valid name.
* 'origin' to point to a valid name.
* 'soacount' to point to a int.
* 'nscount' to point to a int.
* 'callbacks->commit' to point ta a valid function.
* 'callbacks->error' to point ta a valid function.
* 'callbacks->warn' to point ta a valid function.
* 'mctx' to point to a memory context.
*/ */
#endif /* DNS_MASTER_H */ #endif /* DNS_MASTER_H */