summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-10-05 16:10:27 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-10-05 16:10:27 +0200
commitc7e9e2123ee71fb868bbcff59225e009e21af590 (patch)
tree12ab52bb20cb34c9fcd36816e836a1959440d5fc /runtime/rsyslog.h
parent304ab88dd64b2ae46554fa5394aa8822194b1e95 (diff)
parentb5afa1a5be2909ed13f77ef0e0804bab75325198 (diff)
downloadrsyslog-c7e9e2123ee71fb868bbcff59225e009e21af590.tar.gz
rsyslog-c7e9e2123ee71fb868bbcff59225e009e21af590.tar.xz
rsyslog-c7e9e2123ee71fb868bbcff59225e009e21af590.zip
Merge branch 'v5-devel'
Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c runtime/rsyslog.h
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index cb77cbfa..a1b412a5 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -150,6 +150,8 @@ typedef struct parser_s parser_t;
typedef struct parserList_s parserList_t;
typedef struct strgen_s strgen_t;
typedef struct strgenList_s strgenList_t;
+typedef struct statsobj_s statsobj_t;
+typedef struct statsctr_s statsctr_t;
typedef rsRetVal (*prsf_t)(struct vmstk_s*, int); /* pointer to a RainerScript function */
typedef uint64 qDeqID; /* queue Dequeue order ID. 32 bits is considered dangerously few */
@@ -491,7 +493,13 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_EPOLL_CR_FAILED = -2173, /**< epoll_create() failed */
RS_RET_EPOLL_CTL_FAILED = -2174, /**< epoll_ctl() failed */
RS_RET_INTERNAL_ERROR = -2175, /**< rsyslogd internal error, unexpected code path reached */
- RS_RET_INVLD_CONF_OBJ= -2176, /**< invalid config object (e.g. $Begin conf statement) */
+ RS_RET_ERR_CRE_AFUX = -2176, /**< error creating AF_UNIX socket (and binding it) */
+ RS_RET_RATE_LIMITED = -2177, /**< some messages discarded due to exceeding a rate limit */
+ RS_RET_ERR_HDFS_WRITE = -2178, /**< error writing to HDFS */
+ RS_RET_ERR_HDFS_OPEN = -2179, /**< error during hdfsOpen (e.g. file does not exist) */
+ RS_RET_FILE_NOT_SPECIFIED = -2180, /**< file name not configured where this was required */
+
+ RS_RET_INVLD_CONF_OBJ= -2200, /**< invalid config object (e.g. $Begin conf statement) */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */