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=a84e445d11cb963978b87e77d2e2b374bcee4476;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;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 a84e445..0ee2b24 --- a/src/win32/os_win.h +++ b/src/win32/os_win.h @@ -1,55 +1,36 @@ -/* @(#) $Id: os_win.h,v 1.8 2009/06/24 18:53:10 dcid Exp $ */ - /* Copyright (C) 2009 Trend Micro Inc. * All rights reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation */ #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 */