Skip to content

Commit

Permalink
Export XPORT_Register()
Browse files Browse the repository at this point in the history
Trivial prerequisite for transports from extensions.
  • Loading branch information
nigoroll committed Nov 5, 2024
1 parent 61f386d commit c75b8f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/varnishd/acceptor/cache_acceptor.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ static VTAILQ_HEAD(,transport) transports =

static uint16_t next_xport;

static void
void
XPORT_Register(struct transport *xp)
{

Expand Down
1 change: 1 addition & 0 deletions bin/varnishd/cache/cache_transport.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ void H2_PU_Sess(struct worker *, struct sess *, struct req *);
void H2_OU_Sess(struct worker *, struct sess *, struct req *);

const struct transport *XPORT_ByNumber(uint16_t no);
void XPORT_Register(struct transport *xp);
int VPX_Send_Proxy(int fd, int version, const struct sess *);

/* cache_session.c */
Expand Down

0 comments on commit c75b8f5

Please sign in to comment.