diff options
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.3 2001/11/15 00:32:13 a-ito Exp $ */ +/* $Id: proto.h,v 1.4 2001/11/20 04:11:16 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -365,6 +365,7 @@ 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); @@ -374,13 +375,16 @@ 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); @@ -426,6 +430,7 @@ 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); |