CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
compat.h File Reference
#include <google/sparse_hash_map>
#include <pthread.h>
#include <sched.h>
#include <stdint.h>
#include <cassert>
#include <string>
#include "atomic.h"
#include "bigvector.h"
#include "catalog_mgr.h"
#include "file_chunk.h"
#include "glue_buffer.h"
#include "hash.h"
#include "shortstring.h"
#include "util/algorithm.h"
Include dependency graph for compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  compat::shash_v1::Digest< digest_size_, algorithm_ >
 
struct  compat::shash_v1::Md5
 
struct  compat::shash_v1::Any
 
struct  compat::shash_v2::Digest< digest_size_, algorithm_ >
 
struct  compat::shash_v2::Any
 
struct  compat::inode_tracker::Dirent
 
class  compat::inode_tracker::InodeContainer
 
class  compat::inode_tracker::InodeTracker
 
struct  compat::inode_tracker::InodeTracker::Statistics
 
class  compat::inode_tracker_v2::SmallHashBase< Key, Value, Derived >
 
class  compat::inode_tracker_v2::SmallHashDynamic< Key, Value >
 
class  compat::inode_tracker_v2::PathMap
 
struct  compat::inode_tracker_v2::PathMap::PathInfo
 
class  compat::inode_tracker_v2::InodeMap
 
class  compat::inode_tracker_v2::InodeReferences
 
class  compat::inode_tracker_v2::InodeTracker
 
struct  compat::inode_tracker_v2::InodeTracker::Statistics
 
class  compat::inode_tracker_v3::StringRef
 
class  compat::inode_tracker_v3::StringHeap
 
class  compat::inode_tracker_v3::PathStore
 
struct  compat::inode_tracker_v3::PathStore::PathInfo
 
class  compat::inode_tracker_v3::PathMap
 
class  compat::inode_tracker_v3::InodeMap
 
class  compat::inode_tracker_v3::InodeReferences
 
class  compat::inode_tracker_v3::InodeTracker
 
struct  compat::inode_tracker_v3::InodeTracker::Statistics
 
class  compat::chunk_tables::FileChunk
 
struct  compat::chunk_tables::FileChunkReflist
 
struct  compat::chunk_tables::ChunkTables
 
class  compat::chunk_tables_v2::FileChunk
 
struct  compat::chunk_tables_v2::FileChunkReflist
 
struct  compat::chunk_tables_v2::ChunkTables
 
struct  compat::chunk_tables_v3::ChunkTables
 

Namespaces

 compat
 
 compat::shash_v1
 
 compat::shash_v2
 
 compat::inode_tracker
 
 compat::inode_tracker_v2
 
 compat::inode_tracker_v3
 
 compat::chunk_tables
 
 compat::chunk_tables_v2
 
 compat::chunk_tables_v3
 

Typedefs

typedef char compat::shash_v2::Suffix
 

Enumerations

enum  compat::shash_v1::Algorithms { compat::shash_v1::kMd5 = 0, compat::shash_v1::kSha1, compat::shash_v1::kRmd160, compat::shash_v1::kAny }
 
enum  compat::shash_v2::Algorithms { compat::shash_v2::kMd5 = 0, compat::shash_v2::kSha1, compat::shash_v2::kRmd160, compat::shash_v2::kAny }
 

Functions

void compat::shash_v1::MigrateAny (const Any *old_hash, shash::Any *new_hash)
 
void compat::shash_v2::MigrateAny (const Any *old_hash, shash::Any *new_hash)
 
void compat::inode_tracker::Migrate (InodeTracker *old_tracker, glue::InodeTracker *new_tracker)
 
void compat::inode_tracker_v2::Migrate (InodeTracker *old_tracker, glue::InodeTracker *new_tracker)
 
void compat::inode_tracker_v3::Migrate (InodeTracker *old_tracker, glue::InodeTracker *new_tracker)
 
void compat::chunk_tables::Migrate (ChunkTables *old_tables,::ChunkTables *new_tables)
 
void compat::chunk_tables_v2::Migrate (ChunkTables *old_tables,::ChunkTables *new_tables)
 
void compat::chunk_tables_v3::Migrate (ChunkTables *old_tables,::ChunkTables *new_tables)
 

Variables

const unsigned compat::shash_v1::kDigestSizes [] = {16, 20, 20, 20}
 
const unsigned compat::shash_v1::kMaxDigestSize = 20
 
const unsigned compat::shash_v1::kSuffixLengths [] = {0, 0, 7, 0}
 
const unsigned compat::shash_v1::kMaxSuffixLength = 7
 
const unsigned compat::shash_v2::kDigestSizes [] = {16, 20, 20, 20}
 
const unsigned compat::shash_v2::kMaxDigestSize = 20
 
const char * compat::shash_v2::kAlgorithmIds []
 
const unsigned compat::shash_v2::kAlgorithmIdSizes [] = {0, 0, 7, 0}
 
const unsigned compat::shash_v2::kMaxAlgorithmIdentifierSize = 7
 
const char compat::shash_v2::kSuffixNone = 0
 
const char compat::shash_v2::kSuffixCatalog = 'C'
 
const char compat::shash_v2::kSuffixHistory = 'H'
 
const char compat::shash_v2::kSuffixMicroCatalog = 'L'
 
const char compat::shash_v2::kSuffixPartial = 'P'
 
const char compat::shash_v2::kSuffixTemporary = 'T'
 
const char compat::shash_v2::kSuffixCertificate = 'X'