summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-18 17:28:34 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-18 17:28:34 +0200
commit93f873277bfe5ebb309ff5e92f5dc7244ebd9f1a (patch)
tree0a1431d8ce318552e83cce38273015c5206155a3 /runtime/rsyslog.h
parentb81311ac70e4de0bd5c0b0286413ff1b527ef906 (diff)
downloadrsyslog-93f873277bfe5ebb309ff5e92f5dc7244ebd9f1a.tar.gz
rsyslog-93f873277bfe5ebb309ff5e92f5dc7244ebd9f1a.tar.xz
rsyslog-93f873277bfe5ebb309ff5e92f5dc7244ebd9f1a.zip
t-delete list implemented, queue store drivers updated...
... on the way to the ultra-reliable queue modes (redesign doc). This version does not really work, but is a good commit point. Next comes queue size calculation. DA mode does not yet work.
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 25f9eefe..3dd84ef6 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -67,6 +67,11 @@
/*#define CORE_FEATURE_whatever 2 ... and so on ... */
+/* some universal 64 bit define... */
+typedef long long int64;
+typedef long long unsigned uint64;
+typedef int64 number_t; /* type to use for numbers - TODO: maybe an autoconf option? */
+
/* define some base data types */
typedef unsigned char uchar;/* get rid of the unhandy "unsigned char" */
typedef struct aUsrp_s aUsrp_t;
@@ -98,11 +103,8 @@ typedef struct vmstk_s vmstk_t;
typedef struct batch_obj_s batch_obj_t;
typedef struct batch_s batch_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 */
-/* some universal 64 bit define... */
-typedef long long int64;
-typedef long long unsigned uint64;
-typedef int64 number_t; /* type to use for numbers - TODO: maybe an autoconf option? */
#ifdef __hpux
typedef unsigned int u_int32_t; /* TODO: is this correct? */