Changeset 168 for trunk/src/reglookup.c


Ignore:
Timestamp:
03/02/10 19:08:42 (14 years ago)
Author:
tim
Message:

merged remaining smb_deps items into regfi

began formatting API comments for use with doxygen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup.c

    r162 r168  
    132132  char* next = NULL;
    133133  char* copy;
    134   uint32 ret_cur = 0;
     134  uint32_t ret_cur = 0;
    135135
    136136  ret_val = (char**)malloc((REGFI_MAX_DEPTH+1+1)*sizeof(char**));
     
    179179void freePath(char** path)
    180180{
    181   uint32 i;
     181  uint32_t i;
    182182
    183183  if(path == NULL)
     
    196196  const REGFI_ITER_POSITION* cur;
    197197  const REGFI_NK_REC* tmp_key;
    198   uint32 buf_left = 127;
    199   uint32 buf_len = buf_left+1;
    200   uint32 name_len = 0;
    201   uint32 grow_amt;
     198  uint32_t buf_left = 127;
     199  uint32_t buf_len = buf_left+1;
     200  uint32_t name_len = 0;
     201  uint32_t grow_amt;
    202202  char* buf;
    203203  char* new_buf;
     
    245245    if(name_len+1 > buf_left)
    246246    {
    247       grow_amt = (uint32)(buf_len/2);
     247      grow_amt = (uint32_t)(buf_len/2);
    248248      buf_len += name_len+1+grow_amt-buf_left;
    249249      if((new_buf = realloc(buf, buf_len)) == NULL)
     
    298298  REGFI_CLASSNAME* classname;
    299299
    300   *tmp_time = nt_time_to_unix(&k->mtime);
     300  *tmp_time = regfi_nt2unix_time(&k->mtime);
    301301  tmp_time_s = gmtime(tmp_time);
    302302  strftime(mtime, sizeof(mtime), "%Y-%m-%d %H:%M:%S", tmp_time_s);
     
    454454  char* tmp_path_joined;
    455455  const char** tmp_path;
    456   uint32 i;
     456  uint32_t i;
    457457 
    458458  if(path == NULL)
     
    557557  REGFI_ITERATOR* iter;
    558558  int retr_path_ret;
    559   uint32 argi, arge;
     559  uint32_t argi, arge;
    560560
    561561  /* Process command line arguments */
Note: See TracChangeset for help on using the changeset viewer.