Changeset 263 for trunk/src


Ignore:
Timestamp:
06/17/11 20:06:51 (14 years ago)
Author:
tim
Message:

simplified string encoding argument passing throughout regfi API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup-recover.c

    r251 r263  
    7676 
    7777  /* XXX: Add command line option to choose output encoding */
    78   regfi_interpret_keyname(f, nk, REGFI_ENCODING_ASCII, true);
     78  regfi_interpret_keyname(f, nk, true);
    7979
    8080  quoted_name = get_quoted_keyname(nk);
     
    112112
    113113  /* XXX: Add command line option to choose output encoding */
    114   regfi_interpret_valuename(f, vk, REGFI_ENCODING_ASCII, true);
     114  regfi_interpret_valuename(f, vk, true);
    115115 
    116116  quoted_name = get_quoted_valuename(vk);
     
    129129  /* XXX: Add command line option to choose output encoding */
    130130  if(vk->data != NULL
    131      && !regfi_interpret_data(f, REGFI_ENCODING_ASCII, vk->type, vk->data))
     131     && !regfi_interpret_data(f, vk->type, vk->data))
    132132  {
    133133    fprintf(stderr, "WARN: Error occurred while interpreting data for VK record"
     
    282282        {
    283283          /* XXX: Add command line option to choose output encoding */
    284           regfi_interpret_keyname(f, cur_ancestor, REGFI_ENCODING_ASCII, true);
     284          regfi_interpret_keyname(f, cur_ancestor, true);
    285285         
    286286          path_element->buf = (uint8_t*)get_quoted_keyname(cur_ancestor);
     
    943943    {
    944944      /* XXX: Add command line option to choose output encoding */
    945       regfi_interpret_keyname(f, tmp_key, REGFI_ENCODING_ASCII, true);
     945      regfi_interpret_keyname(f, tmp_key, true);
    946946
    947947      tmp_name = get_quoted_keyname(tmp_key);
Note: See TracChangeset for help on using the changeset viewer.