- Timestamp:
- 01/19/07 09:52:25 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/reglookup.c
r83 r84 524 524 525 525 526 void printValue( REGF_VK_REC* vk, char* prefix)526 void printValue(const REGF_VK_REC* vk, char* prefix) 527 527 { 528 528 char* quoted_value = NULL; … … 534 534 535 535 /* Thanks Microsoft for making this process so straight-forward!!! */ 536 /* XXX: this logic should be abstracted and pushed into the regfi 537 * interface. This includes the size limits. 538 */ 536 539 size = (vk->data_size & ~VK_DATA_IN_OFFSET); 537 540 if(vk->data_size & VK_DATA_IN_OFFSET) … … 618 621 void printValueList(REGFI_ITERATOR* i, char* prefix) 619 622 { 620 REGF_VK_REC* value;623 const REGF_VK_REC* value; 621 624 622 625 value = regfi_iterator_first_value(i); … … 630 633 631 634 632 void printKey( REGF_NK_REC* k, char* full_path)635 void printKey(const REGF_NK_REC* k, char* full_path) 633 636 { 634 637 static char empty_str[1] = ""; … … 679 682 void printKeyTree(REGFI_ITERATOR* iter) 680 683 { 681 REGF_NK_REC* root = NULL;682 REGF_NK_REC* cur = NULL;683 REGF_NK_REC* sub = NULL;684 const REGF_NK_REC* root = NULL; 685 const REGF_NK_REC* cur = NULL; 686 const REGF_NK_REC* sub = NULL; 684 687 char* path = NULL; 685 688 int key_type = regfi_type_str2val("KEY"); … … 750 753 int retrievePath(REGFI_ITERATOR* iter, char** path) 751 754 { 752 REGF_VK_REC* value;755 const REGF_VK_REC* value; 753 756 char* tmp_path_joined; 754 757 const char** tmp_path;
Note: See TracChangeset
for help on using the changeset viewer.