Changeset 215 for trunk/include
- Timestamp:
- 03/27/11 21:46:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfi.h
r209 r215 666 666 uint8_t* name_raw; 667 667 668 /** Vir utal offset of parent key */668 /** Virtual offset of parent key */ 669 669 uint32_t parent_off; 670 670 671 /** Vir utal offset of classname key */671 /** Virtual offset of classname key */ 672 672 uint32_t classname_off; 673 673 … … 952 952 953 953 954 /* Dispose of previously parsed records */ 954 /** Fetches a hive's root key. 955 * 956 * @return Returns the root key or NULL on failure. Key must be freed using 957 * @ref regfi_free_record. 958 * 959 * @ingroup regfiBase 960 */ 961 _EXPORT 962 const REGFI_NK* regfi_get_rootkey(REGFI_FILE* file); 963 955 964 956 965 /** Frees a record previously returned by one of the API functions. … … 962 971 * convenience. Since records returned previously must not be modified by users 963 972 * of the API due to internal caching, these are returned as const, so this 964 * function is const to make passing back ineasy.973 * function is const to make passing those records back easy. 965 974 * 966 975 * @ingroup regfiBase … … 1110 1119 uint32_t index); 1111 1120 1121 1122 1123 /** Uses a key's parent_off reference to retrieve it's parent. 1124 * 1125 * @param file the file from which key is derived 1126 * @param key the key whose parent is desired 1127 * 1128 * @return the requested subkey or NULL on error. 1129 * 1130 * @ingroup regfiBase 1131 */ 1132 _EXPORT 1133 const REGFI_NK* regfi_get_parentkey(REGFI_FILE* file, const REGFI_NK* key); 1112 1134 1113 1135 … … 1345 1367 /******************************************************************************/ 1346 1368 1347 /** Loads a key a t a given file offset along with associated data structures.1369 /** Loads a key and associated data structures given a file offset. 1348 1370 * 1349 1371 * XXX: finish documenting … … 1353 1375 _EXPORT 1354 1376 REGFI_NK* regfi_load_key(REGFI_FILE* file, uint32_t offset, 1355 1356 1377 REGFI_ENCODING output_encoding, 1378 bool strict); 1357 1379 1358 1380 … … 1584 1606 1585 1607 /******************************************************************************/ 1586 /* Private Functions */ 1587 /******************************************************************************/ 1588 REGFI_NK* regfi_rootkey(REGFI_FILE* file); 1589 1608 /* Private (and undocumented) Functions */ 1609 /******************************************************************************/ 1590 1610 off_t regfi_raw_seek(REGFI_RAW_FILE* self, 1591 1611 off_t offset, int whence);
Note: See TracChangeset
for help on using the changeset viewer.