c7211155cab4ec213239cf6979ee4b63a1d96374 max Tue Aug 11 03:07:18 2015 -0700 adding email display during redirect, GET urls, adding onlyDbs/notDbs tags to support hg38, refs #15113. diff --git src/hg/hgTracks/extTools.h src/hg/hgTracks/extTools.h index 71587a5..b6abbf6 100644 --- src/hg/hgTracks/extTools.h +++ src/hg/hgTracks/extTools.h @@ -2,26 +2,29 @@ /* Copyright (C) 2011 The Regents of the University of California * See README in this or parent directory for licensing information. */ #ifndef EXTTOOLS_H #define EXTTOOLS_H struct extTool /* describes an external tool */ { struct extTool *next; /* next in singly linked list */ char *tool; /* internal ID of an external tool, e.g. primer3 */ char *shortLabel; /* shown in the drop down menu */ char *longLabel; /* label for mouse over */ char *url; /* target URL of the tool CGI */ + char *email; /* email address of external tool */ + bool isHttpGet; /* default is a POST request. Set to 1/on/true to make it a http GET request */ int maxSize; /* maximum size in bp that can be handled by tool or 0 for any */ struct slPair *params; /* CGI vars we have to send to the tool */ struct slName *dbs; /* if not null: list of DBS to show the entry */ + struct slName *notDbs; /* if not null: list of DBS where entry should NOT be shown */ }; struct extTool *readExtToolRa(char *raFileName); /* parse the extTools.ra file. */ void extToolRedirect(struct cart *cart, char *tool); /* redirect to an external tool, sending the data specified in the ext tools config file */ #endif