]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
forward declare dns_cache_t in <dns/types.h>;
authorAndreas Gustafsson <source@isc.org>
Thu, 2 Dec 1999 22:35:01 +0000 (22:35 +0000)
committerAndreas Gustafsson <source@isc.org>
Thu, 2 Dec 1999 22:35:01 +0000 (22:35 +0000)
renamed dns_cache_getdb() to dns_cache_attachdb()

lib/dns/include/dns/cache.h

index 55cf49cd761cf11c40fcb8c29afdfdbd4cf8a39b..b046b926b516924b25024d9fdbb9b1eaff7164d9 100644 (file)
 #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.
  *