Changeset 206 for trunk/src/reglookup.c
- Timestamp:
- 08/25/10 11:20:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/reglookup.c
r203 r206 77 77 } 78 78 79 data = regfi_ iterator_fetch_data(iter, vk);79 data = regfi_fetch_data(iter->f, vk); 80 80 81 81 printMsgs(iter->f); … … 304 304 formatTime(&key->mtime, mtime); 305 305 306 if(print_security && (sk=regfi_ iterator_cur_sk(iter)))306 if(print_security && (sk=regfi_fetch_sk(iter->f, key))) 307 307 { 308 308 owner = regfi_get_owner(sk->sec_desc); … … 321 321 dacl = empty_str; 322 322 323 classname = regfi_ iterator_fetch_classname(iter, key);323 classname = regfi_fetch_classname(iter->f, key); 324 324 printMsgs(iter->f); 325 325 if(classname != NULL) … … 636 636 } 637 637 638 f = regfi_alloc(fd); 638 /* XXX: add command line option to choose output encoding */ 639 f = regfi_alloc(fd, REGFI_ENCODING_ASCII); 639 640 if(f == NULL) 640 641 { … … 643 644 } 644 645 645 646 /* XXX: add command line option to choose output encoding */ 647 iter = regfi_iterator_new(f, REGFI_ENCODING_ASCII); 646 iter = regfi_iterator_new(f); 648 647 if(iter == NULL) 649 648 {
Note: See TracChangeset
for help on using the changeset viewer.