*
* 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 <stdio.h>
#include <string.h>
#include <stdlib.h>
-
#include "os_regex.h"
+
/** int OS_Match2(char *pattern, char *str) v0.4
*
* This function is a wrapper around the compile/execute
* only going to be used once.
* Returns 1 on success or 0 on failure.
*/
-int OS_Match2(char *pattern, char *str)
+int OS_Match2(const char *pattern, const char *str)
{
int r_code = 0;
OSMatch reg;
OSMatch_FreePattern(®);
}
-
+
return(r_code);
}
-
/* EOF */