mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Additional description of function
This commit is contained in:
parent
fdd04623a6
commit
bfc4767894
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user