summaryrefslogtreecommitdiffstats
path: root/runtime/modules.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-07-20 10:47:24 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-07-20 10:47:24 +0200
commita7e3afb20b461f608f478e8fca15b02e67d6d9c3 (patch)
tree6cdff21432db654f5d9583b17659f19f6a383a9f /runtime/modules.h
parent02d44ba72d450199838dfa25eafcdf8c759ee5d4 (diff)
downloadrsyslog-a7e3afb20b461f608f478e8fca15b02e67d6d9c3.tar.gz
rsyslog-a7e3afb20b461f608f478e8fca15b02e67d6d9c3.tar.xz
rsyslog-a7e3afb20b461f608f478e8fca15b02e67d6d9c3.zip
milestone: added module config names
Diffstat (limited to 'runtime/modules.h')
-rw-r--r--runtime/modules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/modules.h b/runtime/modules.h
index a62b1750..1579fb86 100644
--- a/runtime/modules.h
+++ b/runtime/modules.h
@@ -12,7 +12,7 @@
*
* File begun on 2007-07-22 by RGerhards
*
- * Copyright 2007-2009 Rainer Gerhards and Adiscon GmbH.
+ * Copyright 2007-2011 Rainer Gerhards and Adiscon GmbH.
*
* This file is part of the rsyslog runtime library.
*
@@ -99,6 +99,7 @@ struct modInfo_s {
eModLinkType_t eLinkType;
eModKeepType_t eKeepType; /* keep the module dynamically linked on unload */
uchar* pszName; /* printable module name, e.g. for dbgprintf */
+ uchar* cnfName; /* name to be used in config statements (e.g. 'name="omusrmsg"') */
unsigned uRefCnt; /* reference count for this module; 0 -> may be unloaded */
/* functions supported by all types of modules */
rsRetVal (*modInit)(int, int*, rsRetVal(**)()); /* initialize the module */