0ede364a2dcb452681933d5a3579b4f05d90a245 markd Sun Jul 5 15:16:27 2020 -0700 fixed bug where totalSeqSize was not stored in index, now hgBlat works diff --git src/hg/inc/blatServers.h src/hg/inc/blatServers.h index 4d77558..d47f24c 100644 --- src/hg/inc/blatServers.h +++ src/hg/inc/blatServers.h @@ -1,67 +1,68 @@ /* blatServers.h was originally generated by the autoSql program, which also * generated blatServers.c and blatServers.sql. This header links the database and * the RAM representation of objects. */ #ifndef BLATSERVERS_H #define BLATSERVERS_H -#define BLATSERVERS_NUM_COLS 5 +#define BLATSERVERS_NUM_COLS 6 extern char *blatServersCommaSepFieldNames; struct blatServers /* Description of online BLAT servers */ { struct blatServers *next; /* Next in singly linked list. */ char *db; /* Database name */ char *host; /* Host (machine) name */ int port; /* TCP/IP port on host */ signed char isTrans; /* 0 for nucleotide/1 for translated nucleotide */ signed char canPcr; /* 1 for use with PCR, 0 for not */ + signed char dynamic; /* 1 for if gfServer is dynamic under xinetd, 0 for not */ }; void blatServersStaticLoad(char **row, struct blatServers *ret); /* Load a row from blatServers table into ret. The contents of ret will * be replaced at the next call to this function. */ struct blatServers *blatServersLoad(char **row); /* Load a blatServers from row fetched with select * from blatServers * from database. Dispose of this with blatServersFree(). */ struct blatServers *blatServersLoadAll(char *fileName); /* Load all blatServers from whitespace-separated file. * Dispose of this with blatServersFreeList(). */ struct blatServers *blatServersLoadAllByChar(char *fileName, char chopper); /* Load all blatServers from chopper separated file. * Dispose of this with blatServersFreeList(). */ #define blatServersLoadAllByTab(a) blatServersLoadAllByChar(a, '\t'); /* Load all blatServers from tab separated file. * Dispose of this with blatServersFreeList(). */ struct blatServers *blatServersCommaIn(char **pS, struct blatServers *ret); /* Create a blatServers out of a comma separated string. * This will fill in ret if non-null, otherwise will * return a new blatServers */ void blatServersFree(struct blatServers **pEl); /* Free a single dynamically allocated blatServers such as created * with blatServersLoad(). */ void blatServersFreeList(struct blatServers **pList); /* Free a list of dynamically allocated blatServers's */ void blatServersOutput(struct blatServers *el, FILE *f, char sep, char lastSep); /* Print out blatServers. Separate fields with sep. Follow last field with lastSep. */ #define blatServersTabOut(el,f) blatServersOutput(el,f,'\t','\n'); /* Print out blatServers as a line in a tab-separated file. */ #define blatServersCommaOut(el,f) blatServersOutput(el,f,',',','); /* Print out blatServers as a comma separated list including final comma. */ /* -------------------------------- End autoSql Generated Code -------------------------------- */ #endif /* BLATSERVERS_H */