1 /* @(#) $Id: os_win.h,v 1.8 2009/06/24 18:53:10 dcid Exp $ */
3 /* Copyright (C) 2009 Trend Micro Inc.
6 * This program is a free software; you can redistribute it
7 * and/or modify it under the terms of the GNU General Public
8 * License (version 3) as published by the FSF - Free Software
16 /** int InstallService(char *path)
17 * Install the OSSEC HIDS agent service.
19 int InstallService(char *path);
22 /** int UninstallService()
23 * Uninstall the OSSEC HIDS agent service.
25 int UninstallService();
28 /** int QueryService():
29 * Checks if service is running.
30 * Return 1 on success (running) or 0 if not.
32 int CheckServiceRunning();
35 /* os_start_service: Starts ossec service */
36 int os_start_service();
39 /* os_stop_service: Stops ossec service */
40 int os_stop_service();
43 /** int os_WinMain(int argc, char **argv)
44 * Starts the process from the services.
46 int os_WinMain(int argc, char **argv);
49 /** int local_start();
50 * Locally starts the process (after the services initialization).