diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-18 14:16:08 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-18 14:16:08 +0100 |
commit | c82f2781d2ed372e918ea5b5529ead57ff95fc2a (patch) | |
tree | db727881c9d83c8bcb8a5cb6f95dfd13517420ee /runtime/rsyslog.h | |
parent | 7d20954653fa0f8999822554dcb048ee60dbbe58 (diff) | |
download | rsyslog-c82f2781d2ed372e918ea5b5529ead57ff95fc2a.tar.gz rsyslog-c82f2781d2ed372e918ea5b5529ead57ff95fc2a.tar.xz rsyslog-c82f2781d2ed372e918ea5b5529ead57ff95fc2a.zip |
added skeleton for supporting epoll() API in netstream subsystem
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r-- | runtime/rsyslog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index a5e8cf5d..c5f7a9ea 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -107,6 +107,7 @@ typedef struct NetAddr netAddr_t; typedef struct netstrms_s netstrms_t; typedef struct netstrm_s netstrm_t; typedef struct nssel_s nssel_t; +typedef struct nspoll_s nspoll_t; typedef enum nsdsel_waitOp_e nsdsel_waitOp_t; typedef struct nsd_ptcp_s nsd_ptcp_t; typedef struct nsd_gtls_s nsd_gtls_t; @@ -114,9 +115,11 @@ typedef struct nsd_gsspi_s nsd_gsspi_t; typedef struct nsd_nss_s nsd_nss_t; typedef struct nsdsel_ptcp_s nsdsel_ptcp_t; typedef struct nsdsel_gtls_s nsdsel_gtls_t; +typedef struct nsdpoll_ptcp_s nsdpoll_ptcp_t; typedef struct wti_s wti_t; typedef obj_t nsd_t; typedef obj_t nsdsel_t; +typedef obj_t nsdpoll_t; typedef struct msg msg_t; typedef struct queue_s qqueue_t; typedef struct prop_s prop_t; @@ -148,6 +151,8 @@ typedef unsigned int u_int32_t; /* TODO: is this correct? */ typedef int socklen_t; #endif +typedef struct epoll_event epoll_event_t; + typedef char bool; /* I intentionally use char, to keep it slim so that many fit into the CPU cache! */ /* settings for flow control |