From 901b52354b0f913f666aca5b10a632e7c93ba911 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 27 Feb 2009 10:06:49 +0000 Subject: [PATCH] Sorry, forgot to commit this file. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3832 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/include/persistent.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/varnish-cache/include/persistent.h b/varnish-cache/include/persistent.h index 35d7d123..b64885c9 100644 --- a/varnish-cache/include/persistent.h +++ b/varnish-cache/include/persistent.h @@ -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; +}; -- 2.39.5