- Timestamp:
- 2012-02-28T13:59:00+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers/mg/lib/filestats.h
r16583 r25147 23 23 #define H_FILESTATS 24 24 25 #include "mglong.h" 25 26 26 27 typedef struct FileStats 27 28 { 28 unsignedlong NumSeeks;29 unsignedlong NumReads;30 unsignedlong NumBytes;29 mg_u_long NumSeeks; 30 mg_u_long NumReads; 31 mg_u_long NumBytes; 31 32 } 32 33 FileStats; … … 45 46 46 47 /* if magic is 0 no magic number is read or written */ 47 File *Fopen (char *name, char *mode, unsignedlong magic);48 File *Fopen (char *name, char *mode, mg_u_long magic); 48 49 49 50 size_t Fread (void *ptr, size_t size, size_t nitems, File * F); 50 51 51 int Fseek (File * F, long offset, int ptrname);52 int Fseek (File * F, mg_s_long offset, int ptrname); 52 53 53 54 void Rewind (File * F);
Note:
See TracChangeset
for help on using the changeset viewer.