aboutsummaryrefslogtreecommitdiffstats
path: root/frame.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--frame.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/frame.h b/frame.h
new file mode 100644
index 0000000..acaca8e
--- /dev/null
+++ b/frame.h
@@ -0,0 +1,56 @@
+/*
+ * 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 *referer;
+ struct _anchorList *nameList;
+ FormList *request;
+};
+
+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;
+ short pos;
+};
+
+extern struct frameset *renderFrameSet;