Merge commit 'v2.5.1'
[ossec-hids.git] / src / rootcheck / rootcheck.h
index 5aa42fa..3d9af73 100755 (executable)
@@ -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);