From 96dbbccbf99a3444088c051bbd12a238ca55c2a1 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 24 Jun 2006 21:09:07 +0000 Subject: [PATCH] Autogenerate prototypes for method calling functions git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@229 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache.h b/varnish-cache/bin/varnishd/cache.h index 86eb682f..df3e0ad4 100644 --- a/varnish-cache/bin/varnishd/cache.h +++ b/varnish-cache/bin/varnishd/cache.h @@ -188,10 +188,13 @@ void VSL(enum shmlogtag tag, unsigned id, const char *fmt, ...); void RelVCL(struct VCL_conf *vc); struct VCL_conf *GetVCL(void); int CVCL_Load(const char *fn, const char *name); -void VCL_recv_method(struct sess *); -void VCL_hit_method(struct sess *); -void VCL_miss_method(struct sess *); -void VCL_fetch_method(struct sess *); + +#define VCL_RET_MAC(l,u,b) +#define VCL_MET_MAC(l,u,b) void VCL_##l##_method(struct sess *); +#include "vcl_returns.h" +#undef VCL_MET_MAC +#undef VCL_RET_MAC + #ifdef CLI_PRIV_H cli_func_t cli_func_config_list; cli_func_t cli_func_config_load; -- 2.39.5