struct fann_train_data * fann_read_train_from_file(FILE * file, char * filename);
fann_read_train_from_file
will load training data from the file descriptor
file.
filename is used for debugging output only.
This function appears in FANN >= 1.1.0.