Commit fcfb0308 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

cocci: Restructure and enrich vdef.h

parent 45492fd3
......@@ -3,7 +3,7 @@
* DO read tools/coccinelle/README.rst
*/
/* vdef.h */
/* include/vdef.h */
#define v_printflike_(f,a)
#define v_deprecated_
#define v_dont_optimize
......@@ -11,19 +11,33 @@
#define v_statevariable_(varname)
#define v_unused_
/* vrt.h */
#define VRT_CTX const struct vrt_ctx *ctx
/* include/vrt.h */
#define VRT_CTX const struct vrt_ctx *ctx
/* vcc_if.h */
#define VPFX(a) vmod_##a
/* include/vqueue.h */
#define VTAILQ_ENTRY(t) unsigned
#define VSTAILQ_ENTRY(t) unsigned
/* vqueue.h */
#define VTAILQ_ENTRY(x) unsigned
#define VSTAILQ_ENTRY(x) unsigned
#define VTAILQ_HEAD(x, y) unsigned
#define VSTAILQ_HEAD(x, y) unsigned
#define VRBT_ENTRY(x) unsigned
#define VRBT_HEAD(x, y) unsigned
#define VTAILQ_HEAD(n, t) unsigned
#define VSTAILQ_HEAD(n, t) unsigned
#define VTAILQ_HEAD_INITIALIZER(t) 0
#define VSTAILQ_HEAD_INITIALIZER(t) 0
/* include/vtree.h */
#define VRBT_ENTRY(x) unsigned
#define VRBT_HEAD(x, y) unsigned
#define VRBT_INITIALIZER(t) 0
/* lib/libvcc/vcc_vmod.c */
#define STANZA_TBL
/* bin/varnishd/common/heritage.h */
#define ASSERT_MGT() (void)0
/* bin/varnishd/cache/cache_transport.h */
#define TRANSPORTS
/* vmod/vcc_*_if.h */
#define VPFX(a) vmod_##a
#define VARGS(a) arg_vmod_foo_##a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment