mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-16 09:31:31 +00:00
33 lines
632 B
C++
33 lines
632 B
C++
/*
|
|
Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved.
|
|
|
|
Governed by the TrueCrypt License 3.0 the full text of which is contained in
|
|
the file License.txt included in TrueCrypt binary and source code distribution
|
|
packages.
|
|
*/
|
|
|
|
#ifndef TC_HEADER_Platform_User
|
|
#define TC_HEADER_Platform_User
|
|
|
|
#include "PlatformBase.h"
|
|
|
|
#ifdef TC_UNIX
|
|
#include <unistd.h>
|
|
#include <sys/types.h>
|
|
#endif
|
|
|
|
namespace VeraCrypt
|
|
{
|
|
struct UserId
|
|
{
|
|
UserId () { }
|
|
#ifdef TC_UNIX
|
|
UserId (uid_t systemId) : SystemId (systemId) { }
|
|
|
|
uid_t SystemId;
|
|
#endif
|
|
};
|
|
}
|
|
|
|
#endif // TC_HEADER_Platform_User
|