Changeset 226 for trunk/include/regfi.h
- Timestamp:
- 04/05/11 15:01:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfi.h
r224 r226 84 84 #undef _EXPORT 85 85 #endif 86 #ifdef REGFI_WIN32 87 #define _EXPORT __declspec(dllexport) 88 #else 86 89 #define _EXPORT __attribute__((visibility("default"))) 87 88 90 #endif 91 92 #ifndef EOVERFLOW 93 # define EOVERFLOW E2BIG 94 #endif 89 95 90 96 /******************************************************************************/ … … 709 715 typedef struct _regfi_raw_file 710 716 { 711 off_t (* seek)(); /* (REGFI_RAW_FILE* self, off_t offset, int whence) */717 int64_t (* seek)(); /* (REGFI_RAW_FILE* self, uint64_t offset, int whence) */ 712 718 ssize_t (* read)(); /* (REGFI_RAW_FILE* self, void* buf, size_t count) */ 713 719 … … 1627 1633 /* Private (and undocumented) Functions */ 1628 1634 /******************************************************************************/ 1629 off_tregfi_raw_seek(REGFI_RAW_FILE* self,1630 off_t offset, int whence);1635 int64_t regfi_raw_seek(REGFI_RAW_FILE* self, 1636 uint64_t offset, int whence); 1631 1637 ssize_t regfi_raw_read(REGFI_RAW_FILE* self, 1632 1638 void* buf, size_t count); 1633 1639 _EXPORT 1634 off_tregfi_seek(REGFI_RAW_FILE* file_cb,1635 off_t offset, int whence);1640 uint64_t regfi_seek(REGFI_RAW_FILE* file_cb, 1641 uint64_t offset, int whence); 1636 1642 _EXPORT 1637 1643 uint32_t regfi_read(REGFI_RAW_FILE* file_cb,
Note: See TracChangeset
for help on using the changeset viewer.