Skip to content

Commit c412418

Browse files
committed
vmod_debug: some renames in preparation for more debug transports
1 parent df8ee33 commit c412418

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

vmod/automake_boilerplate_debug.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ libvmod_debug_la_SOURCES = \
1313
vmod_debug_dyn.c \
1414
vmod_debug_filters.c \
1515
vmod_debug_obj.c \
16-
vmod_debug_transports.c
16+
vmod_debug_transport_reembarking_http1.c
1717

1818
libvmod_debug_la_CFLAGS =
1919

vmod/vmod_debug.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ event_load(VRT_CTX, struct vmod_priv *priv)
332332
priv->methods = priv_vcl_methods;
333333

334334
debug_add_filters(ctx);
335-
debug_transport_init();
335+
debug_transport_reembarking_http1_init();
336336
return (0);
337337
}
338338

@@ -1286,5 +1286,5 @@ xyzzy_resolve_range(VRT_CTX, struct VARGS(resolve_range) *args)
12861286
VCL_VOID
12871287
xyzzy_use_reembarking_http1(VRT_CTX)
12881288
{
1289-
debug_transport_use_reembarking_http1(ctx);
1289+
debug_transport_reembarking_http1_use(ctx);
12901290
}

vmod/vmod_debug.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ debug_add_filters(VRT_CTX);
3434
void
3535
debug_remove_filters(VRT_CTX);
3636

37-
/* vmod_debug_transports.c */
37+
/* vmod_debug_transport_reembarking_http1.c */
3838
void
39-
debug_transport_use_reembarking_http1(VRT_CTX);
39+
debug_transport_reembarking_http1_use(VRT_CTX);
4040
void
41-
debug_transport_init(void);
41+
debug_transport_reembarking_http1_init(void);

vmod/vmod_debug_transports.c renamed to vmod/vmod_debug_transport_reembarking_http1.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ dbg_deliver_finish(struct req *req, struct v1l **v1lp, int err)
199199
static struct transport DBG_transport;
200200

201201
void
202-
debug_transport_init(void)
202+
debug_transport_reembarking_http1_init(void)
203203
{
204204
DBG_transport = HTTP1_transport;
205205
DBG_transport.name = "DBG";
206206
DBG_transport.deliver = dbg_deliver;
207207
}
208208

209209
void
210-
debug_transport_use_reembarking_http1(VRT_CTX)
210+
debug_transport_reembarking_http1_use(VRT_CTX)
211211
{
212212
struct req *req;
213213

0 commit comments

Comments
 (0)