summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-25 13:31:02 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-25 13:31:02 +0100
commit3fb01ebcc0da98fee5fa5f854fad5d347d3f5649 (patch)
treed54e1c433db2f0c6d45e7f5dbf91a10daff514ff /runtime/rsyslog.h
parent4e3589857a2b2667d4b9ad92fe152acb85283aca (diff)
parent41211495e5234c1ed4ccd408a4043915ad075771 (diff)
downloadrsyslog-3fb01ebcc0da98fee5fa5f854fad5d347d3f5649.tar.gz
rsyslog-3fb01ebcc0da98fee5fa5f854fad5d347d3f5649.tar.bz2
rsyslog-3fb01ebcc0da98fee5fa5f854fad5d347d3f5649.zip
Merge branch 'nspoll'
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index a5e8cf5d..1431c684 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
@@ -409,6 +414,11 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_NO_RULESET= -2158,/**< no ruleset name as specified where one was needed */
RS_RET_PARSER_NOT_FOUND = -2159,/**< parser with the specified name was not found */
RS_RET_COULD_NOT_PARSE = -2160,/**< (this) parser could not parse the message (no error, means try next one) */
+ RS_RET_EINTR = -2161, /**< EINTR occured during a system call (not necessarily an error) */
+ RS_RET_ERR_EPOLL = -2162, /**< epoll() returned with an unexpected error code */
+ RS_RET_ERR_EPOLL_CTL = -2163, /**< epol_ctll() returned with an unexpected error code */
+ RS_RET_TIMEOUT = -2164, /**< timeout occured during operation */
+ RS_RET_RCV_ERR = -2165, /**< error occured during socket rcv operation */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */