Unify (and fix) include guards
This commit is contained in:
parent
7103b3ab07
commit
5f9c2c0611
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_CRYCIPHER_H
|
||||
#define CRYFS_CRYCIPHER_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_SRC_CONFIG_CRYCIPHER_H
|
||||
#define MESSMER_CRYFS_SRC_CONFIG_CRYCIPHER_H
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_LIB_CRYCONFIG_H_
|
||||
#define CRYFS_LIB_CRYCONFIG_H_
|
||||
#ifndef MESSMER_CRYFS_SRC_CONFIG_CRYCONFIG_H_
|
||||
#define MESSMER_CRYFS_SRC_CONFIG_CRYCONFIG_H_
|
||||
|
||||
#include <boost/filesystem/path.hpp>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_SRC_CRYCONFIGLOADER_H_
|
||||
#define MESSMER_CRYFS_SRC_CRYCONFIGLOADER_H_
|
||||
#ifndef MESSMER_CRYFS_SRC_CONFIG_CRYCONFIGLOADER_H_
|
||||
#define MESSMER_CRYFS_SRC_CONFIG_CRYCONFIGLOADER_H_
|
||||
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_LIB_CRYDEVICE_H_
|
||||
#define CRYFS_LIB_CRYDEVICE_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CRYDEVICE_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CRYDEVICE_H_
|
||||
|
||||
#include <messmer/blockstore/interface/BlockStore.h>
|
||||
#include "../config/CryConfigLoader.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_LIB_CRYDIR_H_
|
||||
#define CRYFS_LIB_CRYDIR_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CRYDIR_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CRYDIR_H_
|
||||
|
||||
#include <messmer/fspp/fs_interface/Dir.h>
|
||||
#include "CryNode.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_LIB_CRYFILE_H_
|
||||
#define CRYFS_LIB_CRYFILE_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CRYFILE_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CRYFILE_H_
|
||||
|
||||
#include "parallelaccessfsblobstore/FileBlobRef.h"
|
||||
#include "parallelaccessfsblobstore/DirBlobRef.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_LIB_CRYNODE_H_
|
||||
#define CRYFS_LIB_CRYNODE_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CRYNODE_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CRYNODE_H_
|
||||
|
||||
#include <messmer/fspp/fs_interface/Node.h>
|
||||
#include "messmer/cpp-utils/macros.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_LIB_CRYOPENFILE_H_
|
||||
#define CRYFS_LIB_CRYOPENFILE_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CRYOPENFILE_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CRYOPENFILE_H_
|
||||
|
||||
#include "messmer/fspp/fs_interface/OpenFile.h"
|
||||
#include "parallelaccessfsblobstore/FileBlobRef.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_LIB_CRYSYMLINK_H_
|
||||
#define CRYFS_LIB_CRYSYMLINK_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CRYSYMLINK_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CRYSYMLINK_H_
|
||||
|
||||
#include <messmer/fspp/fs_interface/Symlink.h>
|
||||
#include "CryNode.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_CACHINGFSBLOBSTORE_CACHINGFSBLOBSTORE_H
|
||||
#define CRYFS_CACHINGFSBLOBSTORE_CACHINGFSBLOBSTORE_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_CACHINGFSBLOBSTORE_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_CACHINGFSBLOBSTORE_H
|
||||
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include "../fsblobstore/FsBlobStore.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_DIRBLOBREF_H
|
||||
#define CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_DIRBLOBREF_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_DIRBLOBREF_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_DIRBLOBREF_H
|
||||
|
||||
#include "FsBlobRef.h"
|
||||
#include "../fsblobstore/DirBlob.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_FILEBLOBREF_H
|
||||
#define CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_FILEBLOBREF_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_FILEBLOBREF_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_FILEBLOBREF_H
|
||||
|
||||
#include "FsBlobRef.h"
|
||||
#include "../fsblobstore/FileBlob.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_CACHINGFSBLOBSTORE_FSBLOBREF_H
|
||||
#define CRYFS_CACHINGFSBLOBSTORE_FSBLOBREF_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_FSBLOBREF_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_FSBLOBREF_H
|
||||
|
||||
#include "../fsblobstore/FsBlob.h"
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_SYMLINKBLOBREF_H
|
||||
#define CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_SYMLINKBLOBREF_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_SYMLINKBLOBREF_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_CACHINGFSBLOBSTORE_SYMLINKBLOBREF_H
|
||||
|
||||
#include "FsBlobRef.h"
|
||||
#include "../fsblobstore/SymlinkBlob.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_FSBLOBSTORE_DIRBLOB_H_
|
||||
#define CRYFS_FSBLOBSTORE_DIRBLOB_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_DIRBLOB_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_DIRBLOB_H_
|
||||
|
||||
#include <messmer/blockstore/utils/Key.h>
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_FSBLOBSTORE_FILEBLOB_H_
|
||||
#define CRYFS_FSBLOBSTORE_FILEBLOB_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_FILEBLOB_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_FILEBLOB_H_
|
||||
|
||||
#include "FsBlob.h"
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_FSBLOBSTORE_FSBLOB_H
|
||||
#define CRYFS_FSBLOBSTORE_FSBLOB_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_FSBLOB_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_FSBLOB_H
|
||||
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <messmer/blobstore/interface/Blob.h>
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_FSBLOBSTORE_FSBLOBSTORE_H
|
||||
#define CRYFS_FSBLOBSTORE_FSBLOBSTORE_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_FSBLOBSTORE_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_FSBLOBSTORE_H
|
||||
|
||||
#include <messmer/cpp-utils/lock/LockPool.h>
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_FSBLOBSTORE_MAGICNUMBERS_H_
|
||||
#define CRYFS_FSBLOBSTORE_MAGICNUMBERS_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_MAGICNUMBERS_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_MAGICNUMBERS_H_
|
||||
|
||||
namespace cryfs {
|
||||
namespace fsblobstore {
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_FSBLOBSTORE_SYMLINKBLOB_H_
|
||||
#define CRYFS_FSBLOBSTORE_SYMLINKBLOB_H_
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_SYMLINKBLOB_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_SYMLINKBLOB_H_
|
||||
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include "FsBlob.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_FILESYSTEM_FSBLOBSTORE_UTILS_DIRENTRY_H
|
||||
#define CRYFS_FILESYSTEM_FSBLOBSTORE_UTILS_DIRENTRY_H
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_UTILS_DIRENTRY_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_UTILS_DIRENTRY_H
|
||||
|
||||
#include <messmer/blockstore/utils/Key.h>
|
||||
#include <messmer/fspp/fs_interface/Dir.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef CRYFS_FILESYSTEM_FSBLOBSTORE_UTILS_DIRENTRYLIST_H
|
||||
#define CRYFS_FILESYSTEM_FSBLOBSTORE_UTILS_DIRENTRYLIST_H
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_UTILS_DIRENTRYLIST_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_FSBLOBSTORE_UTILS_DIRENTRYLIST_H
|
||||
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include "DirEntry.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_DIRBLOBREF_H
|
||||
#define CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_DIRBLOBREF_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_DIRBLOBREF_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_DIRBLOBREF_H
|
||||
|
||||
#include "FsBlobRef.h"
|
||||
#include "../cachingfsblobstore/DirBlobRef.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_FILEBLOBREF_H
|
||||
#define CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_FILEBLOBREF_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_FILEBLOBREF_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_FILEBLOBREF_H
|
||||
|
||||
#include "FsBlobRef.h"
|
||||
#include "../cachingfsblobstore/FileBlobRef.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_PARALLELACCESSFSBLOBSTORE_FSBLOBREF_H
|
||||
#define CRYFS_PARALLELACCESSFSBLOBSTORE_FSBLOBREF_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_FSBLOBREF_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_FSBLOBREF_H
|
||||
|
||||
#include <messmer/parallelaccessstore/ParallelAccessStore.h>
|
||||
#include "../cachingfsblobstore/FsBlobRef.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_PARALLELACCESSFSBLOBSTORE_H
|
||||
#define CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_PARALLELACCESSFSBLOBSTORE_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_PARALLELACCESSFSBLOBSTORE_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_PARALLELACCESSFSBLOBSTORE_H
|
||||
|
||||
#include <messmer/parallelaccessstore/ParallelAccessStore.h>
|
||||
#include "FileBlobRef.h"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_PARALLELACCESSFSBLOBSTOREADAPTER_H_
|
||||
#define MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_PARALLELACCESSFSBLOBSTOREADAPTER_H_
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_SYMLINKBLOBREF_H
|
||||
#define CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_SYMLINKBLOBREF_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_SYMLINKBLOBREF_H
|
||||
#define MESSMER_CRYFS_FILESYSTEM_PARALLELACCESSFSBLOBSTORE_SYMLINKBLOBREF_H
|
||||
|
||||
#include "FsBlobRef.h"
|
||||
#include "../cachingfsblobstore/SymlinkBlobRef.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlockStore.h>
|
||||
ß#include <messmer/blockstore/implementations/ondisk/OnDiskBlockStore.h>
|
||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlockStore.h>
|
||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlock.h>
|
||||
#include <cmath>
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_PROGRAMOPTIONS_PARSER_H
|
||||
#define CRYFS_PROGRAMOPTIONS_PARSER_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_PROGRAMOPTIONS_PARSER_H
|
||||
#define MESSMER_CRYFS_PROGRAMOPTIONS_PARSER_H
|
||||
|
||||
#include "ProgramOptions.h"
|
||||
#include <boost/program_options.hpp>
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_PROGRAMOPTIONS_PROGRAMOPTIONS_H
|
||||
#define CRYFS_PROGRAMOPTIONS_PROGRAMOPTIONS_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_PROGRAMOPTIONS_PROGRAMOPTIONS_H
|
||||
#define MESSMER_CRYFS_PROGRAMOPTIONS_PROGRAMOPTIONS_H
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_PROGRAMOPTIONS_UTILS_H
|
||||
#define CRYFS_PROGRAMOPTIONS_UTILS_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_PROGRAMOPTIONS_UTILS_H
|
||||
#define MESSMER_CRYFS_PROGRAMOPTIONS_UTILS_H
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef CRYFS_TEST_PROGRAMOPTIONS_PROGRAMOPTIONSTEST_H
|
||||
#define CRYFS_TEST_PROGRAMOPTIONS_PROGRAMOPTIONSTEST_H
|
||||
#pragma once
|
||||
#ifndef MESSMER_CRYFS_TEST_PROGRAMOPTIONS_PROGRAMOPTIONSTEST_H
|
||||
#define MESSMER_CRYFS_TEST_PROGRAMOPTIONS_PROGRAMOPTIONSTEST_H
|
||||
|
||||
#include <google/gtest/gtest.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user