Author: adrian.chadd
Date: Tue Apr 21 08:16:43 2009
New Revision: 13973
Modified:
branches/LUSCA_HEAD/libsqstore/store_meta.h
Log:
Add in the "old" and "new" style swap meta binary struct.
(Why individual entries in this aren't TLV encoded is beyond me..)
Modified: branches/LUSCA_HEAD/libsqstore/store_meta.h
==============================================================================
--- branches/LUSCA_HEAD/libsqstore/store_meta.h (original)
+++ branches/LUSCA_HEAD/libsqstore/store_meta.h Tue Apr 21 08:16:43 2009
@@ -7,5 +7,26 @@
* store swap entries.
*/
+struct _storeMetaIndexOld {
+ time_t timestamp;
+ time_t lastref;
+ time_t expires;
+ time_t lastmod;
+ size_t swap_file_sz;
+ u_short refcount;
+ u_short flags;
+};
+typedef struct _storeMetaIndexOld storeMetaIndexOld;
+
+struct _storeMetaIndexNew {
+ time_t timestamp;
+ time_t lastref;
+ time_t expires;
+ time_t lastmod;
+ squid_file_sz swap_file_sz;
+ u_short refcount;
+ u_short flags;
+};
+typedef struct _storeMetaIndexNew storeMetaIndexNew;
#endif
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---