From 59ea885da07c0916fb5917efb5538df2ecec1553 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Fri, 23 Apr 2021 20:16:50 +0900 Subject: Treat 127.0.0.1, [::1], and hostname as localhost --- proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'proto.h') 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); -- cgit v1.2.3