1 /* @(#) $Id: ./src/win32/os_win.h, 2011/09/08 dcid Exp $
4 /* Copyright (C) 2009 Trend Micro Inc.
7 * This program is a free software; you can redistribute it
8 * and/or modify it under the terms of the GNU General Public
9 * License (version 2) as published by the FSF - Free Software
17 /** int InstallService(char *path)
18 * Install the OSSEC HIDS agent service.
20 int InstallService(char *path);
23 /** int UninstallService()
24 * Uninstall the OSSEC HIDS agent service.
26 int UninstallService();
29 /** int QueryService():
30 * Checks if service is running.
31 * Return 1 on success (running) or 0 if not.
33 int CheckServiceRunning();
36 /* os_start_service: Starts ossec service */
37 int os_start_service();
40 /* os_stop_service: Stops ossec service */
41 int os_stop_service();
44 /** int os_WinMain(int argc, char **argv)
45 * Starts the process from the services.
47 int os_WinMain(int argc, char **argv);
50 /** int local_start();
51 * Locally starts the process (after the services initialization).