CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
quota_listener.h
Go to the documentation of this file.
1 
17 #ifndef CVMFS_QUOTA_LISTENER_H_
18 #define CVMFS_QUOTA_LISTENER_H_
19 
20 #include <string>
21 
22 class QuotaManager;
23 namespace catalog {
24 template <class CatalogT>
25 class AbstractCatalogManager;
26 class Catalog;
27 }
28 
29 namespace quota {
30 
32 
33 struct ListenerHandle;
34 
36 RegisterUnpinListener(QuotaManager *quota_manager,
37  CatalogManager *catalog_manager,
38  const std::string &repository_name);
40  const std::string &repository_name);
42 
43 } // namespace quota
44 
45 #endif // CVMFS_QUOTA_LISTENER_H_
ListenerHandle * RegisterWatchdogListener(QuotaManager *quota_manager, const string &repository_name)
ListenerHandle * RegisterUnpinListener(QuotaManager *quota_manager, CatalogManager *catalog_manager, const string &repository_name)
catalog::AbstractCatalogManager< catalog::Catalog > CatalogManager
void UnregisterListener(ListenerHandle *handle)