d75210efe63eb3a25e5b53ee0aa3f96293ceeb88
angie
  Mon Feb 25 14:32:38 2013 -0800
Libified asColumnFindIx. (#6152)
diff --git src/inc/asParse.h src/inc/asParse.h
index 68b5c8e..8427c83 100644
--- src/inc/asParse.h
+++ src/inc/asParse.h
@@ -98,23 +98,27 @@
 void asObjectFree(struct asObject **as);
 /* free a single asObject */
 
 void asObjectFreeList(struct asObject **as);
 /* free a list of asObject */
 
 void asColumnFree(struct asColumn **as);
 /* free a single asColumn */
 
 void asColumnFreeList(struct asColumn **as);
 /* free a list of asColumn */
 
 struct asColumn *asColumnFind(struct asObject *as, char *name);
 /* Return column of given name from object, or NULL if not found. */
 
+int asColumnFindIx(struct asColumn *list, char *name);
+/* Return index of first element of asColumn list that matches name.
+ * Return -1 if not found. */
+
 boolean asCompareObjs(char *name1, struct asObject *as1, char *name2, struct asObject *as2, int numColumnsToCheck,
  int *retNumColumnsSame, boolean abortOnDifference);
 /* Compare as-objects as1 and as2 making sure several important fields show they are the same name and type.
  * If difference found, print it to stderr.  If abortOnDifference, errAbort.
  * Othewise, return TRUE if the objects columns match through the first numColumnsToCheck fields. 
  * If retNumColumnsSame is not NULL, then it will be set to the number of contiguous matching columns. */
 
 #endif /* ASPARSE_H */