2 NWWW=64, /* # of pages we hold in the log */
3 NXPROC=5, /* # of parallel procs loading the pix */
7 NTITLE=81, /* length of title (including nul at end) */
8 NLABEL=50, /* length of option name in forms */
9 NREDIR=10, /* # of redirections we'll tolerate before declaring a loop */
12 typedef struct Action Action;
13 typedef struct Url Url;
14 typedef struct Www Www;
15 typedef struct Field Field;
30 int map; /* is this an image map? */
39 int changed; /* reader sets this every time it updates page */
40 int finished; /* reader sets this when done */
41 int alldone; /* page will not change further -- used to adjust cursor */
56 * authentication types
63 Image *hrule, *bullet, *linespace;
64 char home[512]; /* where to put files */
65 int chrwidth; /* nominal width of characters in font */
66 Panel *text; /* Panel displaying the current www page */
67 int debug; /* command line flag */
77 void plrdhtml(char *, int, Www *);
78 void plrdplain(char *, int, Www *);
79 void htmlerror(char *, int, char *, ...); /* user-supplied routine */
80 void seturl(Url *, char *, char *);
81 void getpix(Rtext *, Www *);
82 int pipeline(char *, int);
83 int urlopen(Url *, int, char *);
86 void *emallocz(int, int);
87 void setbitmap(Rtext *);
88 void message(char *, ...);
89 int snooptype(int fd);
90 void mkfieldpanel(Rtext *);
91 void geturl(char *, int, char *, int, int);