Obtain a Table Object

The TPF obtains a table object for the table parameter using the get_value method of a_v4_extfn_proc_context.

A table object (a_v4_extfn_table) can initiate retrieving rows from an input table. The following code snippet illustrates how get_value obtains a table object for parameter 1. For simplicity, this code assumes that parameter 1 is a table.
a_v4_extfn_value        value;
a_v4_extfn_table *      table;

ctx->get_value( args_handle,
                        1,
                        &value );

table = (a_v4_extfn_table *)value.data;
Related reference
get_value