![]() |
Storage Engine API
|
#include "mongo/platform/basic.h"#include "mongo/db/storage/encryption_hooks.h"#include <boost/filesystem/path.hpp>#include "mongo/base/init.h"#include "mongo/db/service_context.h"#include "mongo/db/storage/data_protector.h"#include "mongo/stdx/memory.h"Namespaces | |
| mongo | |
| Copyright (C) 2014 MongoDB Inc. | |
Functions | |
| GlobalInitializerRegisterer | mongo::encryptionHooksInitializer ("SetEncryptionHooks", {"ServiceContext"}, [](InitializerContext *context) { EncryptionHooks::set(getGlobalServiceContext(), stdx::make_unique< EncryptionHooks >());return Status::OK();}, [](DeinitializerContext *context) { EncryptionHooks::set(getGlobalServiceContext(), nullptr);return Status::OK();}) |