frame.h (1079B)
1 /* $Id$ */ 2 /* 3 * frame support 4 */ 5 6 struct frame_element { 7 char attr; 8 #define F_UNLOADED 0x00 9 #define F_BODY 0x01 10 #define F_FRAMESET 0x02 11 char dummy; 12 char *name; 13 }; 14 15 struct frame_body { 16 char attr; 17 char flags; 18 #define FB_NO_BUFFER 0x01 19 char *name; 20 char *url; 21 ParsedURL *baseURL; 22 char *source; 23 char *type; 24 char *referer; 25 struct _anchorList *nameList; 26 FormList *request; 27 #ifdef USE_SSL 28 char *ssl_certificate; 29 #endif 30 }; 31 32 union frameset_element { 33 struct frame_element *element; 34 struct frame_body *body; 35 struct frameset *set; 36 }; 37 38 struct frameset { 39 char attr; 40 char dummy; 41 char *name; 42 ParsedURL *currentURL; 43 char **width; 44 char **height; 45 int col; 46 int row; 47 int i; 48 union frameset_element *frame; 49 }; 50 51 struct frameset_queue { 52 struct frameset_queue *next; 53 struct frameset_queue *back; 54 struct frameset *frameset; 55 long linenumber; 56 long top_linenumber; 57 int pos; 58 int currentColumn; 59 struct _anchorList *formitem; 60 }; 61 62 extern struct frameset *renderFrameSet;