Skip to content

Commit c75b8f5

Browse files
committed
Export XPORT_Register()
Trivial prerequisite for transports from extensions.
1 parent 61f386d commit c75b8f5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bin/varnishd/acceptor/cache_acceptor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ static VTAILQ_HEAD(,transport) transports =
272272

273273
static uint16_t next_xport;
274274

275-
static void
275+
void
276276
XPORT_Register(struct transport *xp)
277277
{
278278

bin/varnishd/cache/cache_transport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ void H2_PU_Sess(struct worker *, struct sess *, struct req *);
8585
void H2_OU_Sess(struct worker *, struct sess *, struct req *);
8686

8787
const struct transport *XPORT_ByNumber(uint16_t no);
88+
void XPORT_Register(struct transport *xp);
8889
int VPX_Send_Proxy(int fd, int version, const struct sess *);
8990

9091
/* cache_session.c */

0 commit comments

Comments
 (0)