]>
git.saurik.com Git - apple/xnu.git/blob - libsa/libsa/vers_rsrc.h
fb49018676ee7bc11b12e4421b84ad9a46978327
4 #include <libkern/OSTypes.h>
12 VERS_development
= 0x20,
15 VERS_candidate
= 0x70, // for interim usage only!
20 #define BCD_combine(l, r) ( (((l) & 0xf) << 4) | ((r) & 0xf) )
21 #define BCD_get_left(p) ( ((p) >> 4) & 0xf )
22 #define BCD_get_right(p) ( (p) & 0xf )
24 #define BCD_illegal (0xff) // full byte, 11111111
26 int VERS_parse_string(const char * vers_string
, UInt32
* version_num
);
27 int VERS_string(char * buffer
, UInt32 length
, UInt32 vers
);