aboutsummaryrefslogtreecommitdiffstats
path: root/proto.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-04-23 11:16:50 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-04-23 11:16:50 +0000
commit59ea885da07c0916fb5917efb5538df2ecec1553 (patch)
tree7788717c19054ae6300f222374c1179e00bf9c8d /proto.h
parentUpdate ChangeLog (diff)
downloadw3m-59ea885da07c0916fb5917efb5538df2ecec1553.tar.gz
w3m-59ea885da07c0916fb5917efb5538df2ecec1553.zip
Treat 127.0.0.1, [::1], and hostname as localhost
Diffstat (limited to '')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 42aa4f8..66d497e 100644
--- a/proto.h
+++ b/proto.h
@@ -672,6 +672,7 @@ extern void myExec(char *command);
extern void mySystem(char *command, int background);
extern Str myExtCommand(char *cmd, char *arg, int redirect);
extern Str myEditor(char *cmd, char *file, int line);
+extern int is_localhost(const char *host);
extern char *file_to_url(char *file);
#ifdef USE_M17N
extern char *url_unquote_conv(char *url, wc_ces charset);