From f229eb8f8f7d638d07ec1993be3754abc485aff0 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 1 Jun 2010 17:14:24 +0200 Subject: [PATCH] [MINOR] proxy: add an accept() callback for the application layer This will be used by the application layer for setting accept callbacks. --- include/types/proxy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/types/proxy.h b/include/types/proxy.h index 0c1ca7673..f7d4e8c33 100644 --- a/include/types/proxy.h +++ b/include/types/proxy.h @@ -257,6 +257,7 @@ struct proxy { #endif int iface_len; /* bind interface name length */ char *iface_name; /* bind interface name or NULL */ + int (*accept)(struct session *s); /* application layer's accept() */ struct proxy *next; struct logsrv logsrv1, logsrv2; /* 2 syslog servers */ signed char logfac1, logfac2; /* log facility for both servers. -1 = disabled */