diff options
| author | Martin Nagy <mnagy@redhat.com> | 2008-12-15 17:38:40 +0100 |
|---|---|---|
| committer | Martin Nagy <mnagy@redhat.com> | 2009-02-11 20:40:41 +0100 |
| commit | c76f8c86f453ad60719d31289b04f13ac244114c (patch) | |
| tree | c776e71a184c3334d4449c9ccf28a6f00524a60a /lib/dns/include | |
| parent | aad64960a5681975b032c1e4fcd133e8f806c9cb (diff) | |
| download | bind_dynamic-c76f8c86f453ad60719d31289b04f13ac244114c.tar.gz bind_dynamic-c76f8c86f453ad60719d31289b04f13ac244114c.tar.xz bind_dynamic-c76f8c86f453ad60719d31289b04f13ac244114c.zip | |
Use a destroy function to free all the resources.
The handle returned by dlopen() is now saved and the library is unloaded
on exit.
We also load symbol "dynamic_driver_destroy" which is a function with no
arguments returning void. It is called on exit.
The load_library() is now split into two functions, one function is
specifically used to load symbols.
Diffstat (limited to 'lib/dns/include')
| -rw-r--r-- | lib/dns/include/dns/dynamic_db.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dns/include/dns/dynamic_db.h b/lib/dns/include/dns/dynamic_db.h index c37fb83..151103f 100644 --- a/lib/dns/include/dns/dynamic_db.h +++ b/lib/dns/include/dns/dynamic_db.h @@ -26,5 +26,6 @@ isc_result_t dns_dynamic_db_load(const char *libname, const char *name, isc_mem_t *mctx, const char * const *argv, dns_view_t *view); +isc_result_t dns_dynamic_db_cleanup(void); #endif |
