Setting the Dynamic Library Interface

Specify the interface style to be used in the dynamically linkable library.

Each dynamically loaded library must contain exactly one copy of this definition:

extern "C" a_sql_uint32 extfn_use_new_api(void )
{ 
     return EXTFN_V4_API;
}
This definition informs the server of which interface style is being used, and therefore how to access the UDFs defined in this dynamically linkable library. For high-performance UDFs, only new interface styles EXTFN_V3_API and EXTFN_V4_API are supported.