mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-28 01:28:05 -04:00
forward declare dns_cache_t in <dns/types.h>;
renamed dns_cache_getdb() to dns_cache_attachdb()
This commit is contained in:
parent
d8574ceec6
commit
97404c1965
1 changed files with 1 additions and 7 deletions
|
|
@ -57,12 +57,6 @@
|
|||
#include <dns/types.h>
|
||||
#include <dns/result.h>
|
||||
|
||||
/***
|
||||
*** Types
|
||||
***/
|
||||
|
||||
typedef struct dns_cache dns_cache_t; /* Opaque */
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
/***
|
||||
|
|
@ -132,7 +126,7 @@ dns_cache_detach(dns_cache_t **cachep);
|
|||
*/
|
||||
|
||||
void
|
||||
dns_cache_getdb(dns_cache_t *cache, dns_db_t **dbp);
|
||||
dns_cache_attachdb(dns_cache_t *cache, dns_db_t **dbp);
|
||||
/*
|
||||
* Attach *dbp to the cache's database.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue