diff options
author | Vladimir Levijev <vladimir.levijev@zabbix.com> | 2015-10-30 20:22:00 +0300 |
---|---|---|
committer | Vladimir Levijev <vladimir.levijev@zabbix.com> | 2015-10-30 20:22:00 +0300 |
commit | a8d2870e2a68eccc9b54c05c09e8257813ca22cd (patch) | |
tree | 4d32ea88f1e8a9182553786a0a3c739b5369bf10 /include/log.h | |
parent | 16e6dd7b49066436032caf902366e52e28ca85be (diff) |
...G...... [ZBX-6028] allow agent redirecting stdio by calling zbx_redirect_stdio()
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h index 016afd54580..5e3dd1a9e71 100644 --- a/include/log.h +++ b/include/log.h @@ -69,6 +69,11 @@ char *strerror_from_system(unsigned long error); #ifdef _WINDOWS char *strerror_from_module(unsigned long error, const wchar_t *module); + +#define zbx_redirect_stdio(filename) + +#else +void zbx_redirect_stdio(const char *filename); #endif void zbx_handle_log(const char *log_filename); |