6512e21480ecf797527b2b093da97e3e643d1729 larrym Thu Apr 7 16:40:26 2011 -0700 make connGeneSuggestTable public so I can use it in hgSuggest.c diff --git src/hg/inc/suggest.h src/hg/inc/suggest.h index 53f38b9..7864681 100644 --- src/hg/inc/suggest.h +++ src/hg/inc/suggest.h @@ -1,18 +1,21 @@ /* code to support suggesting genes given a prefix typed by the user. */ #ifndef SUGGEST_H #define SUGGEST_H #include "common.h" #include "jksql.h" #include "hdb.h" +char *connGeneSuggestTable(struct sqlConnection *conn); +// return name of gene suggest table if this connection has tables to support gene autocompletion, NULL otherwise + boolean assemblySupportsGeneSuggest(char *database); // return true if this assembly has tables to support gene autocompletion char *assemblyGeneSuggestTrack(char *database); // return name of gene suggest track if this assembly has tables to support gene autocompletion, NULL otherwise // Do NOT free returned string. #endif /* SUGGEST_H */