sbar.h (619B)
1 typedef unsigned char uchar; 2 typedef unsigned int uint; 3 typedef unsigned long ulong; 4 5 typedef struct { 6 char text[8]; 7 ulong c; 8 } Bat; 9 10 typedef struct { 11 char* path; 12 char text[32]; 13 ulong free; 14 float size_f; 15 } Partition; 16 17 typedef struct { 18 char text[24]; 19 ulong free; 20 ulong size; 21 uchar unit; 22 float size_f; 23 } Ram; 24 25 typedef struct { 26 char text[256]; 27 uchar update; 28 } Title; 29 30 void Batchk(); 31 void Partchk(); 32 void Partinit(); 33 void Ramchk(); 34 void Raminit(); 35 void Titleset(); 36 void Titleinit(); 37 void wait(double); 38 39 extern Title title; 40 extern Partition part[]; 41 extern Ram ram; 42 extern Bat bat;