RSL_toga_to_radar


Synopsis

#include "rsl.h"
Radar *RSL_toga_to_radar(char *infile);

Description

Reads a TOGA file and returns a pointer to the structure Radar. The inpile is specified by the string infile. If infile is NULL, then stdin is read. The input file may be compressed. If the data is compressed, it is passed through the GNU gunzip filter. Thus, compressed data can be any format that gzip understands.

The radar structure is, essentially, an array of Volumes. The type of volumes returned is automatically determined from the input file.


Return value

Upon successful completion, RSL_toga_to_radar returns a pointer to the structure Radar. Otherwise, NULL is returned and errno is set.

See also

RSL_anyformat_to_radar

Author: Mike Kolander.