r3832 - trunk/varnish-cache/include

phk at projects.linpro.no phk at projects.linpro.no
Fri Feb 27 11:06:49 CET 2009


Author: phk
Date: 2009-02-27 11:06:49 +0100 (Fri, 27 Feb 2009)
New Revision: 3832

Modified:
   trunk/varnish-cache/include/persistent.h
Log:
Sorry, forgot to commit this file.



Modified: trunk/varnish-cache/include/persistent.h
===================================================================
--- trunk/varnish-cache/include/persistent.h	2009-02-26 13:36:44 UTC (rev 3831)
+++ trunk/varnish-cache/include/persistent.h	2009-02-27 10:06:49 UTC (rev 3832)
@@ -115,10 +115,10 @@
 #define SMP_SIGN_SPACE		(sizeof(struct smp_sign) + SHA256_LEN)
 
 /*
- * A segment descriptor.
+ * A segment pointer.
  */
 
-struct smp_segment {
+struct smp_segptr {
 	uint64_t		offset;
 	uint64_t		length;
 };
@@ -148,3 +148,12 @@
 };
 
 #define SMP_OBJECT_SIZE		(32 + 8 + 8 + 8 + 8)
+
+/*
+ * Segment
+ */
+
+struct smp_segment {
+	uint64_t		objlist;
+	unsigned		nalloc;
+};



More information about the varnish-commit mailing list