This commit is contained in:
Michael Graff
1998-11-10 01:56:44 +00:00
parent 91c21a94b8
commit bb039bc91e
3 changed files with 237 additions and 68 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: socket.h,v 1.2 1998/11/06 01:45:35 explorer Exp $ */
/* $Id: socket.h,v 1.3 1998/11/10 01:56:44 explorer Exp $ */
#ifndef ISC_SOCKET_H
#define ISC_SOCKET_H 1
@@ -82,6 +82,11 @@ typedef struct isc_socketevent {
int addrlength; /* length of address */
} *isc_socketevent_t;
typedef struct isc_socket_newconev {
struct isc_event common;
isc_socket_t newsocket;
} *isc_socket_newconnev_t;
#define ISC_SOCKEVENT_ANYEVENT (0)
#define ISC_SOCKEVENT_RECVDONE (ISC_EVENTCLASS_SOCKET + 1)
#define ISC_SOCKEVENT_SENDDONE (ISC_EVENTCLASS_SOCKET + 2)