X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Frootcheck%2Frootcheck.h;fp=src%2Frootcheck%2Frootcheck.h;h=3d9af730947e12c07888af54fa97654b1af488e1;hp=5aa42faf2b6bed025de5f47b0965640597433340;hb=a62b46c229549212d536867b7e5e24d7576ebe8b;hpb=d623b82886b9b5fbba3fa27c3bfac51f3f8af108 diff --git a/src/rootcheck/rootcheck.h b/src/rootcheck/rootcheck.h index 5aa42fa..3d9af73 100755 --- a/src/rootcheck/rootcheck.h +++ b/src/rootcheck/rootcheck.h @@ -1,11 +1,11 @@ -/* @(#) $Id: rootcheck.h,v 1.34 2009/06/24 18:53:07 dcid Exp $ */ +/* @(#) $Id$ */ /* Copyright (C) 2009 Trend Micro Inc. * All right 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 */ @@ -55,6 +55,9 @@ int rk_check_dir(char *dir, char *file, char *pattern); /* pt_matches: Checks if pattern is present on string */ int pt_matches(char *str, char *pattern); +/* pt_check_negate: checks if the patterns is made up + * completely of negate matches */ +int pt_check_negate(char *pattern); /* common is_file: Check if a file exist (using stat, fopen and opendir) */ int is_file(char *file_name);