X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fwin32%2Fos_win.h;h=0ee2b2416f99938520e92c87853c84053f336692;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=70934f1fb80b0fb9f6723daf4287f38014a7db3a;hpb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;p=ossec-hids.git diff --git a/src/win32/os_win.h b/src/win32/os_win.h old mode 100755 new mode 100644 index 70934f1..0ee2b24 --- a/src/win32/os_win.h +++ b/src/win32/os_win.h @@ -1,6 +1,3 @@ -/* @(#) $Id: ./src/win32/os_win.h, 2011/09/08 dcid Exp $ - */ - /* Copyright (C) 2009 Trend Micro Inc. * All rights reserved. * @@ -13,44 +10,27 @@ #ifndef _OS_WIN__H #define _OS_WIN__H - -/** int InstallService(char *path) - * Install the OSSEC HIDS agent service. - */ +/* Install the OSSEC-HIDS agent service */ int InstallService(char *path); - -/** int UninstallService() - * Uninstall the OSSEC HIDS agent service. - */ +/* Uninstall the OSSEC-HIDS agent service */ int UninstallService(); - -/** int QueryService(): - * Checks if service is running. - * Return 1 on success (running) or 0 if not. +/* Check if the OSSEC-HIDS agent service is running + * Returns 1 on success (running) or 0 if not running */ int CheckServiceRunning(); - -/* os_start_service: Starts ossec service */ +/* Start OSSEC-HIDS service */ int os_start_service(); - -/* os_stop_service: Stops ossec service */ +/* Stop OSSEC-HIDS service */ int os_stop_service(); - -/** int os_WinMain(int argc, char **argv) - * Starts the process from the services. - */ +/* Start the process from the services */ int os_WinMain(int argc, char **argv); - -/** int local_start(); - * Locally starts the process (after the services initialization). - */ +/* Locally start the process (after the services initialization) */ int local_start(); #endif -/* EOF */