1 /* Copyright (C) 2009 Trend Micro Inc.
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
13 /* Install the OSSEC-HIDS agent service */
14 int InstallService(char *path);
16 /* Uninstall the OSSEC-HIDS agent service */
17 int UninstallService();
19 /* Check if the OSSEC-HIDS agent service is running
20 * Returns 1 on success (running) or 0 if not running
22 int CheckServiceRunning();
24 /* Start OSSEC-HIDS service */
25 int os_start_service();
27 /* Stop OSSEC-HIDS service */
28 int os_stop_service();
30 /* Start the process from the services */
31 int os_WinMain(int argc, char **argv);
33 /* Locally start the process (after the services initialization) */