X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=blobdiff_plain;f=src%2Fwin32%2Fos_win.h;h=0ee2b2416f99938520e92c87853c84053f336692;hb=HEAD;hp=ab5d4ddd0a73097bebf4dfc7f089dec17daf44ba;hpb=301048b51990573e58a30dc4a5bb4ec285cad554;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 ab5d4dd..0ee2b24 --- a/src/win32/os_win.h +++ b/src/win32/os_win.h @@ -1,5 +1,3 @@ -/* @(#) $Id$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All rights reserved. * @@ -12,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); +/* Uninstall the OSSEC-HIDS agent service */ +int UninstallService(); -/** int UninstallService() - * 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 */