"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "omapip/message.c" between
dhcp-4.3.6.tar.gz and dhcp-4.3.6-P1.tar.gz

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

message.c  (dhcp-4.3.6):message.c  (dhcp-4.3.6-P1)
/* message.c /* message.c
Subroutines for dealing with message objects. */ Subroutines for dealing with message objects. */
/* /*
* Copyright (c) 2004,2007,2009,2014 by Internet Systems Consortium, Inc. ("ISC" ) * Copyright (c) 2004-2018 by 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 * Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies. * copyright notice and this permission notice appear in all copies.
* *
* 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
skipping to change at line 342 skipping to change at line 342
omapi_object_reference omapi_object_reference
((omapi_object_t **)&omapi_registered_messages, ((omapi_object_t **)&omapi_registered_messages,
(omapi_object_t *)n, MDL); (omapi_object_t *)n, MDL);
} }
if (n) if (n)
omapi_object_dereference ((omapi_object_t **)&n, MDL); omapi_object_dereference ((omapi_object_t **)&n, MDL);
return ISC_R_SUCCESS; return ISC_R_SUCCESS;
} }
#ifdef DEBUG_PROTOCOL #ifdef DEBUG_PROTOCOL
static const char *omapi_message_op_name(int op) { const char *omapi_message_op_name(int op) {
switch (op) { switch (op) {
case OMAPI_OP_OPEN: return "OMAPI_OP_OPEN"; case OMAPI_OP_OPEN: return "OMAPI_OP_OPEN";
case OMAPI_OP_REFRESH: return "OMAPI_OP_REFRESH"; case OMAPI_OP_REFRESH: return "OMAPI_OP_REFRESH";
case OMAPI_OP_UPDATE: return "OMAPI_OP_UPDATE"; case OMAPI_OP_UPDATE: return "OMAPI_OP_UPDATE";
case OMAPI_OP_STATUS: return "OMAPI_OP_STATUS"; case OMAPI_OP_STATUS: return "OMAPI_OP_STATUS";
case OMAPI_OP_DELETE: return "OMAPI_OP_DELETE"; case OMAPI_OP_DELETE: return "OMAPI_OP_DELETE";
case OMAPI_OP_NOTIFY: return "OMAPI_OP_NOTIFY"; case OMAPI_OP_NOTIFY: return "OMAPI_OP_NOTIFY";
default: return "(unknown op)"; default: return "(unknown op)";
} }
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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