Changeset 145 for trunk/include
- Timestamp:
- 02/15/09 18:36:20 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfi.h
r143 r145 191 191 192 192 193 typedef struct 193 typedef struct _regfi_subkey_list 194 194 { 195 195 /* Real offset of this record's cell in the file */ … … 210 210 bool recursive_type; 211 211 } REGFI_SUBKEY_LIST; 212 213 214 typedef uint32 REGFI_VALUE_LIST_ELEM; 215 typedef struct _regfi_value_list 216 { 217 /* Actual number of values referenced by this list. 218 * May differ from parent key's num_values if there were parsing errors. 219 */ 220 uint32 num_values; 221 222 REGFI_VALUE_LIST_ELEM* elements; 223 } REGFI_VALUE_LIST; 212 224 213 225 … … 269 281 270 282 /* link in the other records here */ 271 REGFI_V K_REC** values;283 REGFI_VALUE_LIST* values; 272 284 REGFI_SUBKEY_LIST* subkeys; 273 285 … … 427 439 /* Middle-layer structure caching, loading, and linking */ 428 440 /********************************************************/ 429 REGFI_HBIN* regfi_lookup_hbin(REGFI_FILE* file, uint32 offset);441 REGFI_HBIN* regfi_lookup_hbin(REGFI_FILE* file, uint32 voffset); 430 442 REGFI_NK_REC* regfi_load_key(REGFI_FILE* file, uint32 offset, 431 443 bool strict); … … 433 445 uint32 num_keys, uint32 max_size, 434 446 bool strict); 435 REGFI_VK_REC** regfi_load_valuelist(REGFI_FILE* file, uint32 offset, 447 REGFI_VK_REC* regfi_load_value(REGFI_FILE* file, uint32 offset, 448 bool strict); 449 REGFI_VALUE_LIST* regfi_load_valuelist(REGFI_FILE* file, uint32 offset, 436 450 uint32 num_values, uint32 max_size, 437 451 bool strict); … … 465 479 uint32 max_size, bool strict); 466 480 467 uint8* regfi_parse_data(REGFI_FILE* file, uint32 offset, 481 uint8* regfi_parse_data(REGFI_FILE* file, 482 uint32 data_type, uint32 offset, 468 483 uint32 length, uint32 max_size, 469 bool strict);484 bool data_in_offset, bool strict); 470 485 471 486 REGFI_SK_REC* regfi_parse_sk(REGFI_FILE* file, uint32 offset,
Note: See TracChangeset
for help on using the changeset viewer.