Files
w3m/frame.h
Fumitoshi UKAI 0cf4f52a13 [w3m-dev 03619] Re: Error occured while reset
* file.c (process_img): check image.ext
	(HTMLlineproc2body): check image.ext
	(loadImageBuffer): url, ext is in URLFile
* frame.c (unloadFrame): no need to push to fileToDelete
	(copyFrame): no need to reset FB_TODELETE
	(resetFrameElement): f_body->source, buf->sourcefile
	(frame_download_source): buf->source
			buf->sourcefile reset
* frame.h (FB_NOCACHE): deleted
	(FB_TODELETE): deleted
* main.c (vmSrc): Currentbuf->sourcefile
		need_reshape if images exist
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-09 15:30:20 +00:00

63 lines
1.1 KiB
C

/* $Id: frame.h,v 1.5 2003/01/09 15:30:46 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;
short pos;
short currentColumn;
struct _anchorList *formitem;
};
extern struct frameset *renderFrameSet;