CernVM-FS  2.13.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 } // namespace catalog
28 
29 namespace quota {
30 
32 
33 struct ListenerHandle;
34 
36  CatalogManager *catalog_manager,
37  const std::string &repository_name);
39  const std::string &repository_name);
41 
42 } // namespace quota
43 
44 #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)