From: phk Date: Fri, 27 Feb 2009 10:06:49 +0000 (+0000) Subject: Sorry, forgot to commit this file. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=901b52354b0f913f666aca5b10a632e7c93ba911;p=varnish Sorry, forgot to commit this file. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3832 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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; +};