]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/fs/Module.cc
Renamed squid.h to squid-old.h and config.h to squid.h
[thirdparty/squid.git] / src / fs / Module.cc
index f1c65fb839590186ffc8303c45ca8c0d59a7082b..5c900b5dbf4deff7b99f0637ecf5dfe7e01202d5 100644 (file)
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
 #include "Module.h"
 #if defined(HAVE_FS_UFS) || defined(HAVE_FS_AUFS) || defined(HAVE_FS_DISKD)
 #include "fs/ufs/StoreFSufs.h"
@@ -22,6 +22,12 @@ static StoreFSufs<UFSSwapDir> *AufsInstance;
 static StoreFSufs<UFSSwapDir> *DiskdInstance;
 #endif
 
+#if HAVE_FS_ROCK
+#include "fs/rock/RockStoreFileSystem.h"
+static Rock::StoreFileSystem *RockInstance = NULL;
+#endif
+
+
 /* TODO: Modify coss code to:
  * (a) remove the StoreFScoss::GetInstance method,
  * (b) declare the StoreFScoss::stats  as static and
@@ -48,6 +54,10 @@ void Fs::Init()
     DiskdInstance = new StoreFSufs<UFSSwapDir>("DiskDaemon", "diskd");;
 #endif
 
+#if HAVE_FS_ROCK
+    RockInstance = new Rock::StoreFileSystem();
+#endif
+
 }
 
 
@@ -66,4 +76,8 @@ void Fs::Clean()
     delete DiskdInstance;
 #endif
 
+#if HAVE_FS_ROCK
+    delete RockInstance;
+#endif
+
 }