inc/gfWebLib.h

Go to the documentation of this file.
00001 /* gfWebLib - stuff shared by gfWebBlat and gfWebPcr - little web programs
00002  * that query gfServer in different ways. */
00003 
00004 struct gfServerAt
00005 /* A gfServer with an in-memory index. */
00006     {
00007     struct gfServerAt *next;
00008     char *host;         /* IP Address of machine running server. */
00009     char *port;         /* IP Port on host. */
00010     char *seqDir;       /* Where associated sequence lives. */
00011     char *name;         /* Name user sees. */
00012     };
00013 
00014 struct gfServerAt *gfWebFindServer(struct gfServerAt *serverList, char *varName);
00015 /* Find active server (that matches contents of CGI variable varName). */
00016 
00017 struct gfWebConfig
00018 /* A parsed out configuration file. */
00019     {
00020     char *company;      /* Company name if any. */
00021     char *background;   /* Web page background if any. */
00022     struct gfServerAt *serverList;  /* List of servers. */
00023     struct gfServerAt *transServerList;  /* List of translated servers. */
00024     char *tempDir;      /* Where to put temporary files. */
00025     };
00026 
00027 struct gfWebConfig *gfWebConfigRead(char *fileName);
00028 /* Read configuration file into globals. */

Generated on Tue Dec 25 18:39:29 2007 for blat by  doxygen 1.5.2