-
- pos += 4;
-
- right_rw = pos[2];
- rw_mask = pos[3];
-
- type1 = pos[4];
- type2 = pos[8];
- val = pos + 9;
-
- if (type1 == 0x00 && type2 == 0x04) {
- printf("STRING: %s ", val);
- } else if (type1 == 0x01 && type2 == 0x01) {
- printf("BOOL: %s ",(*val ? "TRUE" : "FALSE"));
- } else if (type1 == 0x04 && type2 == 0x02) {
- printf("VAL: 0x%x ", *((unsigned int*)val));
+ if (prop->type1 == 0x00 && prop->type2 == 0x04) {
+ printf("STRING: %s ", prop->val);
+ } else if (prop->type1 == 0x01 && prop->type2 == 0x01) {
+ printf("BOOL: %s ",(*prop->val ? "TRUE" : "FALSE"));
+ } else if (prop->type1 == 0x04 && prop->type2 == 0x02) {
+ printf("VAL: 0x%x ", *((unsigned int*)prop->val));