Changeset 252 for trunk/include
- Timestamp:
- 05/08/11 13:33:49 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfi.h
r251 r252 1013 1013 * Adds an extra internal reference to specified record, making it necessary to 1014 1014 * call regfi_free_record on it an additional time before it is freed. This is 1015 * useful in cases where multiple threads/structures need access to a record,1015 * useful in cases where multiple threads/structures need access to a shared record, 1016 1016 * without requiring them to be in sync with when it is freed. 1017 1017 * … … 1022 1022 * REGFI_SK, REGFI_DATA, and REGFI_CLASSNAME records. 1023 1023 * 1024 * @return true on success, false otherwise 1025 * 1026 * @ingroup regfiBase 1027 */ 1028 _EXPORT() 1029 bool regfi_reference_record(REGFI_FILE* file, const void* record); 1024 * @return Updated record pointer on success, NULL otherwise 1025 * 1026 * @note Be sure to use the returned record for further access to the structure 1027 * instead of the previous version of the pointer. E.g.: 1028 * @code 1029 * myKey = (const REGFI_NK*)regfi_reference_record(myFile, myKey); 1030 * @endcode 1031 * 1032 * @ingroup regfiBase 1033 */ 1034 _EXPORT() 1035 const void* regfi_reference_record(REGFI_FILE* file, const void* record); 1030 1036 1031 1037 … … 1289 1295 */ 1290 1296 _EXPORT() 1291 bool regfi_iterator_ walk_path(REGFI_ITERATOR* i, const char** path);1297 bool regfi_iterator_descend(REGFI_ITERATOR* i, const char** path); 1292 1298 1293 1299 … … 1413 1419 1414 1420 1415 /** Returns the full path where the iterator is currently located as a list 1416 * of NK records 1421 /** Returns the current key and all parent keys as a list of NK records 1417 1422 * 1418 1423 * @param i the iterator … … 1420 1425 * @return An array of NK record pointers terminated by a NULL pointer. 1421 1426 * This array may be passed directly to regfi_free_record to free 1422 * the entire array. 1427 * the entire array. 1423 1428 * 1424 1429 * @note In order to use an element of the array independently from the … … 1430 1435 */ 1431 1436 _EXPORT() 1432 const REGFI_NK** regfi_iterator_ cur_path(REGFI_ITERATOR* i);1437 const REGFI_NK** regfi_iterator_ancestry(REGFI_ITERATOR* i); 1433 1438 1434 1439
Note: See TracChangeset
for help on using the changeset viewer.