StoreSearchUFS.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_FS_UFS_STORESEARCHUFS_H
10 #define SQUID_FS_UFS_STORESEARCHUFS_H
11 
12 #include "StoreSearch.h"
13 #include "UFSSwapDir.h"
14 
15 namespace Fs
16 {
17 namespace Ufs
18 {
19 
21 {
23 
24 public:
26  virtual ~StoreSearchUFS();
27 
33  virtual void next(void (callback)(void *cbdata), void *cbdata);
34 
39  virtual bool next();
40 
41  virtual bool error() const;
42  virtual bool isDone() const;
43  virtual StoreEntry *currentItem();
44 
47 
48 private:
50  void (callback)(void *cbdata);
51  void *cbdata;
53  bool _done;
54 
55  StoreSearchUFS(StoreSearchUFS const &); //disabled
56  StoreSearchUFS& operator=(StoreSearchUFS const &); //disabled
57  StoreSearchUFS(); //disabled
58 };
59 
60 } //namespace Ufs
61 } //namespace Fs
62 #endif /* SQUID_FS_UFS_STORESEARCHUFS_H */
63 
Definition: cbdata.cc:60
virtual bool isDone() const
CBDATA_CLASS(StoreSearchUFS)
RemovalPolicyWalker * walker
StoreSearchUFS & operator=(StoreSearchUFS const &)
virtual bool error() const
virtual StoreEntry * currentItem()
RefCount< UFSSwapDir > sd
void() callback(void *cbdata)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors