diff options
author | Ted Lemon <source@isc.org> | 2000-05-16 23:03:49 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-05-16 23:03:49 +0000 |
commit | 20916cae759a24cc5c3af899e701102da70b0a33 (patch) | |
tree | edf7bc71c7dd7cf417d0af5b756692377bd398c6 /dhcpctl/dhcpctl.c | |
parent | 7deff076431473fc42497582cf47df14c89533f2 (diff) | |
download | isc-dhcp-20916cae759a24cc5c3af899e701102da70b0a33.tar.gz |
- 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.
Diffstat (limited to 'dhcpctl/dhcpctl.c')
-rw-r--r-- | dhcpctl/dhcpctl.c | 8 |
1 files changed, 6 insertions, 2 deletions
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; } |