Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

gras.h

Go to the documentation of this file.
00001 
00002 #ifndef ALP_PDK_GRAS_H_
00003 #define ALP_PDK_GRAS_H_ 1
00004 #include <stdint.h>
00005 
00006 #define     dmDBNameLength                          32
00007 
00008 #define ALP_CLASS_GRAS               0x30000000
00009 #define ALP_STATUS_GRAS_GARNET_ERROR                (ALP_CLASS_GRAS | 0x00060000)
00010 #define ALP_GRAS_SESSION_TYPE_DB            3
00011 #define ALP_GRAS_CLOSE_DELAY_NORMAL         10000
00012 
00013  struct _Alp68KDBInfo { 
00014  
00015          uint8_t        name[dmDBNameLength];   //  0 - name of database
00016         uint16_t       attributes;                             // 32 - database attributes
00017         uint16_t       version;                                // 34 - version of database
00018 
00019         uint32_t       creationDate;                   // 36 - creation date of database
00020         uint32_t       modificationDate;               // 40 - latest modification date
00021         uint32_t       lastBackupDate;                 // 44 - latest backup date
00022         uint32_t       modificationNumber;             // 48 - modification number of database
00023 
00024         uint8_t        storage;                                // 52 - 0 : internal, or [1..nCards] for card slots
00025         uint8_t        padding[7];                             // 53
00026 
00027         uint32_t       type;                                   // 60 - database type
00028         uint32_t       creator;                                // 64 - database creator
00029 
00030         uint32_t       reserved[3];                    // 68
00031 
00032  
00033  };                                                                      // 80
00034 typedef struct _Alp68KDBInfo Alp68KDBInfo;
00035 
00036 #define     dmHdrAttrHidden                         0x0100 
00037 #define     dmHdrAttrResDB                          0x0001
00038 #endif
00039 

Generated on Sat Dec 16 20:29:47 2006 for hiker-0.9 by  doxygen 1.4.4