summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-10-06 10:08:45 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-10-06 10:08:45 +0000
commitd78b0ebd52e5527d62834158f52127dae61fc790 (patch)
tree18add6945ecc2024bbca8f535c27b6afddbe55f1 /rsyslog.h
parent5a90cbdd7d0a52e1117a42bfa2a467d96e973cef (diff)
downloadrsyslog-d78b0ebd52e5527d62834158f52127dae61fc790.tar.gz
rsyslog-d78b0ebd52e5527d62834158f52127dae61fc790.tar.xz
rsyslog-d78b0ebd52e5527d62834158f52127dae61fc790.zip
begin implementing RFC 3195 support
Diffstat (limited to 'rsyslog.h')
-rw-r--r--rsyslog.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/rsyslog.h b/rsyslog.h
index d2775619..339cf8ae 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -9,8 +9,7 @@
/* ############################################################# *
* # Config Settings # *
* ############################################################# */
-/* from liblogging config.h */
-#define STRINGBUF_ALLOC_INCREMENT 128
+#define RS_STRINGBUF_ALLOC_INCREMENT 128
/* ############################################################# *
* # End Config Settings # *
@@ -53,11 +52,11 @@ typedef enum rsRetVal_ rsRetVal; /**< friendly type for global return value */
*/
enum rsObjectID
{
- OID_Freed = -1, /**< assigned, when an object is freed. If this
+ OIDrsFreed = -1, /**< assigned, when an object is freed. If this
* is seen during a method call, this is an
* invalid object pointer!
*/
- OID_Invalid = 0, /**< value created by calloc(), so do not use ;) */
+ OIDrsInvalid = 0, /**< value created by calloc(), so do not use ;) */
/* The 0xEFCD is a debug aid. It helps us find object IDs in memory
* dumps (on X86, this is CDEF in the dump ;)
* If you are on an embedded device and you would like to save space
@@ -84,6 +83,6 @@ typedef enum rsObjectID rsObjID;
#ifdef NDEBUG
#define RSFREEOBJ(x) free(x)
#else
-#define RSFREEOBJ(x) {(x)->OID = OID_Freed; free(x);}
+#define RSFREEOBJ(x) {(x)->OID = OIDrsFreed; free(x);}
#endif
#endif