2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

define socket types in types.h

This commit is contained in:
Bob Halley 1999-10-05 21:22:02 +00:00
parent cda7ae2eec
commit 66100d11b5
2 changed files with 4 additions and 4 deletions

View File

@ -60,6 +60,7 @@
***/
#include <isc/lang.h>
#include <isc/types.h>
#include <isc/boolean.h>
#include <isc/bufferlist.h>
#include <isc/result.h>
@ -87,10 +88,6 @@ ISC_LANG_BEGINDECLS
*** Types
***/
typedef struct isc_socket isc_socket_t;
typedef struct isc_socketmgr isc_socketmgr_t;
typedef struct isc_socketevent isc_socketevent_t;
struct isc_socketevent {
ISC_EVENT_COMMON(isc_socketevent_t);
isc_result_t result; /* OK, EOF, whatever else */

View File

@ -34,6 +34,9 @@ typedef unsigned int isc_eventtype_t;
typedef struct isc_event isc_event_t;
typedef ISC_LIST(struct isc_event) isc_eventlist_t;
typedef struct isc_task isc_task_t;
typedef struct isc_socket isc_socket_t;
typedef struct isc_socketmgr isc_socketmgr_t;
typedef struct isc_socketevent isc_socketevent_t;
typedef struct isc_taskmgr isc_taskmgr_t;
typedef struct isc_timer isc_timer_t;
typedef struct isc_timermgr isc_timermgr_t;