5ea72e59393fe62ab71be06204222a3648a94c49 kent Tue Dec 7 13:28:01 2010 -0800 Making hubConnect.as and hubConnect.sql. This is _not_ done by autoSql since we just want field-by-field access of this in the code. diff --git src/hg/lib/hubConnect.c src/hg/lib/hubConnect.c index d165d72..5faa293 100644 --- src/hg/lib/hubConnect.c +++ src/hg/lib/hubConnect.c @@ -1,24 +1,25 @@ /* hubConnect - stuff to manage connections to track hubs. Most of this is mediated through * the hubConnect table in the hgCentral database. Here there are routines to translate between * hub symbolic names and hub URLs, to see if a hub is up or down or sideways (up but badly - * formatted) etc. */ + * formatted) etc. Note that there is no C structure corresponding to a row in the hubConnect + * table by design. We just want field-by-field access to this. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "jksql.h" #include "hdb.h" #include "trackHub.h" #include "hubConnect.h" boolean hubConnectTableExists() /* Return TRUE if the hubConnect table exists. */ { struct sqlConnection *conn = hConnectCentral(); boolean exists = sqlTableExists(conn, hubConnectTableName); hDisconnectCentral(&conn); return exists; }