Revision: 14448 Author: adrian.chadd Date: Fri Mar 5 18:36:15 2010 Log: Start fleshing out the core store defines/typedefs/functions/etc.
It's quite possible that these will eventually be shuffled elsewhere; I just want them out of the main store.c source. http://code.google.com/p/lusca-cache/source/detail?r=14448 Added: /branches/LUSCA_HEAD/src/store.h Modified: /branches/LUSCA_HEAD/src/store.c ======================================= --- /dev/null +++ /branches/LUSCA_HEAD/src/store.h Fri Mar 5 18:36:15 2010 @@ -0,0 +1,13 @@ +#ifndef __STORE_H__ +#define __STORE_H__ + +#define REBUILD_TIMESTAMP_DELTA_MAX 2 +#define STORE_IN_MEM_BUCKETS (229) + +typedef struct lock_ctrl_t { + SIH *callback; + void *callback_data; + StoreEntry *e; +} lock_ctrl_t; + +#endif ======================================= --- /branches/LUSCA_HEAD/src/store.c Wed Mar 3 05:14:59 2010 +++ /branches/LUSCA_HEAD/src/store.c Fri Mar 5 18:36:15 2010 @@ -35,14 +35,9 @@ #include "squid.h" #include "../libcore/strutil.h" - +#include "store.h" #include "store_vary.h" - -#define REBUILD_TIMESTAMP_DELTA_MAX 2 - -#define STORE_IN_MEM_BUCKETS (229) - const char *memStatusStr[] = { "NOT_IN_MEMORY", @@ -69,12 +64,6 @@ "SWAPOUT_DONE" }; -typedef struct lock_ctrl_t { - SIH *callback; - void *callback_data; - StoreEntry *e; -} lock_ctrl_t; - extern OBJH storeIOStats; /* -- 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.
