]>
git.saurik.com Git - apple/system_cmds.git/blob - kmodload.tproj/vers_rsrc.h
11 #include <CoreFoundation/CoreFoundation.h>
19 VERS_development
= 0x20,
22 VERS_candidate
= 0x70, // for interim usage only!
27 #define BCD_combine(l, r) ( (((l) & 0xf) << 4) | ((r) & 0xf) )
28 #define BCD_get_left(p) ( ((p) >> 4) & 0xf )
29 #define BCD_get_right(p) ( (p) & 0xf )
31 #define BCD_illegal (0xff) // full byte, 11111111
33 int VERS_parse_string(char * vers_string
, UInt32
* version_num
);
34 int VERS_string(char * buffer
, UInt32 length
, UInt32 vers
);