summaryrefslogtreecommitdiffstats
path: root/glbl.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-04 08:34:31 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-04 08:34:31 +0000
commitf5250a3a92ec4c1738556f3cc5139dbc15579add (patch)
tree796ab385480e9d1cb7079c4c3b90378b0e254466 /glbl.h
parent54751c7e6e374c130d6d6d5cee5db493f7919fef (diff)
downloadrsyslog-f5250a3a92ec4c1738556f3cc5139dbc15579add.tar.gz
rsyslog-f5250a3a92ec4c1738556f3cc5139dbc15579add.tar.xz
rsyslog-f5250a3a92ec4c1738556f3cc5139dbc15579add.zip
changed command line processing. -v, -M, -c options are now parsed and
processed before all other options. Inter-option dependencies have been relieved. Among others, permits to specify intial module load path via -M only (not the environment) which makes it much easier to work with non-standard module library locations. Thanks to varmojfekoj for suggesting this change. Matches bugzilla bug 55.
Diffstat (limited to 'glbl.h')
-rw-r--r--glbl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/glbl.h b/glbl.h
index fb55fb76..6d08ddd5 100644
--- a/glbl.h
+++ b/glbl.h
@@ -33,6 +33,7 @@
#define glblGetIOBufSize() 4096 /* size of the IO buffer, e.g. for strm class */
+extern uchar *glblModPath; /* module load path */
extern uchar *pszWorkDir;
#define glblGetWorkDir() (pszWorkDir == NULL ? (uchar*) "" : pszWorkDir)