summaryrefslogtreecommitdiff
path: root/proxy.c
diff options
context:
space:
mode:
authorkeeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b <keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-03-31 18:25:42 +0000
committerkeeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b <keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-03-31 18:25:42 +0000
commit8efb093193805c6b57377769cca178f02e31ab5b (patch)
tree974dd69e8604c8a7a78a2ad9d357b8dc4eedc5ea /proxy.c
parent6f9bbb2d39e28780c5b2b2d3cbf617b54727b11c (diff)
BUILD : 1.7.0 (17) BUGS : NOTES : Implemented MySQL Phase 2, see Changes and docs/MYSQL file for information.
git-svn-id: svn://svn.anope.org/anope/trunk@17 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@10 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'proxy.c')
-rw-r--r--proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy.c b/proxy.c
index b2d8a915a..ab273a92f 100644
--- a/proxy.c
+++ b/proxy.c
@@ -50,7 +50,7 @@ pthread_mutex_t resmut = PTHREAD_MUTEX_INITIALIZER;
static uint32 aton(char *ipaddr);
static void proxy_akill(char *host);
-static HostCache *proxy_cache_add(char *host);
+HostCache *proxy_cache_add(char *host);
static void proxy_cache_del(HostCache * hc);
static HostCache *proxy_cache_find(char *host);
static int proxy_connect(unsigned long ip, unsigned short port);
@@ -134,7 +134,7 @@ static void proxy_akill(char *host)
/* Adds a cache entry after having it allocated */
-static HostCache *proxy_cache_add(char *host)
+HostCache *proxy_cache_add(char *host)
{
HostCache *hc;
int index = HASH(host);