|
|
1.1 root 1: /*
1.1.1.6 root 2: Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved.
1.1 root 3:
1.1.1.7 ! root 4: Governed by the TrueCrypt License 3.0 the full text of which is contained in
1.1.1.6 root 5: the file License.txt included in TrueCrypt binary and source code distribution
6: packages.
1.1 root 7: */
8:
9: #ifndef TC_HEADER_Platform_User
10: #define TC_HEADER_Platform_User
11:
12: #include "PlatformBase.h"
13:
14: #ifdef TC_UNIX
15: #include <unistd.h>
16: #include <sys/types.h>
17: #endif
18:
19: namespace TrueCrypt
20: {
21: struct UserId
22: {
1.1.1.3 root 23: UserId () { }
1.1 root 24: #ifdef TC_UNIX
1.1.1.3 root 25: UserId (uid_t systemId) : SystemId (systemId) { }
26:
1.1 root 27: uid_t SystemId;
28: #endif
29: };
30: }
31:
32: #endif // TC_HEADER_Platform_User
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.