summaryrefslogtreecommitdiff
path: root/includes/omapip
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-02-12 20:46:19 +0000
committerTed Lemon <source@isc.org>2001-02-12 20:46:19 +0000
commit4eed13913dc4af2c6dc0abe478813076263ef1c9 (patch)
tree8fcc838cf786cc13f3b6fcc85e8128bbda730bd7 /includes/omapip
parent009c027917f60f1c3c9d926b22e84b959cae599f (diff)
downloadisc-dhcp-4eed13913dc4af2c6dc0abe478813076263ef1c9.tar.gz
Trace-related changes.
Diffstat (limited to 'includes/omapip')
-rw-r--r--includes/omapip/omapip_p.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/includes/omapip/omapip_p.h b/includes/omapip/omapip_p.h
index 4fe9a9ea..9840dcab 100644
--- a/includes/omapip/omapip_p.h
+++ b/includes/omapip/omapip_p.h
@@ -3,7 +3,7 @@
Private master include file for the OMAPI library. */
/*
- * Copyright (c) 1996-2000 Internet Software Consortium.
+ * Copyright (c) 1996-2001 Internet Software Consortium.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -75,6 +75,7 @@
#include <omapip/convert.h>
#include <omapip/hash.h>
#include <omapip/omapip.h>
+#include <omapip/trace.h>
/* OMAPI protocol header, version 1.00 */
typedef struct {
@@ -179,6 +180,7 @@ typedef struct __omapi_listener_object {
typedef struct __omapi_connection_object {
OMAPI_OBJECT_PREAMBLE;
int socket; /* Connection socket. */
+ int index;
omapi_connection_state_t state;
struct sockaddr_in remote_addr;
struct sockaddr_in local_addr;
@@ -261,6 +263,15 @@ isc_result_t omapi_connection_sign_data (int mode,
const unsigned char *data,
const unsigned len,
omapi_typed_data_t **result);
+isc_result_t omapi_listener_connect (omapi_connection_object_t **obj,
+ omapi_listener_object_t *listener,
+ int socket,
+ struct sockaddr_in *remote_addr);
+void omapi_listener_trace_setup (void);
+void omapi_connection_register (omapi_connection_object_t *,
+ const char *, int);
+OMAPI_ARRAY_TYPE_DECL(omapi_listener, omapi_listener_object_t);
+OMAPI_ARRAY_TYPE_DECL(omapi_connection, omapi_connection_object_t);
extern int log_priority;
extern int log_perror;