summaryrefslogtreecommitdiffstats
path: root/modules.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-24 16:07:38 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-24 16:07:38 +0000
commit085c780c551670055eade00cb7fd5766e6470ddf (patch)
tree3255932572e2a2ec125b6323cd0afb154b617ba5 /modules.c
parentebe8126ed8aa9031fa2aa0e03cbb9a0afeecdfad (diff)
downloadrsyslog-085c780c551670055eade00cb7fd5766e6470ddf.tar.gz
rsyslog-085c780c551670055eade00cb7fd5766e6470ddf.tar.xz
rsyslog-085c780c551670055eade00cb7fd5766e6470ddf.zip
TypeName is now pulled from the module itself
Diffstat (limited to 'modules.c')
-rw-r--r--modules.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules.c b/modules.c
index 1565b31c..e1c1a271 100644
--- a/modules.c
+++ b/modules.c
@@ -69,6 +69,18 @@ static void moduleDestruct(modInfo_t *pThis)
}
+/* get the state-name of a module. The state name is its name
+ * together with a short description of the module state (which
+ * is pulled from the module itself.
+ * rgerhards, 2007-07-24
+ * TODO: the actual state name is not yet pulled
+ */
+uchar *modGetStateName(modInfo_t *pThis)
+{
+ return(modGetName(pThis));
+}
+
+
/* get the name of a module
*/
uchar *modGetName(modInfo_t *pThis)