pe_predefined_vertcs |
Creates a table of predefined vertical coordinate systems
PE_TABLE pe_predefined_vertcs (int *n);
n | The number of rows in the table is returned in this parameter |
The table is an array of rows with the following structure:
typedef struct pe_entry_t
{
int code;
char name[PE_NAME_MAX];
} *PE_TABLE;
On success, the table; on failure, a null pointer
PE_TABLE vcs_list;
int n, i;
vcs_list = pe_predefined_vertcs(&n);
for ( i=0; i<n; i++ )
{
printf("%d %s\n", vcs_list[i].code, vcs_list[i].name);
}