diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-05 15:56:11 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-05 15:56:11 +0000 |
commit | 825018b1ba393cdf28825d5b722b1bc8148882ae (patch) | |
tree | 98fbdc7decc17d0cde3aa70c9b752e18aaf89f7e /proto.h | |
parent | [w3m-dev 03371] segmentation fault by large complex table. (diff) | |
download | w3m-825018b1ba393cdf28825d5b722b1bc8148882ae.tar.gz w3m-825018b1ba393cdf28825d5b722b1bc8148882ae.zip |
[w3m-dev 03373] setting form on loading
* config.h.dist (PRE_FORM_FILE): added
* configure (PRE_FORM_FILE): added
* etc.c (openPasswdFile): define by openSecretFile()
(openSecretFile): renamed, not static
* file.c (loadGeneralFile): preFOrmUpdateBuffer()
* fm.h (Buffer): add submit
(pre_form_file): added
* form.c (struct pre_form_item): added
(struct pre_form): added
(next_token): added
(PreForm): added
(add_pre_form): added
(add_pre_form_item): added
(loadPreForm): added
(preFormUpdateBuffer): added
* frame.c (renderFrame): add preFormUpdateBuffer()
* main.c (MAIN): buf->submit check
* proto.h (preFormUpdateBuffer): added
(openSecretFile): added
(loadPreForm): added
* rc.c (sync_with_option): add loadPreForm()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.48 2002/10/30 15:39:41 ukai Exp $ */ +/* $Id: proto.h,v 1.49 2002/11/05 15:56:14 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -331,6 +331,7 @@ extern int formtype(char *typestr); extern void formRecheckRadio(Anchor *a, Buffer *buf, FormItemList *form); extern void formResetBuffer(Buffer *buf, AnchorList *formitem); extern void formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form); +extern void preFormUpdateBuffer(Buffer *buf); extern Str textfieldrep(Str s, int width); extern void input_textarea(FormItemList *fi); extern void do_internal(char *action, char *data); @@ -520,7 +521,9 @@ extern Buffer *dirBuffer(char *dirname); extern void set_environ(char *var, char *value); extern FILE *localcgi_post(char *, char *, FormList *, char *); extern FILE *localcgi_get(char *, char *, char *); +extern FILE *openSecretFile(char *fname, char *error_msg); extern void loadPasswd(void); +extern void loadPreForm(void); extern int find_auth_user_passwd(ParsedURL *pu, char *realm, Str *uname, Str *pwd, int is_proxy); extern Str find_auth_cookie(char *host, int port, char *file, char *realm); |