Annotation of truecrypt/platform/user.h, revision 1.1.1.3

1.1       root        1: /*
                      2:  Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
                      3: 
1.1.1.3 ! root        4:  Governed by the TrueCrypt License 2.6 the full text of which is contained
1.1       root        5:  in the file License.txt included in TrueCrypt binary and source code
                      6:  distribution packages.
                      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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.