CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sqlitevfs.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_SQLITEVFS_H_
6 #define CVMFS_SQLITEVFS_H_
7 
8 #include <string>
9 
10 class CacheManager;
11 namespace perf {
12 class Statistics;
13 }
14 
15 namespace sqlite {
16 
17 enum VfsOptions {
19  kVfsOptDefault, // the VFS becomes the default for new database connections.
20 };
21 
22 bool RegisterVfsRdOnly(CacheManager *cache_mgr,
23  perf::Statistics *statistics,
24  const VfsOptions options);
25 bool UnregisterVfsRdOnly();
26 
31 void RegisterFdMapping(int from, int to);
32 void ReplaceCacheManager(CacheManager *new_cache_mgr);
33 
34 } // namespace sqlite
35 
36 #endif // CVMFS_SQLITEVFS_H_
void RegisterFdMapping(int from, int to)
Definition: sqlitevfs.cc:541
VfsOptions
Definition: sqlitevfs.h:17
void ReplaceCacheManager(CacheManager *new_cache_mgr)
Definition: sqlitevfs.cc:546
bool UnregisterVfsRdOnly()
Definition: sqlitevfs.cc:522
bool RegisterVfsRdOnly(CacheManager *cache_mgr, perf::Statistics *statistics, const VfsOptions options)
Definition: sqlitevfs.cc:453