00001 00036 #ifndef _IOCOUNT_H 00037 #define _IOCOUNT_H 00038 00042 #include <stdint.h> 00043 00044 #include <stdio.h> 00045 00047 typedef uint16_t count_t ; 00049 const count_t max_count_t = (count_t)(-1) ; 00050 00053 namespace ioc { 00054 00069 long write(FILE * fcnt, count_t ** buffer, size_t buflen, int nbuf) ; 00070 00088 void read(FILE * fcnt, count_t ** buffer, size_t buflen, int nbuf, long addr) ; 00089 00090 } // end of namespace ioc 00091 00092 #endif