diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-18 11:49:51 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-18 11:49:51 +0200 |
commit | 961f2956e86c1dc4442ccbeb3951855e85a0b08d (patch) | |
tree | dd1db48602d1c145d1fd28a9d8482285a6564b87 /runtime/rsyslog.h | |
parent | a6a9148586df7bba12cbc0bc236605f83640932f (diff) | |
parent | 1daf8d492f932739b6fcde732812116c7666b2bc (diff) | |
download | rsyslog-961f2956e86c1dc4442ccbeb3951855e85a0b08d.tar.gz rsyslog-961f2956e86c1dc4442ccbeb3951855e85a0b08d.tar.bz2 rsyslog-961f2956e86c1dc4442ccbeb3951855e85a0b08d.zip |
Merge branch 'sock-abstract' into tls
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r-- | runtime/rsyslog.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index 868bb564..f7824006 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -61,8 +61,12 @@ /* define some base data types */ typedef unsigned char uchar;/* get rid of the unhandy "unsigned char" */ typedef struct thrdInfo thrdInfo_t; -typedef struct filed selector_t; /* TODO: this so far resides in syslogd.c, think about modularization */ +typedef struct obj_s obj_t; +typedef struct filed selector_t;/* TODO: this so far resides in syslogd.c, think about modularization */ typedef struct NetAddr netAddr_t; +typedef struct netstrm_s netstrm_t; +typedef struct nsd_ptcp_s nsd_ptcp_t; +typedef obj_t nsd_t; typedef struct msg msg_t; typedef struct interface_s interface_t; typedef struct objInfo_s objInfo_t; @@ -197,6 +201,11 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth RS_RET_MAIL_NO_TO = -2071, /**< recipient for mail destination is missing */ RS_RET_MAIL_NO_FROM = -2072, /**< sender for mail destination is missing */ RS_RET_INVALID_PRI = -2073, /**< PRI value is invalid */ + RS_RET_MALICIOUS_HNAME = -2074, /**< remote peer is trying malicious things with its hostname */ + RS_RET_ACCEPT_ERR = -2074, /**< error during accept() system call */ + RS_RET_INVALID_HNAME = -2075, /**< remote peer's hostname invalid or unobtainable */ + RS_RET_INVALID_PORT = -2076, /**< invalid port value */ + RS_RET_COULD_NOT_BIND = -2077, /**< could not bind socket, defunct */ /* RainerScript error messages (range 1000.. 1999) */ RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */ |