summaryrefslogtreecommitdiff
path: root/includes/omapip
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2010-09-07 22:59:23 +0000
committerShawn Routhier <sar@isc.org>2010-09-07 22:59:23 +0000
commit4a5098e93f1a94d1e188e0ae73694dbbc6c4535c (patch)
tree9afec66d08e976b856f01b660bd7ba16317b4c85 /includes/omapip
parentf07d0fb5bc69ddb269df83f8d90d4968590e3559 (diff)
downloadisc-dhcp-4a5098e93f1a94d1e188e0ae73694dbbc6c4535c.tar.gz
Add code to clear the pointer to an object in an OMAPI handle when the
object is freed due to a dereference. [ISC-Bugs #21306]
Diffstat (limited to 'includes/omapip')
-rw-r--r--includes/omapip/omapip_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/omapip/omapip_p.h b/includes/omapip/omapip_p.h
index 6376cdfa..8671d489 100644
--- a/includes/omapip/omapip_p.h
+++ b/includes/omapip/omapip_p.h
@@ -3,7 +3,8 @@
Private master include file for the OMAPI library. */
/*
- * Copyright (c) 2004,2007,2009 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2009-2010 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2004,2007 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
@@ -281,6 +282,8 @@ void omapi_connection_register (omapi_connection_object_t *,
OMAPI_ARRAY_TYPE_DECL(omapi_listener, omapi_listener_object_t);
OMAPI_ARRAY_TYPE_DECL(omapi_connection, omapi_connection_object_t);
+isc_result_t omapi_handle_clear(omapi_handle_t);
+
extern int log_priority;
extern int log_perror;
extern void (*log_cleanup) (void);