from omapi_object_dereference when an object is destroyed.
Provide OMAPI_EVENT_OBJECTFREED definition to be sent as an event when
an object is destroyed.
Callback parameter to omapi_protocol_listen and omapi_listener_listen
changed type to isc_taskaction_t.
omapi_lib_init takes new taskmgr and socketmgr parameters.
count extra inner references if inner_reference is non-0, and
similar for outer references. This is because the handle table
might have another reference which foiled the overall logic.
do need isc/util.h
mutex and recv_lock no longer needed in connection; wait_lock used instead.
messages_expected no longer needed in connection.
no more omapi_ipv6
connection_send return value changed from void to isc_result_t
connection_wait no longer takes a timeout parameter
new private function, handle_destroy
include isc/region.h and new omapi/types.h
typedefs moved to omapi/types.h
define protocol port to 7912 so as not to conflict with dhcp server;
this clearly needs more thought. the default omapi port will need to be
server specific rather than library specific.
new public functions, omapi_listener_shutdown, omapi_data_getint.
changed API, omapi_string_totext, omapi_value_getint
ensure only one socket task is outstanding at a time.
allow remote port to be 0, will use OMAPI_PROTOCOL_PORT.
cleaned up error handling so that everything is freed when
something fails.
(an omapi manager).
overhaul of way connection locking is done.
clarified/fixed where connections can get disconnected.
omapi_value_asint renamed to omapi_value_getint (because
omapi_value_assstr was amusing but in questionable taste)
don't require an object in an OMAPI_OP_UPDATE message; thus the
message can be used just for notification. (though arguably
OMAPI_OP_STATUS can be used, with a bit more effort.)
free the notify_object if it exists.
signal the notify_object with "status" in preference to the value object.
directly.
note whether memory context is internal to the library so it can be
destroyed by omapi_lib_destroy.
destroy the handle table.
set destroyed pointers to null.
require omapi_lib_init only be called once (without omapi_lib_destroy).