diff --git a/src/plugins.c b/src/plugins.c index 509b58b..404be1c 100644 --- a/src/plugins.c +++ b/src/plugins.c @@ -74,6 +74,7 @@ struct symbol symbols[] = { {symbols+47, "parsestr", (void *) parsestr}, {symbols+48, "make_ace", (void *) make_ace}, {symbols+49, "freeacl", (void *) freeacl}, + {symbols+50, "handleredirect", (void *) handleredirect}, {NULL, "", NULL} }; diff --git a/src/proxy.h b/src/proxy.h index 1756648..12d0bd3 100644 --- a/src/proxy.h +++ b/src/proxy.h @@ -191,7 +191,7 @@ int doauth(struct clientparam * param); int strongauth(struct clientparam * param); void trafcountfunc(struct clientparam *param); unsigned bandlimitfunc(struct clientparam *param, unsigned nbytesin, unsigned nbytesout); - +int handleredirect(struct clientparam * param, struct ace * acentry); int scanaddr(const unsigned char *s, unsigned long * ip, unsigned long * mask); int myinet_ntop(int af, void *src, char *dst, socklen_t size);