diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2015-12-10 11:08:20 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2015-12-10 11:08:20 +0300 |
commit | 75a690bf437945f9a7f2d9c42febfbc72aed0023 (patch) | |
tree | 0f9088ccacac8481bb1cc934cf0360d64b44a512 /include/service.h | |
parent | 6d09c324953c3bb12a7ae758fa870e44fa52fed6 (diff) |
...G...... [ZBXNEXT-611] added support for --foreground option to windows agent
Diffstat (limited to 'include/service.h')
-rw-r--r-- | include/service.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/service.h b/include/service.h index 1aa783eeeba..61436dbe714 100644 --- a/include/service.h +++ b/include/service.h @@ -28,7 +28,7 @@ extern ZBX_THREAD_HANDLE *threads; -void service_start(); +void service_start(int flags); int ZabbixCreateService(const char *path, int multiple_agents); int ZabbixRemoveService(); @@ -45,6 +45,6 @@ int application_status; /* required for closing application from service */ #define ZBX_IS_RUNNING() (ZBX_APP_RUNNING == application_status) #define ZBX_DO_EXIT() application_status = ZBX_APP_STOPPED -#define START_MAIN_ZABBIX_ENTRY(a, u) service_start() +#define START_MAIN_ZABBIX_ENTRY(a, user, flags) service_start(flags) #endif /* ZABBIX_SERVICE_H */ |