summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-02-28 16:23:18 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-02-28 16:23:18 +0100
commitc0f92325c634fd3d0482f5d8bdc6650ab725cce1 (patch)
tree87073391e08087a17d2088b14523cdb63e57b524 /runtime/rsyslog.h
parentbf088c5c2ed06db1c765a96df3762a00ae44db9c (diff)
parent74a71e798efd58e20cc150b04de2613bf518eed4 (diff)
downloadrsyslog-c0f92325c634fd3d0482f5d8bdc6650ab725cce1.tar.gz
rsyslog-c0f92325c634fd3d0482f5d8bdc6650ab725cce1.tar.xz
rsyslog-c0f92325c634fd3d0482f5d8bdc6650ab725cce1.zip
Merge branch 'master' into master-tcpsrv-mt
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 17b20de2..9d3d0289 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -25,6 +25,7 @@
*/
#ifndef INCLUDED_RSYSLOG_H
#define INCLUDED_RSYSLOG_H
+#include <pthread.h>
#include "typedefs.h"
/* ############################################################# *
@@ -346,6 +347,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
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_ERR_WRKDIR = -2181, /**< problems with the rsyslog working directory */
RS_RET_INVLD_CONF_OBJ= -2200, /**< invalid config object (e.g. $Begin conf statement) */
RS_RET_ERR_LIBEE_INIT = -2201, /**< cannot obtain libee ctx */
@@ -427,6 +429,12 @@ typedef enum rsObjectID rsObjID;
#define RSFREEOBJ(x) {(x)->OID = OIDrsFreed; free(x);}
#endif
+#ifdef HAVE_PTHREAD_SETSCHEDPARAM
+extern struct sched_param default_sched_param;
+extern pthread_attr_t default_thread_attr;
+extern int default_thr_sched_policy;
+#endif
+
/* for the time being, we do our own portability handling here. It
* looks like autotools either does not yet support checks for it, or