Changeset 253 for trunk/include/regfi.h
- Timestamp:
- 06/12/11 22:27:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfi.h
r252 r253 74 74 75 75 /* regfi headers */ 76 #include <byteorder.h> 77 #include <winsec.h> 78 #include <void_stack.h> 79 #include <range_list.h> 80 #include <lru_cache.h> 81 82 /* GCC-specific macro for library exports */ 83 #ifdef _EXPORT 84 #undef _EXPORT 85 #endif 86 #ifdef REGFI_WIN32 87 #define _EXPORT() __declspec(dllexport) 88 #else 89 #define _EXPORT() __attribute__((visibility("default"))) 90 #endif 91 92 #ifndef EOVERFLOW 93 # define EOVERFLOW E2BIG 94 #endif 76 #include "compat.h" 77 #include "byteorder.h" 78 #include "winsec.h" 79 #include "void_stack.h" 80 #include "range_list.h" 81 #include "lru_cache.h" 95 82 96 83 /******************************************************************************/ … … 1094 1081 1095 1082 1083 /** Returns the next SK (security) record referenced by the supplied SK record 1084 * 1085 * @param file the file from which sk is derived 1086 * @param sk the SK record whose next sibling SK record is desired 1087 * 1088 * @return A read-only SK structure, or NULL on failure. 1089 * 1090 * @note 1091 * SK records are included in a circular, doubly-linked list. 1092 * To iterate over all SK records, be sure to check for the repetition of 1093 * the SK record you started with to determine when all have been traversed. 1094 * 1095 * @ingroup regfiBase 1096 */ 1097 _EXPORT() 1098 const REGFI_SK* regfi_next_sk(REGFI_FILE* file, const REGFI_SK* sk); 1099 1100 1101 /** Returns the previous SK (security) record referenced by the supplied SK record 1102 * 1103 * @param file the file from which sk is derived 1104 * @param sk the SK record whose previous sibling SK record is desired 1105 * 1106 * @return A read-only SK structure, or NULL on failure. 1107 * 1108 * @note 1109 * SK records are included in a circular, doubly-linked list. 1110 * To iterate over all SK records, be sure to check for the repetition of 1111 * the SK record you started with to determine when all have been traversed. 1112 * 1113 * @ingroup regfiBase 1114 */ 1115 _EXPORT() 1116 const REGFI_SK* regfi_prev_sk(REGFI_FILE* file, const REGFI_SK* sk); 1117 1118 1096 1119 /** Retrieves data for a given value. 1097 1120 * … … 1542 1565 _EXPORT() 1543 1566 const REGFI_SK* regfi_load_sk(REGFI_FILE* file, uint32_t offset, 1544 1567 bool strict); 1545 1568 1546 1569
Note: See TracChangeset
for help on using the changeset viewer.