diff options
Diffstat (limited to 'src/Core')
33 files changed, 33 insertions, 33 deletions
diff --git a/src/Core/Core.h b/src/Core/Core.h index 37bbb986..5f218775 100644 --- a/src/Core/Core.h +++ b/src/Core/Core.h @@ -10,9 +10,9 @@ #define TC_HEADER_Core_Core #include "CoreBase.h" -namespace TrueCrypt +namespace VeraCrypt { extern auto_ptr <CoreBase> Core; extern auto_ptr <CoreBase> CoreDirect; } diff --git a/src/Core/CoreBase.cpp b/src/Core/CoreBase.cpp index b615b7ff..038640ca 100644 --- a/src/Core/CoreBase.cpp +++ b/src/Core/CoreBase.cpp @@ -11,9 +11,9 @@ #include "CoreBase.h" #include "RandomNumberGenerator.h" #include "Volume/Volume.h" -namespace TrueCrypt +namespace VeraCrypt { CoreBase::CoreBase () : DeviceChangeInProgress (false) { diff --git a/src/Core/CoreBase.h b/src/Core/CoreBase.h index d99420ab..90a52dbe 100644 --- a/src/Core/CoreBase.h +++ b/src/Core/CoreBase.h @@ -20,9 +20,9 @@ #include "CoreException.h" #include "HostDevice.h" #include "MountOptions.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreBase { public: diff --git a/src/Core/CoreException.cpp b/src/Core/CoreException.cpp index da939a8d..328e88bc 100644 --- a/src/Core/CoreException.cpp +++ b/src/Core/CoreException.cpp @@ -8,9 +8,9 @@ #include "CoreException.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { void ElevationFailed::Deserialize (shared_ptr <Stream> stream) { ExecutedProcessFailed::Deserialize (stream); diff --git a/src/Core/CoreException.h b/src/Core/CoreException.h index 40ffbcea..e04bc4a6 100644 --- a/src/Core/CoreException.h +++ b/src/Core/CoreException.h @@ -10,9 +10,9 @@ #define TC_HEADER_Core_CoreException #include "Platform/Platform.h" -namespace TrueCrypt +namespace VeraCrypt { struct ElevationFailed : public ExecutedProcessFailed { ElevationFailed () { } diff --git a/src/Core/FatFormatter.cpp b/src/Core/FatFormatter.cpp index ba69df61..8e17b166 100644 --- a/src/Core/FatFormatter.cpp +++ b/src/Core/FatFormatter.cpp @@ -14,9 +14,9 @@ #include "Volume/VolumeHeader.h" #include "FatFormatter.h" #include "RandomNumberGenerator.h" -namespace TrueCrypt +namespace VeraCrypt { struct fatparams { char volume_name[11]; diff --git a/src/Core/FatFormatter.h b/src/Core/FatFormatter.h index 47702190..726e3c55 100644 --- a/src/Core/FatFormatter.h +++ b/src/Core/FatFormatter.h @@ -10,9 +10,9 @@ #define TC_HEADER_Core_FatFormatter #include "Platform/Platform.h" -namespace TrueCrypt +namespace VeraCrypt { class FatFormatter { public: diff --git a/src/Core/HostDevice.cpp b/src/Core/HostDevice.cpp index 0147d568..60fbcd31 100644 --- a/src/Core/HostDevice.cpp +++ b/src/Core/HostDevice.cpp @@ -8,9 +8,9 @@ #include "HostDevice.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { void HostDevice::Deserialize (shared_ptr <Stream> stream) { Serializer sr (stream); diff --git a/src/Core/HostDevice.h b/src/Core/HostDevice.h index 227dc241..5cde6ec0 100644 --- a/src/Core/HostDevice.h +++ b/src/Core/HostDevice.h @@ -11,9 +11,9 @@ #include "Platform/Platform.h" #include "Platform/Serializable.h" -namespace TrueCrypt +namespace VeraCrypt { struct HostDevice; typedef list < shared_ptr <HostDevice> > HostDeviceList; diff --git a/src/Core/MountOptions.cpp b/src/Core/MountOptions.cpp index 04187311..a09879d8 100644 --- a/src/Core/MountOptions.cpp +++ b/src/Core/MountOptions.cpp @@ -9,9 +9,9 @@ #include "MountOptions.h" #include "Platform/MemoryStream.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { void MountOptions::CopyFrom (const MountOptions &other) { #define TC_CLONE(NAME) NAME = other.NAME diff --git a/src/Core/MountOptions.h b/src/Core/MountOptions.h index 23fc7ca2..12aa03d5 100644 --- a/src/Core/MountOptions.h +++ b/src/Core/MountOptions.h @@ -14,9 +14,9 @@ #include "Volume/Volume.h" #include "Volume/VolumeSlot.h" #include "Volume/VolumePassword.h" -namespace TrueCrypt +namespace VeraCrypt { struct MountOptions : public Serializable { MountOptions () diff --git a/src/Core/RandomNumberGenerator.cpp b/src/Core/RandomNumberGenerator.cpp index a010e7c6..ab3aad6b 100644 --- a/src/Core/RandomNumberGenerator.cpp +++ b/src/Core/RandomNumberGenerator.cpp @@ -14,9 +14,9 @@ #include "RandomNumberGenerator.h" #include "Volume/Crc32.h" -namespace TrueCrypt +namespace VeraCrypt { void RandomNumberGenerator::AddSystemDataToPool (bool fast) { SecureBuffer buffer (PoolSize); diff --git a/src/Core/RandomNumberGenerator.h b/src/Core/RandomNumberGenerator.h index fb3a6917..2c7587c9 100644 --- a/src/Core/RandomNumberGenerator.h +++ b/src/Core/RandomNumberGenerator.h @@ -12,9 +12,9 @@ #include "Platform/Platform.h" #include "Volume/Hash.h" #include "Common/Random.h" -namespace TrueCrypt +namespace VeraCrypt { class RandomNumberGenerator { public: diff --git a/src/Core/Unix/CoreService.cpp b/src/Core/Unix/CoreService.cpp index 9d2fd2a4..53592c0a 100644 --- a/src/Core/Unix/CoreService.cpp +++ b/src/Core/Unix/CoreService.cpp @@ -19,9 +19,9 @@ #include "CoreUnix.h" #include "CoreServiceRequest.h" #include "CoreServiceResponse.h" -namespace TrueCrypt +namespace VeraCrypt { template <class T> auto_ptr <T> CoreService::GetResponse () { diff --git a/src/Core/Unix/CoreService.h b/src/Core/Unix/CoreService.h index 9702dc7e..f752fc94 100644 --- a/src/Core/Unix/CoreService.h +++ b/src/Core/Unix/CoreService.h @@ -13,9 +13,9 @@ #include "Platform/Stream.h" #include "Platform/Unix/Pipe.h" #include "Core/Core.h" -namespace TrueCrypt +namespace VeraCrypt { // This service facilitates process forking and elevation of user privileges class CoreService { diff --git a/src/Core/Unix/CoreServiceProxy.h b/src/Core/Unix/CoreServiceProxy.h index 2a264617..3a65bc00 100644 --- a/src/Core/Unix/CoreServiceProxy.h +++ b/src/Core/Unix/CoreServiceProxy.h @@ -11,9 +11,9 @@ #include "CoreService.h" #include "Volume/VolumePasswordCache.h" -namespace TrueCrypt +namespace VeraCrypt { template <class T> class CoreServiceProxy : public T { diff --git a/src/Core/Unix/CoreServiceRequest.cpp b/src/Core/Unix/CoreServiceRequest.cpp index 49ee8418..15711055 100644 --- a/src/Core/Unix/CoreServiceRequest.cpp +++ b/src/Core/Unix/CoreServiceRequest.cpp @@ -9,9 +9,9 @@ #include <errno.h> #include "CoreServiceRequest.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { void CoreServiceRequest::Deserialize (shared_ptr <Stream> stream) { Serializer sr (stream); diff --git a/src/Core/Unix/CoreServiceRequest.h b/src/Core/Unix/CoreServiceRequest.h index 030ac81b..583d1058 100644 --- a/src/Core/Unix/CoreServiceRequest.h +++ b/src/Core/Unix/CoreServiceRequest.h @@ -11,9 +11,9 @@ #include "Platform/Serializable.h" #include "Core/Core.h" -namespace TrueCrypt +namespace VeraCrypt { struct CoreServiceRequest : public Serializable { CoreServiceRequest () : ElevateUserPrivileges (false), FastElevation (false) { } diff --git a/src/Core/Unix/CoreServiceResponse.cpp b/src/Core/Unix/CoreServiceResponse.cpp index 7809b448..3f69c4bd 100644 --- a/src/Core/Unix/CoreServiceResponse.cpp +++ b/src/Core/Unix/CoreServiceResponse.cpp @@ -8,9 +8,9 @@ #include "CoreServiceResponse.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { // CheckFilesystemResponse void CheckFilesystemResponse::Deserialize (shared_ptr <Stream> stream) { diff --git a/src/Core/Unix/CoreServiceResponse.h b/src/Core/Unix/CoreServiceResponse.h index 24c09b35..458b309f 100644 --- a/src/Core/Unix/CoreServiceResponse.h +++ b/src/Core/Unix/CoreServiceResponse.h @@ -11,9 +11,9 @@ #include "Platform/Serializable.h" #include "Core/Core.h" -namespace TrueCrypt +namespace VeraCrypt { struct CoreServiceResponse : public Serializable { }; diff --git a/src/Core/Unix/CoreUnix.cpp b/src/Core/Unix/CoreUnix.cpp index 975c8401..15a96297 100644 --- a/src/Core/Unix/CoreUnix.cpp +++ b/src/Core/Unix/CoreUnix.cpp @@ -17,9 +17,9 @@ #include "Platform/FileStream.h" #include "Driver/Fuse/FuseService.h" #include "Volume/VolumePasswordCache.h" -namespace TrueCrypt +namespace VeraCrypt { CoreUnix::CoreUnix () { signal (SIGPIPE, SIG_IGN); diff --git a/src/Core/Unix/CoreUnix.h b/src/Core/Unix/CoreUnix.h index b8e4cc54..08bf3395 100644 --- a/src/Core/Unix/CoreUnix.h +++ b/src/Core/Unix/CoreUnix.h @@ -13,9 +13,9 @@ #include "Platform/Unix/Process.h" #include "Core/CoreBase.h" #include "Core/Unix/MountedFilesystem.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreUnix : public CoreBase { public: diff --git a/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp b/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp index e0a4dd5f..a160415b 100644 --- a/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp +++ b/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp @@ -15,9 +15,9 @@ #include <sys/wait.h> #include "CoreFreeBSD.h" #include "Core/Unix/CoreServiceProxy.h" -namespace TrueCrypt +namespace VeraCrypt { CoreFreeBSD::CoreFreeBSD () { } diff --git a/src/Core/Unix/FreeBSD/CoreFreeBSD.h b/src/Core/Unix/FreeBSD/CoreFreeBSD.h index a8230334..4c1eaa77 100644 --- a/src/Core/Unix/FreeBSD/CoreFreeBSD.h +++ b/src/Core/Unix/FreeBSD/CoreFreeBSD.h @@ -11,9 +11,9 @@ #include "System.h" #include "Core/Unix/CoreUnix.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreFreeBSD : public CoreUnix { public: diff --git a/src/Core/Unix/Linux/CoreLinux.cpp b/src/Core/Unix/Linux/CoreLinux.cpp index 777ccb77..4170cdfe 100644 --- a/src/Core/Unix/Linux/CoreLinux.cpp +++ b/src/Core/Unix/Linux/CoreLinux.cpp @@ -21,9 +21,9 @@ #include "Volume/EncryptionModeXTS.h" #include "Driver/Fuse/FuseService.h" #include "Core/Unix/CoreServiceProxy.h" -namespace TrueCrypt +namespace VeraCrypt { CoreLinux::CoreLinux () { } diff --git a/src/Core/Unix/Linux/CoreLinux.h b/src/Core/Unix/Linux/CoreLinux.h index 5758d651..54c40d5b 100644 --- a/src/Core/Unix/Linux/CoreLinux.h +++ b/src/Core/Unix/Linux/CoreLinux.h @@ -11,9 +11,9 @@ #include "System.h" #include "Core/Unix/CoreUnix.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreLinux : public CoreUnix { public: diff --git a/src/Core/Unix/MacOSX/CoreMacOSX.cpp b/src/Core/Unix/MacOSX/CoreMacOSX.cpp index b7aa08c7..4f2baea6 100644 --- a/src/Core/Unix/MacOSX/CoreMacOSX.cpp +++ b/src/Core/Unix/MacOSX/CoreMacOSX.cpp @@ -18,9 +18,9 @@ #include "CoreMacOSX.h" #include "Driver/Fuse/FuseService.h" #include "Core/Unix/CoreServiceProxy.h" -namespace TrueCrypt +namespace VeraCrypt { CoreMacOSX::CoreMacOSX () { } diff --git a/src/Core/Unix/MacOSX/CoreMacOSX.h b/src/Core/Unix/MacOSX/CoreMacOSX.h index 37ebd1d6..179c458e 100644 --- a/src/Core/Unix/MacOSX/CoreMacOSX.h +++ b/src/Core/Unix/MacOSX/CoreMacOSX.h @@ -11,9 +11,9 @@ #include "System.h" #include "Core/Unix/FreeBSD/CoreFreeBSD.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreMacOSX : public CoreFreeBSD { public: diff --git a/src/Core/Unix/MountedFilesystem.h b/src/Core/Unix/MountedFilesystem.h index 6e704d3c..c6c10ae9 100644 --- a/src/Core/Unix/MountedFilesystem.h +++ b/src/Core/Unix/MountedFilesystem.h @@ -10,9 +10,9 @@ #define TC_HEADER_Core_Unix_MountedFilesystem #include "Platform/Platform.h" -namespace TrueCrypt +namespace VeraCrypt { struct MountedFilesystem { public: diff --git a/src/Core/Unix/Solaris/CoreSolaris.cpp b/src/Core/Unix/Solaris/CoreSolaris.cpp index 63736db3..25fb537d 100644 --- a/src/Core/Unix/Solaris/CoreSolaris.cpp +++ b/src/Core/Unix/Solaris/CoreSolaris.cpp @@ -14,9 +14,9 @@ #include <sys/mnttab.h> #include "CoreSolaris.h" #include "Core/Unix/CoreServiceProxy.h" -namespace TrueCrypt +namespace VeraCrypt { CoreSolaris::CoreSolaris () { } diff --git a/src/Core/Unix/Solaris/CoreSolaris.h b/src/Core/Unix/Solaris/CoreSolaris.h index 76dd1945..1e6cd1f3 100644 --- a/src/Core/Unix/Solaris/CoreSolaris.h +++ b/src/Core/Unix/Solaris/CoreSolaris.h @@ -11,9 +11,9 @@ #include "System.h" #include "Core/Unix/CoreUnix.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreSolaris : public CoreUnix { public: diff --git a/src/Core/VolumeCreator.cpp b/src/Core/VolumeCreator.cpp index 6011efd0..e9c764a0 100644 --- a/src/Core/VolumeCreator.cpp +++ b/src/Core/VolumeCreator.cpp @@ -18,9 +18,9 @@ #include "VolumeCreator.h" #include "FatFormatter.h" -namespace TrueCrypt +namespace VeraCrypt { VolumeCreator::VolumeCreator () : SizeDone (0) { diff --git a/src/Core/VolumeCreator.h b/src/Core/VolumeCreator.h index 4e8cf61e..74641d58 100644 --- a/src/Core/VolumeCreator.h +++ b/src/Core/VolumeCreator.h @@ -12,9 +12,9 @@ #include "Platform/Platform.h" #include "Volume/Volume.h" #include "RandomNumberGenerator.h" -namespace TrueCrypt +namespace VeraCrypt { struct VolumeCreationOptions { |