new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / win32 / os_win.h
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All rights reserved.
3  *
4  * This program is a free software; you can redistribute it
5  * and/or modify it under the terms of the GNU General Public
6  * License (version 2) as published by the FSF - Free Software
7  * Foundation
8  */
9
10 #ifndef _OS_WIN__H
11 #define _OS_WIN__H
12
13 /* Install the OSSEC-HIDS agent service */
14 int InstallService(char *path);
15
16 /* Uninstall the OSSEC-HIDS agent service */
17 int UninstallService();
18
19 /* Check if the OSSEC-HIDS agent service is running
20  * Returns 1 on success (running) or 0 if not running
21  */
22 int CheckServiceRunning();
23
24 /* Start OSSEC-HIDS service */
25 int os_start_service();
26
27 /* Stop OSSEC-HIDS service */
28 int os_stop_service();
29
30 /* Start the process from the services */
31 int os_WinMain(int argc, char **argv);
32
33 /* Locally start the process (after the services initialization) */
34 int local_start();
35
36 #endif