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

1.1.1.2 ! root        1: #ifndef COMMON_H
        !             2: #define COMMON_H
1.1       root        3: 
1.1.1.2 ! root        4: #include "Crypto.h"
        !             5: 
        !             6: /* Volume types */
        !             7: enum
        !             8: {
        !             9:        VOLUME_TYPE_NORMAL = 0,
        !            10:        VOLUME_TYPE_HIDDEN,
        !            11:        NBR_VOLUME_TYPES
        !            12: };
        !            13: 
        !            14: /* Prop volume types */
        !            15: enum
        !            16: {
        !            17:        PROP_VOL_TYPE_NORMAL = 0,
        !            18:        PROP_VOL_TYPE_HIDDEN,
        !            19:        PROP_VOL_TYPE_OUTER,                                            /* Outer/normal (hidden volume protected) */
        !            20:        PROP_VOL_TYPE_OUTER_VOL_WRITE_PREVENTED,        /* Outer/normal (hidden volume protected AND write already prevented) */
        !            21:        PROP_NBR_VOLUME_TYPES
        !            22: };
        !            23: 
        !            24: /* Hidden volume protection status */
        !            25: enum
        !            26: {
        !            27:        HIDVOL_PROT_STATUS_NONE = 0,
        !            28:        HIDVOL_PROT_STATUS_ACTIVE,
        !            29:        HIDVOL_PROT_STATUS_ACTION_TAKEN                 /* Active + action taken (write operation has already been denied) */
        !            30: };
        !            31: 
        !            32: typedef struct
        !            33: {
        !            34:        int Length;
        !            35:        unsigned char Text[MAX_PASSWORD + 1];
        !            36: } Password;
1.1       root       37: 
                     38: typedef struct
                     39: {
                     40:        BOOL ReadOnly;
                     41:        BOOL Removable;
1.1.1.2 ! root       42:        BOOL ProtectHiddenVolume;
        !            43:        BOOL PreserveTimestamp;
        !            44:        Password ProtectedHidVolPassword;       /* Password of hidden volume to protect against overwriting */
1.1       root       45: } MountOptions;
1.1.1.2 ! root       46: 
        !            47: #endif

unix.superglobalmegacorp.com

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