src/inc/portable.h 1.27
1.27 2009/07/08 16:24:25 larrym
add listDirRegEx
Index: src/inc/portable.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/portable.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -B -U 4 -r1.26 -r1.27
--- src/inc/portable.h 7 Feb 2009 18:12:20 -0000 1.26
+++ src/inc/portable.h 8 Jul 2009 16:24:25 -0000 1.27
@@ -13,8 +13,14 @@
struct slName *listDir(char *dir, char *pattern);
/* Return an alphabetized list of all files that match
* the wildcard pattern in directory. */
+struct slName *listDirRegEx(char *dir, char *regEx, int flags);
+/* Return an alphabetized list of all files that match
+ * the regular expression pattern in directory.
+ * See REGCOMP(3) for flags (e.g. REG_ICASE) */
+
+
struct fileInfo
/* Info about a file. */
{
struct fileInfo *next; /* Next in list. */