diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-29 15:40:40 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-29 15:40:40 +0200 |
commit | 40334847b685e6058be562b4436f72426637f4d8 (patch) | |
tree | b312baf018722872c5116e40b3aec891e513f0ca /plugins/imklog/imklog.h | |
parent | 7e7ee674bed138a19e8b7bdf962e1df5ae28128b (diff) | |
parent | 5a993ad7425bce33380ff10308f2ae93dadf8dae (diff) | |
download | rsyslog-40334847b685e6058be562b4436f72426637f4d8.tar.gz rsyslog-40334847b685e6058be562b4436f72426637f4d8.tar.bz2 rsyslog-40334847b685e6058be562b4436f72426637f4d8.zip |
Merge branch 'master-module'
Diffstat (limited to 'plugins/imklog/imklog.h')
-rw-r--r-- | plugins/imklog/imklog.h | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/plugins/imklog/imklog.h b/plugins/imklog/imklog.h index 7f6c810a..acfb50ab 100644 --- a/plugins/imklog/imklog.h +++ b/plugins/imklog/imklog.h @@ -31,16 +31,12 @@ /* we need to have the modConf type present in all submodules */ struct modConfData_s { - int dbgPrintSymbols; - int symbols_twice; - int use_syscall; - int symbol_lookup; - int bPermitNonKernel; + rsconf_t *pConf; int iFacilIntMsg; uchar *pszPath; int console_log_level; - char *symfile; - rsconf_t *pConf; + sbool bPermitNonKernel; + sbool configSetViaV2Method; }; /* interface to "drivers" @@ -54,21 +50,6 @@ rsRetVal klogWillRun(modConfData_t *pModConf); rsRetVal klogAfterRun(modConfData_t *pModConf); int klogFacilIntMsg(); -/* the following data members may be accessed by the "drivers" - * I admit this is not the cleanest way to doing things, but I honestly - * believe it is appropriate for the job that needs to be done. - * rgerhards, 2008-04-09 - */ -#if 0 -extern int symbols_twice; -extern int use_syscall; -extern int symbol_lookup; -extern char *symfile; -extern int console_log_level; -extern int dbgPrintSymbols; -extern uchar *pszPath; -#endif - /* the functions below may be called by the drivers */ rsRetVal imklogLogIntMsg(int priority, char *fmt, ...) __attribute__((format(printf,2, 3))); rsRetVal Syslog(int priority, uchar *msg, struct timeval *tp); |