Changeset 252 for trunk/src/reglookup.c


Ignore:
Timestamp:
05/08/11 13:33:49 (13 years ago)
Author:
tim
Message:

updated pyregfi to work with regfi changes
renamed some functions for more clarity
fixed some issues related to talloc_reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup.c

    r251 r252  
    227227  buf[0] = '\0';
    228228
    229   path = regfi_iterator_cur_path(i);
     229  path = regfi_iterator_ancestry(i);
    230230  if(path == NULL)
    231231  {
     
    381381
    382382  root = regfi_iterator_cur_key(iter);
    383   regfi_reference_record(iter->f, root);
    384   cur = root;
     383  cur = root = regfi_reference_record(iter->f, root);
    385384  regfi_iterator_first_subkey(iter);
    386385  sub = regfi_iterator_cur_subkey(iter);
     
    504503  }
    505504
    506   if(!regfi_iterator_walk_path(iter, tmp_path))
     505  if(!regfi_iterator_descend(iter, tmp_path))
    507506  {
    508507    printMsgs(iter->f);
Note: See TracChangeset for help on using the changeset viewer.