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 */
59 * authentication types
66 Image *hrule, *bullet, *linespace;
67 char home[512]; /* where to put files */
68 int chrwidth; /* nominal width of characters in font */
69 Panel *text; /* Panel displaying the current www page */
70 int debug; /* command line flag */
80 void plrdhtml(char *, int, Www *);
81 void plrdplain(char *, int, Www *);
82 void htmlerror(char *, int, char *, ...); /* user-supplied routine */
83 void seturl(Url *, char *, char *);
84 void getpix(Rtext *, Www *);
85 int pipeline(char *, int);
86 int urlopen(Url *, int, char *);
89 void *emallocz(int, int);
90 void setbitmap(Rtext *);
91 void message(char *, ...);
92 int snooptype(int fd);
93 void mkfieldpanel(Rtext *);
94 void geturl(char *, int, char *, int, int);