]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed TestSwapDir test after I changed StoreIOState.
authorwessels <>
Sat, 27 May 2006 05:52:14 +0000 (05:52 +0000)
committerwessels <>
Sat, 27 May 2006 05:52:14 +0000 (05:52 +0000)
src/tests/TestSwapDir.cc
src/tests/TestSwapDir.h

index fd0bddcde12929f34cad3917df91a430a14b8cf6..86da99c364a31c4143c911fa32290da71edb18ac 100644 (file)
@@ -29,14 +29,14 @@ TestSwapDir::canStore(const StoreEntry&) const
     return true;
 }
 
-RefCount<storeIOState>
-TestSwapDir::createStoreIO(StoreEntry&, void (*)(void*, int, storeIOState*), void (*)(void*, int, storeIOState*), void*)
+StoreIOState::Pointer
+TestSwapDir::createStoreIO(StoreEntry&, StoreIOState::STFNCB, StoreIOState::STIOCB, void*)
 {
     return NULL;
 }
 
-RefCount<storeIOState>
-TestSwapDir::openStoreIO(StoreEntry&, void (*)(void*, int, storeIOState*), void (*)(void*, int, storeIOState*), void*)
+StoreIOState::Pointer
+TestSwapDir::openStoreIO(StoreEntry&, StoreIOState::STFNCB, StoreIOState::STIOCB, void*)
 {
     return NULL;
 }
index 0843c991272a2203a7bb011d974ecde8160ef1c0..f646970a9eadc40bcd51e39988cb42cbbe7c1848 100644 (file)
@@ -18,10 +18,14 @@ public:
     virtual void reconfigure(int, char*);
     virtual void init();
     virtual int canStore(const StoreEntry&) const;
-    virtual RefCount<StoreIOState> createStoreIO(StoreEntry&, void
-            (*)(void*, int), void (*)(void*, int), void*);
-    virtual RefCount<StoreIOState> openStoreIO(StoreEntry&, void
-            (*)(void*, int), void (*)(void*, int), void*);
+    virtual StoreIOState::Pointer createStoreIO(StoreEntry&,
+            StoreIOState::STFNCB,
+            StoreIOState::STIOCB,
+            void*);
+    virtual StoreIOState::Pointer openStoreIO(StoreEntry&,
+            StoreIOState::STFNCB,
+            StoreIOState::STIOCB,
+            void*);
     virtual void parse(int, char*);
     virtual StoreSearch *search(String, HttpRequest *);
 };