r1629 - in trunk/varnish-cache: include lib/libvcl

des at projects.linpro.no des at projects.linpro.no
Tue Jul 3 16:18:24 CEST 2007


Author: des
Date: 2007-07-03 16:18:24 +0200 (Tue, 03 Jul 2007)
New Revision: 1629

Modified:
   trunk/varnish-cache/include/vrt_obj.h
   trunk/varnish-cache/lib/libvcl/vcc_obj.c
Log:
Regenerate.


Modified: trunk/varnish-cache/include/vrt_obj.h
===================================================================
--- trunk/varnish-cache/include/vrt_obj.h	2007-07-03 14:17:28 UTC (rev 1628)
+++ trunk/varnish-cache/include/vrt_obj.h	2007-07-03 14:18:24 UTC (rev 1629)
@@ -35,9 +35,11 @@
 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 *);

Modified: trunk/varnish-cache/lib/libvcl/vcc_obj.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_obj.c	2007-07-03 14:17:28 UTC (rev 1628)
+++ trunk/varnish-cache/lib/libvcl/vcc_obj.c	2007-07-03 14:18:24 UTC (rev 1629)
@@ -146,6 +146,12 @@
 	    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, ",
@@ -170,5 +176,11 @@
 	    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 }
 };




More information about the varnish-commit mailing list