]> err.no Git - varnish/commitdiff
Sorry, forgot to commit this file.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 27 Feb 2009 10:06:49 +0000 (10:06 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 27 Feb 2009 10:06:49 +0000 (10:06 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3832 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/persistent.h

index 35d7d123a1438b2106514326681db939497ea00b..b64885c9cccf4de4149123137c7c499cddee827b 100644 (file)
@@ -115,10 +115,10 @@ struct smp_sign {
 #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 @@ struct smp_object {
 };
 
 #define SMP_OBJECT_SIZE                (32 + 8 + 8 + 8 + 8)
+
+/*
+ * Segment
+ */
+
+struct smp_segment {
+       uint64_t                objlist;
+       unsigned                nalloc;
+};