Changeset 111 for trunk/include/regfi.h


Ignore:
Timestamp:
05/01/08 00:06:22 (16 years ago)
Author:
tim
Message:

Switched license to GPLv3

Added early version of new tool, reglookup-recover

Many library changes made to support this new tool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/regfi.h

    r110 r111  
    171171  uint16 flag;
    172172  uint16 unknown1;
     173  bool data_in_offset;
    173174} REGF_VK_REC;
    174175
     
    179180typedef struct _regf_sk_rec
    180181{
    181   REGF_HBIN* hbin;      /* pointer to HBIN record (in memory) containing
    182                          * this nk record
    183                          */
     182  uint32 offset;        /* Real file offset of this record */
     183  uint32 cell_size;     /* ((start_offset - end_offset) & 0xfffffff8) */
     184
    184185  SEC_DESC* sec_desc;
    185186  uint32 hbin_off;      /* offset from beginning of this hbin block */
    186   uint32 cell_size;     /* ((start_offset - end_offset) & 0xfffffff8) */
    187   uint32 offset;        /* Real file offset of this record */
    188187 
    189188  uint32 sk_off;        /* offset parsed from NK record used as a key
     
    389388                        uint32 length, bool strict);
    390389
     390REGF_SK_REC* regfi_parse_sk(REGF_FILE* file, uint32 offset, uint32 max_size, bool strict);
     391
    391392range_list* regfi_parse_unalloc_cells(REGF_FILE* file);
    392393
     394REGF_HBIN* regfi_lookup_hbin(REGF_FILE* file, uint32 offset);
     395
     396bool regfi_parse_cell(int fd, uint32 offset, uint8* hdr, uint32 hdr_len,
     397                      uint32* cell_length, bool* unalloc);
     398
    393399#endif  /* _REGFI_H */
Note: See TracChangeset for help on using the changeset viewer.