Annotation of truecrypt/common/common.h, revision 1.1.1.5

1.1.1.5 ! root        1: /*
        !             2:  Copyright (c) TrueCrypt Foundation. All rights reserved.
        !             3: 
        !             4:  Covered by the TrueCrypt License 2.3 the full text of which is contained
        !             5:  in the file License.txt included in TrueCrypt binary and source code
        !             6:  distribution packages.
        !             7: */
        !             8: 
1.1.1.2   root        9: #ifndef COMMON_H
                     10: #define COMMON_H
1.1       root       11: 
1.1.1.2   root       12: #include "Crypto.h"
                     13: 
                     14: /* Volume types */
                     15: enum
                     16: {
                     17:        VOLUME_TYPE_NORMAL = 0,
                     18:        VOLUME_TYPE_HIDDEN,
                     19:        NBR_VOLUME_TYPES
                     20: };
                     21: 
                     22: /* Prop volume types */
                     23: enum
                     24: {
                     25:        PROP_VOL_TYPE_NORMAL = 0,
                     26:        PROP_VOL_TYPE_HIDDEN,
                     27:        PROP_VOL_TYPE_OUTER,                                            /* Outer/normal (hidden volume protected) */
                     28:        PROP_VOL_TYPE_OUTER_VOL_WRITE_PREVENTED,        /* Outer/normal (hidden volume protected AND write already prevented) */
                     29:        PROP_NBR_VOLUME_TYPES
                     30: };
                     31: 
                     32: /* Hidden volume protection status */
                     33: enum
                     34: {
                     35:        HIDVOL_PROT_STATUS_NONE = 0,
                     36:        HIDVOL_PROT_STATUS_ACTIVE,
                     37:        HIDVOL_PROT_STATUS_ACTION_TAKEN                 /* Active + action taken (write operation has already been denied) */
                     38: };
                     39: 
                     40: typedef struct
                     41: {
1.1       root       42:        BOOL ReadOnly;
                     43:        BOOL Removable;
1.1.1.2   root       44:        BOOL ProtectHiddenVolume;
                     45:        BOOL PreserveTimestamp;
1.1.1.3   root       46:        BOOL SystemVolume;
                     47:        BOOL PersistentVolume;
1.1.1.2   root       48:        Password ProtectedHidVolPassword;       /* Password of hidden volume to protect against overwriting */
1.1       root       49: } MountOptions;
1.1.1.2   root       50: 
                     51: #endif

unix.superglobalmegacorp.com

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