src/inc/common.h 1.159

1.159 2009/11/20 08:08:26 kent
Adding sqlMatchLike
Index: src/inc/common.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/common.h,v
retrieving revision 1.158
retrieving revision 1.159
diff -b -B -U 4 -r1.158 -r1.159
--- src/inc/common.h	12 Nov 2009 19:33:54 -0000	1.158
+++ src/inc/common.h	20 Nov 2009 08:08:26 -0000	1.159
@@ -711,8 +711,14 @@
  * * matches any string or no character.
  * ? matches any single character.
  * anything else etc must match the character exactly. */
 
+boolean sqlMatchLike(char *wildCard, char *string);
+/* Match using % and _ wildcards. */
+
+boolean anyWild(char *string);
+/* Return TRUE if any wild card characters in string. */
+
 char *memMatch(char *needle, int nLen, char *haystack, int hLen);
 /* Returns first place where needle (of nLen chars) matches
  * haystack (of hLen chars) */