Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandrs Saveljevs <git-no-reply@zabbix.com>2011-07-07 14:43:11 +0400
committerAleksandrs Saveljevs <git-no-reply@zabbix.com>2011-07-07 14:43:11 +0400
commit14969778ea7951ee98f504e635eea8a061318b3f (patch)
treefdf33415e1d6be083ff276e3c6f969e77364b8a4 /include/pid.h
parentc4522d3e243027fac3d1cf3a878318a6ae7bc5f2 (diff)
- [ZBXNEXT-816] added support for reloading configuration cache from the command line
[svn merge svn://svn.zabbix.com/branches/1.8 -c 20454]
Diffstat (limited to 'include/pid.h')
-rw-r--r--include/pid.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/pid.h b/include/pid.h
index 02d99591f0d..32094122d90 100644
--- a/include/pid.h
+++ b/include/pid.h
@@ -20,11 +20,12 @@
#ifndef ZABBIX_PID_H
#define ZABBIX_PID_H
-#if defined(_WINDOWS)
+#ifdef _WINDOWS
# error "This module allowed only for Unix OS"
-#endif /* _WINDOWS */
+#endif
int create_pid_file(const char *pidfile);
+int read_pid_file(const char *pidfile, pid_t *pid, char *error, size_t max_error_len);
void drop_pid_file(const char *pidfile);
#endif