summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-03-14 18:07:46 +0000
committerRoger Dingledine <arma@torproject.org>2004-03-14 18:07:46 +0000
commitf55ff5b8d20259484020c1d9790bd024ecec896d (patch)
treefa93134cf267a3bcd4f3040de8410a8901392c29 /src/common/util.h
parent74ef3a63ae791f8a688171568486334a73b4e7aa (diff)
downloadtor-f55ff5b8d20259484020c1d9790bd024ecec896d.tar.gz
tor-f55ff5b8d20259484020c1d9790bd024ecec896d.zip
teach us to recognize internal IPs
svn:r1271
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 9f4654b92c..63d55c6fe4 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -84,6 +84,8 @@ void spawn_exit();
int tor_socketpair(int family, int type, int protocol, int fd[2]);
+int is_internal_IP(uint32_t ip);
+
const char *get_uname(void);
/* Start putting the process into daemon mode: fork and drop all resources