]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/StoreIOState.cc
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / StoreIOState.cc
index e1ab34634121d71e7511d5068946bde05e46269d..5085de311d1d1a5300152feaf4881e11d2aee318 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -11,6 +11,7 @@
 #include "squid.h"
 #include "Debug.h"
 #include "defines.h"
+#include "Store.h"
 #include "StoreIOState.h"
 
 void *
@@ -52,3 +53,8 @@ StoreIOState::~StoreIOState()
         cbdataReferenceDone(callback_data);
 }
 
+bool StoreIOState::touchingStoreEntry() const
+{
+    return e && e->swap_filen == swap_filen;
+}
+