"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "common/comapi.c" between
dhcp-4.3.6-P1.tar.gz and dhcp-4.4.1.tar.gz

About: ISC DHCP implements the "Dynamic Host Configuration Protocols" for connection to a local network. 4.4.x release series.

comapi.c  (dhcp-4.3.6-P1):comapi.c  (dhcp-4.4.1)
/* omapi.c /* omapi.c
OMAPI object interfaces for the DHCP server. */ OMAPI object interfaces for the DHCP server. */
/* /*
* Copyright (c) 2004-2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2004-2017 Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1999-2003 by Internet Software Consortium * Copyright (c) 1999-2003 by Internet Software Consortium
* *
* Permission to use, copy, modify, and distribute this software for any * This Source Code Form is subject to the terms of the Mozilla Public
* purpose with or without fee is hereby granted, provided that the above * License, v. 2.0. If a copy of the MPL was not distributed with this
* copyright notice and this permission notice appear in all copies. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
* *
* Internet Systems Consortium, Inc. * Internet Systems Consortium, Inc.
skipping to change at line 45 skipping to change at line 45
#include "dhcpd.h" #include "dhcpd.h"
#include <omapip/omapip_p.h> #include <omapip/omapip_p.h>
OMAPI_OBJECT_ALLOC (subnet, struct subnet, dhcp_type_subnet) OMAPI_OBJECT_ALLOC (subnet, struct subnet, dhcp_type_subnet)
OMAPI_OBJECT_ALLOC (shared_network, struct shared_network, OMAPI_OBJECT_ALLOC (shared_network, struct shared_network,
dhcp_type_shared_network) dhcp_type_shared_network)
OMAPI_OBJECT_ALLOC (group_object, struct group_object, dhcp_type_group) OMAPI_OBJECT_ALLOC (group_object, struct group_object, dhcp_type_group)
OMAPI_OBJECT_ALLOC (dhcp_control, dhcp_control_object_t, dhcp_type_control) OMAPI_OBJECT_ALLOC (dhcp_control, dhcp_control_object_t, dhcp_type_control)
omapi_object_type_t *dhcp_type_interface;
omapi_object_type_t *dhcp_type_group; omapi_object_type_t *dhcp_type_group;
omapi_object_type_t *dhcp_type_shared_network; omapi_object_type_t *dhcp_type_shared_network;
omapi_object_type_t *dhcp_type_subnet; omapi_object_type_t *dhcp_type_subnet;
omapi_object_type_t *dhcp_type_control; omapi_object_type_t *dhcp_type_control;
dhcp_control_object_t *dhcp_control_object; dhcp_control_object_t *dhcp_control_object;
void dhcp_common_objects_setup () void dhcp_common_objects_setup ()
{ {
isc_result_t status; isc_result_t status;
 End of changes. 3 change blocks. 
5 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)