Changeset 160 for trunk/include
- Timestamp:
- 12/06/09 20:00:58 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfi.h
r159 r160 251 251 252 252 253 typedef struct _regfi_classname 254 { 255 /* As converted to requested character encoding. */ 256 char* interpreted; 257 258 /* Represents raw buffer read from classname cell. */ 259 uint8* raw; 260 261 /* Length of the raw data. May be shorter than that indicated by parent key.*/ 262 uint16 size; 263 } REGFI_CLASSNAME; 264 265 253 266 typedef struct _regfi_data 254 267 { … … 299 312 300 313 char* valuename; 314 uint8* valuename_raw; 301 315 uint16 name_length; 302 316 uint32 hbin_off; /* offset from beginning of this hbin block */ … … 351 365 uint16 name_length; 352 366 uint16 classname_length; 353 char* classname;354 367 char* keyname; 368 uint8* keyname_raw; 355 369 uint32 parent_off; /* pointer to parent key */ 356 370 uint32 classname_off; … … 554 568 const char* value_name); 555 569 570 REGFI_CLASSNAME* regfi_iterator_fetch_classname(REGFI_ITERATOR* i, 571 const REGFI_NK_REC* key); 556 572 REGFI_DATA* regfi_iterator_fetch_data(REGFI_ITERATOR* i, 557 573 const REGFI_VK_REC* value); … … 583 599 const char* string_encoding, 584 600 uint32 type, REGFI_DATA* data); 601 void regfi_free_classname(REGFI_CLASSNAME* classname); 585 602 void regfi_free_data(REGFI_DATA* data); 603 586 604 587 605 /* These are cached so return values don't need to be freed. */ … … 628 646 uint32* cell_length, bool* unalloc); 629 647 630 char*regfi_parse_classname(REGFI_FILE* file, uint32 offset,648 uint8* regfi_parse_classname(REGFI_FILE* file, uint32 offset, 631 649 uint16* name_length, 632 650 uint32 max_size, bool strict);
Note: See TracChangeset
for help on using the changeset viewer.