mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 08:35:31 +00:00
ns_omapi_init now takes no parameters
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
#define NS_OMAPI_COMMAND_RELOADZONES "reload-zones"
|
#define NS_OMAPI_COMMAND_RELOADZONES "reload-zones"
|
||||||
|
|
||||||
isc_result_t
|
isc_result_t
|
||||||
ns_omapi_init(isc_mem_t *mctx);
|
ns_omapi_init(void);
|
||||||
|
|
||||||
isc_result_t
|
isc_result_t
|
||||||
ns_omapi_listen(omapi_object_t **managerp);
|
ns_omapi_listen(omapi_object_t **managerp);
|
||||||
|
@@ -319,7 +319,7 @@ setup() {
|
|||||||
|
|
||||||
ns_server_create(ns_g_mctx, &ns_g_server);
|
ns_server_create(ns_g_mctx, &ns_g_server);
|
||||||
|
|
||||||
result = ns_omapi_init(ns_g_mctx);
|
result = ns_omapi_init();
|
||||||
if (result != ISC_R_SUCCESS)
|
if (result != ISC_R_SUCCESS)
|
||||||
ns_main_earlyfatal("omapi_lib_init() failed: %s",
|
ns_main_earlyfatal("omapi_lib_init() failed: %s",
|
||||||
isc_result_totext(result));
|
isc_result_totext(result));
|
||||||
|
Reference in New Issue
Block a user