aboutsummaryrefslogtreecommitdiffstats
path: root/frame.h
blob: da39cd04ee0d293c8c0fba27c5639b55d64bd984 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* $Id: frame.h,v 1.4 2002/02/08 11:45:07 ukai Exp $ */
/*
 * frame support
 */

struct frame_element {
    char attr;
#define	F_UNLOADED	0x00
#define	F_BODY		0x01
#define	F_FRAMESET	0x02
    char dummy;
    char *name;
};

struct frame_body {
    char attr;
    char flags;
#define	FB_NOCACHE	0x01
#define	FB_TODELETE	0x02
#define	FB_NO_BUFFER	0x04
    char *name;
    char *url;
    ParsedURL *baseURL;
    char *source;
    char *type;
    char *referer;
    struct _anchorList *nameList;
    FormList *request;
#ifdef USE_SSL
    char *ssl_certificate;
#endif
};

union frameset_element {
    struct frame_element *element;
    struct frame_body *body;
    struct frameset *set;
};

struct frameset {
    char attr;
    char dummy;
    char *name;
    ParsedURL *currentURL;
    char **width;
    char **height;
    int col;
    int row;
    int i;
    union frameset_element *frame;
};

struct frameset_queue {
    struct frameset_queue *next;
    struct frameset_queue *back;
    struct frameset *frameset;
    long linenumber;
    long top_linenumber;
    short pos;
    short currentColumn;
    struct _anchorList *formitem;
};

extern struct frameset *renderFrameSet;