Commit 4890aa39 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Sorry, forgot to commit this file.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3832 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 0cc78a6d
...@@ -115,10 +115,10 @@ struct smp_sign { ...@@ -115,10 +115,10 @@ struct smp_sign {
#define SMP_SIGN_SPACE (sizeof(struct smp_sign) + SHA256_LEN) #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 offset;
uint64_t length; uint64_t length;
}; };
...@@ -148,3 +148,12 @@ struct smp_object { ...@@ -148,3 +148,12 @@ struct smp_object {
}; };
#define SMP_OBJECT_SIZE (32 + 8 + 8 + 8 + 8) #define SMP_OBJECT_SIZE (32 + 8 + 8 + 8 + 8)
/*
* Segment
*/
struct smp_segment {
uint64_t objlist;
unsigned nalloc;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment