/* invoked from /netlib/pub/search.html */
#include
#include
#include
#include "httpd.h"
#include "httpsrv.h"
void bib_fmt(char*,char*);
void index_fmt(char*,char*);
void no_fmt(char*,char*);
int send(HConnect*);
Hio *hout;
/********** table of databases ************/
typedef struct DB DB;
struct DB
{
int SELECT; /* value from search.html */
char *log; /* abbreviation for logfile */
int maxhit; /* maximum number of hits to return */
char *file; /* searchfs database */
void (*fmt)(char*,char*); /* convert one record to HTML */
char *postlude; /* trailer text */
};
DB db[] =
{
{0, "netlib", 250, "/srv/netlib_DEFAULT", index_fmt,
"
browse netlib