Return to previous page Return to menu Go to next page

2. Reference

2.1 Data list

  Title  
Data specifications
  Data  
Storage device connection information
Data Name
BupConfig
No

 
        typedef struct BupConfig {   Uint16 unit_id; / * Unit ID * /   Uint16 partition; / * Number of partitions * / } BupConfig;

* If unit_id is 0, it indicates no connection.

 Device type 
unit_id
partition
 Internal memory 
 1 
 1 
 External cartridge 
 2 
 1 

  Title  
Data specifications
  Data  
Status information
Data Name
BupStat
No

        typedef struct BupStat {   Uint32 totalsize; / * Total capacity () * /   Uint32 totalblock; / * Number of blocks * /   Uint32 blocksize; / * 1 block size () * /   Uint32 freesize; / * Free space * /   Uint32 freeblock; / * Number of free blocks * /   Uint32 datanum; / * Number of writable records * / } BupStat;

Datanum stores the value for the size specified by datasize in BUP_Stat ().

  Title  
Data specifications
  Data  
Date time
Data Name
BupDate
No

        typedef struct BupDate {   Uint8 year; / * year (1980 minus 1980) * /   Uint8 month; / * month (1-12) * /   Uint8 day; / * Day (1-31) * /   Uint8 time; / * time (0-23) * /   Uint8 min; / * minutes (0-59) * /   Uint8 week; / * Day of the week (Sun 0 to Sat 6) * / } BupDate;


Return to previous page Return to menu Go to next page