Changeset 111 for trunk/include


Ignore:
Timestamp:
05/01/08 00:06:22 (17 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

Location:
trunk/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/byteorder.h

    r30 r111  
    1111 * This program is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; version 2 of the License.
     13 * the Free Software Foundation; version 3 of the License.
    1414 *
    1515 * This program is distributed in the hope that it will be useful,
  • 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 */
  • trunk/include/smb_deps.h

    r84 r111  
    1010 * This program is free software; you can redistribute it and/or modify
    1111 * it under the terms of the GNU General Public License as published by
    12  * the Free Software Foundation; version 2 of the License.
     12 * the Free Software Foundation; version 3 of the License.
    1313 *
    1414 * This program is distributed in the hope that it will be useful,
  • trunk/include/void_stack.h

    r89 r111  
    44 * This program is free software; you can redistribute it and/or modify
    55 * it under the terms of the GNU General Public License as published by
    6  * the Free Software Foundation; version 2 of the License.
     6 * the Free Software Foundation; version 3 of the License.
    77 *
    88 * This program is distributed in the hope that it will be useful,
Note: See TracChangeset for help on using the changeset viewer.