diff options
author | Dai Sato <satodai@dog.intcul.tohoku.ac.jp> | 2001-11-22 17:52:28 +0000 |
---|---|---|
committer | Dai Sato <satodai@dog.intcul.tohoku.ac.jp> | 2001-11-22 17:52:28 +0000 |
commit | a5067a1853b490e9c551ac2ff7c4cb58a9bb3f48 (patch) | |
tree | 42ca751a0b79dd050082b1e87c7d8957c161c6ff /proto.h | |
parent | [w3m-dev 02509] (diff) | |
download | w3m-a5067a1853b490e9c551ac2ff7c4cb58a9bb3f48.tar.gz w3m-a5067a1853b490e9c551ac2ff7c4cb58a9bb3f48.zip |
w3m-0.2.2-inu-1.1 sourceinu-0-2-2-rel-1-1inu-0-2-2
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 35 |
1 files changed, 15 insertions, 20 deletions
@@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.6 2001/11/21 19:24:35 ukai Exp $ */ +/* $Id: proto.h,v 1.3.2.1 2001/11/22 17:52:28 inu Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -190,7 +190,7 @@ extern void redrawNLine(Buffer * buf, int n); extern Line *redrawLine(Buffer * buf, Line * l, int i); extern int redrawLineRegion(Buffer * buf, Line * l, int i, int bpos, int epos); extern void do_effects(Lineprop m); -#ifdef USE_ANSI_COLOR +#ifdef ANSI_COLOR extern void do_color(Linecolor c); #endif extern void addChar(char c, Lineprop mode); @@ -201,7 +201,7 @@ extern void message(char *s, int return_x, int return_y); #define disp_err_message(s, f) (record_err_message((s)), disp_message((s), (f))) extern void disp_message_nsec(char *s, int redraw_current, int sec, int purge, int mouse); extern void disp_message(char *s, int redraw_current); -#ifdef USE_MOUSE +#ifdef MOUSE extern void disp_message_nomouse(char *s, int redraw_current); #else #define disp_message_nomouse disp_message @@ -223,7 +223,7 @@ extern Line *currentLineSkip(Buffer * buf, Line * line, int offset, int last); extern int gethtmlcmd(char **s, int *status); extern char *getAnchor(char *arg, char **arg_return); extern Str checkType(Str s, Lineprop * oprop, -#ifdef USE_ANSI_COLOR +#ifdef ANSI_COLOR Linecolor * ocolor, int * check_color, #endif int len); @@ -325,12 +325,12 @@ extern void underlineend(void); extern void graphstart(void); extern void graphend(void); extern int graph_ok(void); -#ifdef USE_COLOR +#ifdef COLOR extern void setfcolor(int color); -#ifdef USE_BG_COLOR +#ifdef BG_COLOR extern void setbcolor(int color); -#endif /* USE_BG_COLOR */ -#endif /* USE_COLOR */ +#endif /* BG_COLOR */ +#endif /* COLOR */ extern void refresh(void); extern void clear(void); extern void scroll(int); @@ -366,7 +366,6 @@ extern char str_to_code(char *str); extern char *code_to_str(char code); extern void put_sjis(Str os, unsigned char ub, unsigned char lb); #endif /* JP_CHARSET */ -extern void free_ssl_ctx(); extern ParsedURL *baseURL(Buffer * buf); extern int openSocket(char *hostname, char *remoteport_name, unsigned short remoteport_num); extern void parseURL(char *url, ParsedURL * p_url, ParsedURL * current); @@ -376,16 +375,13 @@ extern Str parsedURL2Str(ParsedURL * pu); extern int getURLScheme(char **url); extern void init_stream(URLFile *uf, int scheme, InputStream stream); extern URLFile openURL(char *url, ParsedURL * pu, ParsedURL * current, URLOption * option, FormList * request, TextList * extra_header, URLFile * ouf, unsigned char *status); -extern char *guessContentType(char *filename); -extern TextList* make_domain_list(char *domain_list); -extern int check_no_proxy(char *domain); -extern char *filename_extension(char *path, int is_url); extern int mailcapMatch(struct mailcap *mcap, char *type); extern struct mailcap *loadMailcap(char *filename); extern struct mailcap *searchMailcap(struct mailcap *table, char *type); extern void initMailcap(); extern struct mailcap *searchExtViewer(char *type); extern Str unquote_mailcap(char *qstr, char *type, char *name, char *attr, int *stat); +extern char *guessContentTypeFromTable(struct table2 *table, char *filename); extern char *guessContentType(char *filename); extern TextList *make_domain_list(char *domain_list); extern int check_no_proxy(char *domain); @@ -431,7 +427,6 @@ extern char *libFile(char *base); extern char *helpFile(char *base); extern void setLocalCookie(void); 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 Str find_auth_cookie(char *host, char *realm); @@ -473,17 +468,17 @@ extern void reMark(void); #define reMark nulcmd #endif /* not USE_MARK */ -#ifdef USE_MOUSE +#ifdef MOUSE extern void mouse(void); extern void mouse_init(void); extern void mouse_end(void); extern void mouse_active(void); extern void mouse_inactive(void); extern void msToggle(void); -#else /* not USE_MOUSE */ +#else /* not MOUSE */ #define mouse nulcmd #define msToggle nulcmd -#endif /* not USE_MOUSE */ +#endif /* not MOUSE */ extern char *searchKeyData(void); @@ -496,7 +491,7 @@ extern KeyListItem *searchKeyList(KeyList *list, int key); extern char *getWord(char **str); extern char *getQWord(char **str); -#ifdef USE_MENU +#ifdef MENU extern void new_menu(Menu * menu, MenuItem * item); extern void geom_menu(Menu * menu, int x, int y, int select); extern void draw_all_menu(Menu * menu); @@ -521,10 +516,10 @@ extern void mainMn(void); extern void selMn(void); extern void optionMenu(int x, int y, char **label, int *variable, int initial, void (*func) ()); extern void initMenu(void); -#else /* not USE_MENU */ +#else /* not MENU */ #define mainMn nulcmd #define selMn selBuf -#endif /* not USE_MENU */ +#endif /* not MENU */ #ifdef DICT extern void dictword(void); |