src/hg/hgTables/hgTables.h 1.128
1.128 2009/03/17 04:28:39 kent
Adding parameter to getHti, and creating a hti object for bigBed tables out of the associated .as information.
Index: src/hg/hgTables/hgTables.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/hgTables.h,v
retrieving revision 1.127
retrieving revision 1.128
diff -b -B -U 4 -r1.127 -r1.128
--- src/hg/hgTables/hgTables.h 16 Mar 2009 05:08:48 -0000 1.127
+++ src/hg/hgTables/hgTables.h 17 Mar 2009 04:28:39 -0000 1.128
@@ -242,12 +242,18 @@
char *table, struct region *regionList, struct lm *lm,
int *retFieldCount);
/* Get cooked beds on all regions. */
-struct hTableInfo *getHti(char *db, char *table);
+struct hTableInfo *getHtiOnDb(char *db, char *table);
/* Return primary table info. */
-struct hTableInfo *maybeGetHti(char *db, char *table);
+struct hTableInfo *getHti(char *db, char *table, struct sqlConnection *conn);
+/* Return primary table info. Conn should be open to db. */
+
+struct hTableInfo *maybeGetHti(char *db, char *table, struct sqlConnection *conn);
+/* Return primary table info, but don't abort if table not there. Conn should be open to db. */
+
+struct hTableInfo *maybeGetHtiOnDb(char *db, char *table);
/* Return primary table info, but don't abort if table not there. */
boolean htiIsPositional(struct hTableInfo *hti);
/* Return TRUE if hti looks like it's from a positional table. */
@@ -697,8 +703,11 @@
char *bigBedFileName(char *table, struct sqlConnection *conn);
/* Return file name associated with bigBed. This handles differences whether it's
* a custom or built-in track. Do a freeMem on returned string when done. */
+struct hTableInfo *bigBedToHti(char *table, struct sqlConnection *conn);
+/* Get fields of bigBed into hti structure. */
+
void showSchemaBigBed(char *table);
/* Show schema on bigBed. */
/* ----------- Custom track stuff. -------------- */