diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-03 06:38:49 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-03 06:38:49 +0000 |
commit | 2649df63c96ba63677271ff1e9d84909fe527142 (patch) | |
tree | 1434c1085fbae6c577a81fdc621e6fd8e0ec2952 /fm.h | |
parent | [w3m-dev 02970] multiple -lnsl -lsocket (diff) | |
download | w3m-2649df63c96ba63677271ff1e9d84909fe527142.tar.gz w3m-2649df63c96ba63677271ff1e9d84909fe527142.zip |
[w3m-dev 02967] parallel image downloading
* fm.h (ImageCache): add touch, pid
* image.c (getCharSize): retry fscanf
* image.c (drawImage): retry fflush
* image.c (MAX_LOAD_IMAGE): added, default 4
* image.c (image_cache): change to ImageCache**
* image.c (image_lock): added
* image.c (load_image_handler): signal SIGUSR1
* image.c (load_image_next): signal SIGUSR1
* image.c (loadImage): parallel image downloading
* image.c (getImage): initialize touch, pid
* image.c (getImageSize): return value is TRUE or FALSE
retry fscanf
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'fm.h')
-rw-r--r-- | fm.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: fm.h,v 1.47 2002/02/03 06:12:41 ukai Exp $ */ +/* $Id: fm.h,v 1.48 2002/02/03 06:38:49 ukai Exp $ */ /* * w3m: WWW wo Miru utility * @@ -325,6 +325,8 @@ typedef struct _imageCache { char *url; ParsedURL *current; char *file; + char *touch; + pid_t pid; char loaded; int index; short width; |