]> err.no Git - varnish/commitdiff
Make req.hash have the right internal type: char *
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 9 May 2007 13:55:39 +0000 (13:55 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 9 May 2007 13:55:39 +0000 (13:55 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1397 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/vrt_obj.h
varnish-cache/lib/libvcl/vcc_gen_obj.tcl

index f11e783270cfb71249b99e543a5639514d1bf32d..07fabade9d9a04888ad237e46faeabca3056be06 100644 (file)
@@ -26,8 +26,8 @@ const char * VRT_r_req_proto(struct sess *);
 void VRT_l_req_proto(struct sess *, const char *);
 struct backend * VRT_r_req_backend(struct sess *);
 void VRT_l_req_backend(struct sess *, struct backend *);
-int VRT_r_req_hash(struct sess *);
-void VRT_l_req_hash(struct sess *, int);
+const char * VRT_r_req_hash(struct sess *);
+void VRT_l_req_hash(struct sess *, const char *);
 double VRT_r_obj_valid(struct sess *);
 void VRT_l_obj_valid(struct sess *, double);
 double VRT_r_obj_cacheable(struct sess *);
index 4a84a86b6104614496aa0ac54461bf9908547c99..a8a7c7776dfed09a49d5907773ead955dde898a1 100755 (executable)
@@ -63,7 +63,7 @@ set tt(TIME)  "double"
 set tt(HEADER) "const char *"
 set tt(HOSTNAME) "const char *"
 set tt(PORTNAME) "const char *"
-set tt(HASH)   "int"
+set tt(HASH)   "const char *"
 
 #----------------------------------------------------------------------
 # Boilerplate warning for all generated files.