Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Regenerate.
Browse files Browse the repository at this point in the history
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1629 d4fa192b-c00b-0410-8231-f00ffab90ce4
  • Loading branch information
dag-erling committed Jul 3, 2007
1 parent 10afe10 commit c857d2c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/vrt_obj.h
Expand Up @@ -35,9 +35,11 @@ unsigned VRT_r_obj_cacheable(struct sess *);
void VRT_l_obj_cacheable(struct sess *, unsigned);
double VRT_r_obj_ttl(struct sess *);
void VRT_l_obj_ttl(struct sess *, double);
double VRT_r_obj_lastuse(struct sess *);
const char * VRT_r_resp_proto(struct sess *);
void VRT_l_resp_proto(struct sess *, const char *);
int VRT_r_resp_status(struct sess *);
void VRT_l_resp_status(struct sess *, int);
const char * VRT_r_resp_response(struct sess *);
void VRT_l_resp_response(struct sess *, const char *);
double VRT_r_now(struct sess *);
12 changes: 12 additions & 0 deletions lib/libvcl/vcc_obj.c
Expand Up @@ -146,6 +146,12 @@ struct var vcc_vars[] = {
V_RW,
VCL_MET_HIT | VCL_MET_FETCH | VCL_MET_DISCARD | VCL_MET_TIMEOUT
},
{ "obj.lastuse", TIME, 11,
"VRT_r_obj_lastuse(sp)",
NULL,
V_RO,
VCL_MET_HIT | VCL_MET_FETCH | VCL_MET_DELIVER | VCL_MET_DISCARD | VCL_MET_TIMEOUT
},
{ "resp.proto", STRING, 10,
"VRT_r_resp_proto(sp)",
"VRT_l_resp_proto(sp, ",
Expand All @@ -170,5 +176,11 @@ struct var vcc_vars[] = {
V_RW,
VCL_MET_FETCH
},
{ "now", TIME, 3,
"VRT_r_now(sp)",
NULL,
V_RO,
VCL_MET_RECV | VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_HASH | VCL_MET_MISS | VCL_MET_HIT | VCL_MET_FETCH | VCL_MET_DELIVER | VCL_MET_DISCARD | VCL_MET_TIMEOUT
},
{ NULL }
};

0 comments on commit c857d2c

Please sign in to comment.