X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=blobdiff_plain;f=src%2Fwin32%2Fsetup-shared.h;h=fca770d218e7bee58bb34bc242a7c3baecd1d0ef;hb=HEAD;hp=581a893ac2d52c9f59d33e924a924b1243f19d8a;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/win32/setup-shared.h b/src/win32/setup-shared.h old mode 100755 new mode 100644 index 581a893..fca770d --- a/src/win32/setup-shared.h +++ b/src/win32/setup-shared.h @@ -1,14 +1,11 @@ -/* @(#) $Id: setup-shared.h,v 1.4 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 */ - #include #include @@ -28,10 +25,10 @@ #define OS_MAXSTR 1024 -/* Checks if a file exist. */ +/* Check if a file exists */ int fileexist(char *file); -/* Grep for a string in a file. */ +/* Grep for a string in a file */ int dogrep(char *file, char *str); /* Check if dir exists */ @@ -39,6 +36,3 @@ int direxist(char *dir); /* Get Windows main directory */ void get_win_dir(char *file, int f_size); - - -/* EOF */