#include <IO.h> int io_read_rd( GapIO *io, int N, char *file, int filelen, char *type, int typelen); int io_write_rd( GapIO *io, int N, char *file, int filelen, char *type, int typelen);
These routines read and write the reading 'raw data' paramaters. These are the file name and file type of the sequence trace file.
For both functions, N is the reading number; file is a buffer, allocated by the caller, of length filelen; and type is a buffer, allocated by the caller, of length typelen.
io_read_rd copies the trace filename to file and it's type to
type. If either of these unknown the corresponding buffer is filled with
spaces instead. It returns 0 if both name and type are known and 1 is either
or both are unknown.
io_write_rd write new file name and file type information. If N
is an unknown reading number, it is first allocated using
io_init_readings. It returns 0 for success.