Commit c89ae70c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a discard flag to the VCL_conf.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2430 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 9b223de0
......@@ -21,6 +21,7 @@ struct VCL_conf {
struct vrt_ref *ref;
unsigned nref;
unsigned busy;
unsigned discard;
unsigned nsrc;
const char **srcname;
......
......@@ -325,6 +325,7 @@ vcl_output_lang_h(struct vsb *sb)
vsb_cat(sb, " struct vrt_ref *ref;\n");
vsb_cat(sb, " unsigned nref;\n");
vsb_cat(sb, " unsigned busy;\n");
vsb_cat(sb, " unsigned discard;\n");
vsb_cat(sb, " \n");
vsb_cat(sb, " unsigned nsrc;\n");
vsb_cat(sb, " const char **srcname;\n");
......
......@@ -137,6 +137,7 @@ puts $fo { unsigned magic;
struct vrt_ref *ref;
unsigned nref;
unsigned busy;
unsigned discard;
unsigned nsrc;
const char **srcname;
......
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