Changeset 138 for trunk/include
- Timestamp:
- 02/08/09 14:53:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfi.h
r137 r138 53 53 54 54 /******************************************************************************/ 55 /* Macros */ 56 55 56 /* regfi library error message types */ 57 #define REGFI_MSG_INFO 0x0001 58 #define REGFI_MSG_WARN 0x0004 59 #define REGFI_MSG_ERROR 0x0010 60 57 61 /* Registry data types */ 58 62 #define REG_NONE 0 … … 281 285 /* Run-time information */ 282 286 /************************/ 283 int fd; /* file descriptor */ 284 285 /* Experimental hbin lists */ 287 /* file descriptor */ 288 int fd; 289 290 /* For sanity checking (not part of the registry header) */ 291 uint32 file_length; 292 293 /* Metadata about hbins */ 286 294 range_list* hbins; 287 295 … … 289 297 char* last_message; 290 298 291 /* For sanity checking (not part of the registry header)*/292 uint 32 file_length;299 /* Mask for error message types that will be stored. */ 300 uint16 msg_mask; 293 301 294 302 … … 359 367 */ 360 368 char* regfi_get_messages(REGFI_FILE* file); 369 void regfi_set_message_mask(REGFI_FILE* file, uint16 mask); 361 370 362 371 REGFI_ITERATOR* regfi_iterator_new(REGFI_FILE* fh); … … 458 467 REGFI_SUBKEY_LIST** lists, 459 468 bool strict); 460 void regfi_add_message(REGFI_FILE* file, const char* fmt, ...); 469 void regfi_add_message(REGFI_FILE* file, uint16 msg_type, 470 const char* fmt, ...); 461 471 #endif /* _REGFI_H */
Note: See TracChangeset
for help on using the changeset viewer.