pe_predefined_vtmethod |
Creates a table of predefined vertical transformation methods
PE_TABLE pe_predefined_vtmethod (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;
Free the table with pe_table_del.
On success, returns the table; on failure, returns a null pointer
PE_TABLE vtmethods;
int n, i;
vtmethods = pe_predefined_vtmethod(&n);
for ( i=0; i<n; i++ )
{
printf("%d %s\n", vtmethods[i].code, vtmethods[i].name);
}