aboutsummaryrefslogtreecommitdiffstats
path: root/frame.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:05:14 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:05:14 +0000
commit72f72d64a422d6628c4796f5c0bf2e508f134214 (patch)
tree0c9ea90cc53310832c977265521fb44db24a515e /frame.h
parentAdding upstream version 0.3 (diff)
downloadw3m-72f72d64a422d6628c4796f5c0bf2e508f134214.tar.gz
w3m-72f72d64a422d6628c4796f5c0bf2e508f134214.zip
Adding upstream version 0.5.1upstream/0.5.1
Diffstat (limited to 'frame.h')
-rw-r--r--frame.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/frame.h b/frame.h
new file mode 100644
index 0000000..597c8cb
--- /dev/null
+++ b/frame.h
@@ -0,0 +1,62 @@
+/* $Id: frame.h,v 1.6 2003/01/25 17:42:17 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_NO_BUFFER 0x01
+ 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;
+ int pos;
+ int currentColumn;
+ struct _anchorList *formitem;
+};
+
+extern struct frameset *renderFrameSet;