#ifndef lint
static char copyright[] =
-"$Id: omapi.c,v 1.38 2000/10/01 21:46:24 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: omapi.c,v 1.39 2000/10/10 19:14:37 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
0, 0,
#endif
0,
- sizeof (struct lease));
+ sizeof (struct lease), 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register lease object type: %s",
isc_result_totext (status));
dhcp_class_lookup,
dhcp_class_create,
dhcp_class_remove, 0, 0, 0,
- sizeof (struct class));
+ sizeof (struct class), 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register class object type: %s",
isc_result_totext (status));
dhcp_pool_lookup,
dhcp_pool_create,
dhcp_pool_remove, 0, 0, 0,
- sizeof (struct pool));
+ sizeof (struct pool), 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register pool object type: %s",
dhcp_host_lookup,
dhcp_host_create,
dhcp_host_remove, 0, 0, 0,
- sizeof (struct host_decl));
+ sizeof (struct host_decl), 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register host object type: %s",
dhcp_failover_state_create,
dhcp_failover_state_remove,
0, 0, 0,
- sizeof (dhcp_failover_state_t));
+ sizeof (dhcp_failover_state_t),
+ 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register failover state object type: %s",
dhcp_failover_link_signal,
dhcp_failover_link_stuff_values,
0, 0, 0, 0, 0, 0,
- sizeof (dhcp_failover_link_t));
+ sizeof (dhcp_failover_link_t), 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register failover link object type: %s",
dhcp_failover_listener_stuff,
0, 0, 0, 0, 0, 0,
sizeof
- (dhcp_failover_listener_t));
+ (dhcp_failover_listener_t), 0);
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register failover listener object type: %s",
return status;
status = (omapi_connection_copyin
(c, &host -> interface.hbuf [1],
- (unsigned long)(host -> interface.hlen)));
+ (unsigned long)(host -> interface.hlen - 1)));
if (status != ISC_R_SUCCESS)
return status;