#ifndef RW_H #define RW_H typedef struct rwheader { unsigned int type; unsigned int size; unsigned int version; } rwheader; rwheader ReadHeader(FILE *rw); void WriteHeader(int type, int size, int version, FILE *rw); #endif