pe_predefined_htmethod

Creates a table of predefined horizontal transformation htmethods

Usage syntax

PE_TABLE pe_predefined_htmethod (int *n);

Parameters
n The number of rows in the table is returned in this parameter
Description

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.

Returns

On success, the table; on failure, a null pointer

Examples
PE_TABLE htmethods;
int n, i;

htmethods = pe_predefined_htmethod(&n);

for ( i=0; i<n; i++ )
{
   printf("%d %s\n", htmethods[i].code, htmethods[i].name);
}