From 5aacf78a346f2498bccb46c7eb36d53ed1c64a8d Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 22 Dec 2016 17:19:24 +0100 Subject: [PATCH] MINOR: connection: add a new prepare_bind_conf() entry to xprt_ops This one will be set by the transport layers which want to initialize a bind_conf. It will typically be used by SSL to load certificates, CAs and so on. --- include/types/connection.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/types/connection.h b/include/types/connection.h index 8b732ff75..2fbc30ee8 100644 --- a/include/types/connection.h +++ b/include/types/connection.h @@ -213,6 +213,7 @@ struct xprt_ops { void (*shutw)(struct connection *, int); /* shutw function */ void (*close)(struct connection *); /* close the transport layer */ int (*init)(struct connection *conn); /* initialize the transport layer */ + int (*prepare_bind_conf)(struct bind_conf *conf); /* prepare a whole bind_conf */ char name[8]; /* transport layer name, zero-terminated */ };