From 20916cae759a24cc5c3af899e701102da70b0a33 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Tue, 16 May 2000 23:03:49 +0000 Subject: - Fix all the OMAPI objects in the DHCP server and client that weren't being correctly reference-counted. - Make and use object-specific allocators. - Add reference/dereference support to hash functions and to timeout functions. --- dhcpctl/dhcpctl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dhcpctl/dhcpctl.c') diff --git a/dhcpctl/dhcpctl.c b/dhcpctl/dhcpctl.c index 638a9bfe..e80402c9 100644 --- a/dhcpctl/dhcpctl.c +++ b/dhcpctl/dhcpctl.c @@ -60,14 +60,18 @@ dhcpctl_status dhcpctl_initialize () dhcpctl_callback_get_value, dhcpctl_callback_destroy, dhcpctl_callback_signal_handler, - dhcpctl_callback_stuff_values, 0, 0, 0); + dhcpctl_callback_stuff_values, + 0, 0, 0, 0, 0, + sizeof (dhcpctl_callback_object_t)); omapi_object_type_register (&dhcpctl_remote_type, "dhcpctl-remote", dhcpctl_remote_set_value, dhcpctl_remote_get_value, dhcpctl_remote_destroy, dhcpctl_remote_signal_handler, - dhcpctl_remote_stuff_values, 0, 0, 0); + dhcpctl_remote_stuff_values, + 0, 0, 0, 0, 0, + sizeof (dhcpctl_remote_object_t)); return ISC_R_SUCCESS; } -- cgit v1.2.1