This is an optional method you can implement in your IP to register user-defined scalar functions. Setting Up the samples describes using example3 for a sample implementation.
Refer to "User Defined Scalar Functions" in Chapter 4 of the OpenAccess SDK SQL Engine Programmer's Guide for information on implementing user defined scalar functions.
scalar_functions[] ipGetScalarFunctions()
Table 22. Parameters for ipGetScalarFunctions
Parameter
Type
Description
RETURN
scalar_functions[ ]
An array of scalar_functions used to register user defined scalar functions. The IP class must implement a method for each user defined scalar function and register the method's name.