Compatibility with varnish-cache before 48b9d1bf538fe563f505b75043f297d91690caa3

Not sure if we should backport the .get() fallback change, but if we
want to, this commit should do it.
parent 8261f097
AM_CFLAGS = $(VARNISHAPI_CFLAGS)
HDRS = type_magics.h type_cp.h tbl_types.h
HDRS = type_magics.h type_cp.h tbl_types.h compat.h
# Modules
vmod_LTLIBRARIES = \
......
/* varnish-cache 48b9d1bf538fe563f505b75043f297d91690caa3 */
#ifndef VRT_NULL_BLOB_TYPE
#define VRT_NULL_BLOB_TYPE 0xfade4fa0
static const struct vrt_blob *vrt_null_blob = &(struct vrt_blob){
.type = VRT_NULL_BLOB_TYPE,
.len = 0,
.blob = "\0"
};
#endif
......@@ -40,6 +40,7 @@
#include "vcc_constant_if.h"
#include "type_magics.h"
#include "type_cp.h"
#include "compat.h"
#define tv_magic 0x4000
......
......@@ -42,6 +42,7 @@
#include "vcc_globalvar_if.h"
#include "type_magics.h"
#include "type_cp.h"
#include "compat.h"
typedef void var_free_f(const void *);
......
......@@ -41,6 +41,7 @@
#include "vcc_taskvar_if.h"
#include "type_magics.h"
#include "type_cp.h"
#include "compat.h"
#include "tasktop.h"
#define task_common(ctx, t, v) \
......
......@@ -41,6 +41,7 @@
#include "vcc_topvar_if.h"
#include "type_magics.h"
#include "type_cp.h"
#include "compat.h"
#include "tasktop.h"
#define top_common(ctx, t, v) \
......
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