mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-21 21:26:58 +00:00
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.
This commit is contained in:
parent
0320934f7e
commit
5aacf78a34
@ -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 */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user