summaryrefslogtreecommitdiff
path: root/common/comapi.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-10-10 22:05:53 +0000
committerTed Lemon <source@isc.org>2000-10-10 22:05:53 +0000
commiteebf58bc75e6218ebd2e2d61dc7239d78363ff03 (patch)
tree8cb12cee7df580f6ef576aa53cb2e90eda08c000 /common/comapi.c
parent52b2c640361a74fa9ff5dab97c38fcdb06cf40f7 (diff)
downloadisc-dhcp-eebf58bc75e6218ebd2e2d61dc7239d78363ff03.tar.gz
Add initializer arg to object type setup calls.
Diffstat (limited to 'common/comapi.c')
-rw-r--r--common/comapi.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/common/comapi.c b/common/comapi.c
index 0375e0ba..ff95f1c2 100644
--- a/common/comapi.c
+++ b/common/comapi.c
@@ -50,7 +50,7 @@
#ifndef lint
static char copyright[] =
-"$Id: comapi.c,v 1.5 2000/08/08 18:07:16 neild Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: comapi.c,v 1.6 2000/10/10 22:04:31 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -77,7 +77,7 @@ void dhcp_common_objects_setup ()
dhcp_group_lookup,
dhcp_group_create,
dhcp_group_remove, 0, 0, 0,
- sizeof (struct group_object));
+ sizeof (struct group_object), 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register group object type: %s",
isc_result_totext (status));
@@ -92,7 +92,7 @@ void dhcp_common_objects_setup ()
dhcp_subnet_lookup,
dhcp_subnet_create,
dhcp_subnet_remove, 0, 0, 0,
- sizeof (struct subnet));
+ sizeof (struct subnet), 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register subnet object type: %s",
isc_result_totext (status));
@@ -108,7 +108,7 @@ void dhcp_common_objects_setup ()
dhcp_shared_network_lookup,
dhcp_shared_network_create,
dhcp_shared_network_remove, 0, 0, 0,
- sizeof (struct shared_network));
+ sizeof (struct shared_network), 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register shared network object type: %s",
isc_result_totext (status));
@@ -124,7 +124,8 @@ void dhcp_common_objects_setup ()
dhcp_interface_create,
dhcp_interface_remove,
0, 0, 0,
- sizeof (struct interface_info));
+ sizeof (struct interface_info),
+ 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register interface object type: %s",
isc_result_totext (status));