Changeset 150 for trunk/include
- Timestamp:
- 03/01/09 21:17:46 (16 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfi.h
r149 r150 224 224 225 225 226 /* Key Value*/226 /* Value record */ 227 227 typedef struct 228 228 { … … 230 230 uint32 cell_size; /* ((start_offset - end_offset) & 0xfffffff8) */ 231 231 232 REGFI_HBIN* hbin; /* pointer to HBIN record (in memory) containing233 * this nk record234 */235 232 uint8* data; 233 char* valuename; 236 234 uint16 name_length; 237 char* valuename;238 235 uint32 hbin_off; /* offset from beginning of this hbin block */ 239 236 … … 420 417 const REGFI_NK_REC* regfi_iterator_cur_key(REGFI_ITERATOR* i); 421 418 const REGFI_SK_REC* regfi_iterator_cur_sk(REGFI_ITERATOR* i); 422 const REGFI_NK_REC* regfi_iterator_first_subkey(REGFI_ITERATOR* i); 423 const REGFI_NK_REC* regfi_iterator_cur_subkey(REGFI_ITERATOR* i); 424 const REGFI_NK_REC* regfi_iterator_next_subkey(REGFI_ITERATOR* i); 419 420 REGFI_NK_REC* regfi_iterator_first_subkey(REGFI_ITERATOR* i); 421 REGFI_NK_REC* regfi_iterator_cur_subkey(REGFI_ITERATOR* i); 422 REGFI_NK_REC* regfi_iterator_next_subkey(REGFI_ITERATOR* i); 425 423 426 424 bool regfi_iterator_find_value(REGFI_ITERATOR* i, 427 425 const char* value_name); 428 const REGFI_VK_REC*regfi_iterator_first_value(REGFI_ITERATOR* i);429 const REGFI_VK_REC*regfi_iterator_cur_value(REGFI_ITERATOR* i);430 const REGFI_VK_REC*regfi_iterator_next_value(REGFI_ITERATOR* i);426 REGFI_VK_REC* regfi_iterator_first_value(REGFI_ITERATOR* i); 427 REGFI_VK_REC* regfi_iterator_cur_value(REGFI_ITERATOR* i); 428 REGFI_VK_REC* regfi_iterator_next_value(REGFI_ITERATOR* i); 431 429 432 430 … … 471 469 * A newly allocated NK record structure, or NULL on failure. 472 470 */ 473 REGFI_NK_REC* regfi_parse_nk(REGFI_FILE* file, uint32 offset, 471 REGFI_NK_REC* regfi_parse_nk(REGFI_FILE* file, uint32 offset, 474 472 uint32 max_size, bool strict); 475 473 … … 498 496 uint32 max_size, bool strict); 499 497 498 /* Dispose of previously parsed records */ 499 void regfi_free_key(REGFI_NK_REC* nk); 500 void regfi_free_value(REGFI_VK_REC* vk); 501 502 500 503 501 504 /************************************/ … … 503 506 /************************************/ 504 507 REGFI_NK_REC* regfi_rootkey(REGFI_FILE* file); 505 void regfi_key_free(REGFI_NK_REC* nk);506 508 void regfi_subkeylist_free(REGFI_SUBKEY_LIST* list); 507 509 uint32 regfi_read(int fd, uint8* buf, uint32* length); -
trunk/include/void_stack.h
r111 r150 1 1 /* 2 * Copyright (C) 2005,2007 Timothy D. Morgan2 * Copyright (C) 2005,2007,2009 Timothy D. Morgan 3 3 * 4 4 * This program is free software; you can redistribute it and/or modify … … 18 18 */ 19 19 20 #ifndef _VOID_STACK_H 21 #define _VOID_STACK_H 22 20 23 #include <stdlib.h> 21 24 #include <stdbool.h> 22 25 #include <string.h> 23 24 #ifndef _VOID_STACK_H 25 #define _VOID_STACK_H 26 #include "talloc.h" 26 27 27 28 typedef struct _void_stack
Note: See TracChangeset
for help on using the changeset viewer.