src/inc/obscure.h 1.34
1.34 2009/11/25 07:16:38 kent
Adding 'hashThisEqThatLine.'
Index: src/inc/obscure.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/obscure.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -b -B -U 4 -r1.33 -r1.34
--- src/inc/obscure.h 24 Nov 2009 15:36:22 -0000 1.33
+++ src/inc/obscure.h 25 Nov 2009 07:16:38 -0000 1.34
@@ -114,8 +114,14 @@
struct hash *hashVarLine(char *line, int lineIx);
/* Return a symbol table from a line of form:
* var1=val1 var2='quoted val2' var3="another val" */
+struct hash *hashThisEqThatLine(char *line, int lineIx, boolean firstStartsWIthLetter);
+/* Return a symbol table from a line of form:
+ * 1-this1=val1 2-this='quoted val2' var3="another val"
+ * If firstStartsWithLetter is true, then the left side of the equals must start with
+ * and equals. */
+
struct hash *hashWordsInFile(char *fileName, int hashSize);
/* Create a hash of space delimited words in file.
* hashSize is as in hashNew() - pass 0 for default. */