This section introduces metadata functions, their purposes, and parameters.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
Returns: The name of a function as defined in the UDF XML file. The return value is a pointer. Do not change the memory that the pointer points to or C8Free() this pointer.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
Returns: The name of the library as defined in the UDF XML file. The return value is a pointer. Do not change the memory that the pointer points to, or C8Free() this pointer.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
Returns: The number of input parameters stored in the context object.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
ndx: Indicates which parameter in the context object to get the type string for. The first parameter is 0.
Returns: The type string for the parameter as provided in the Parameter attribute in the UDF XML file. The return value is a pointer. Do not change the memory that the pointer points to, or C8Free() this pointer.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
ndx: Indicates which parameter in the context object to get the type string for.
Returns: The type string for the specified parameter as provided in the Parameter attribute in the UDF XML file.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
ndx: Indicates which parameter in the context object to get the type string for.
Returns: The name of the parameter as provided in the Parameter attribute in the UDF XML file. Do not change the memory that the pointer points to, or C8Free() this pointer.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
Returns:The type string for the output parameter. The return value is a pointer. Do not change the memory that the pointer points to, or C8Free() this pointer.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
Returns: The type enumeration for that parameter.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
Returns: The string for the output parameter name. If you have not provided an output name in the UDF XML, then this string will be empty. The return value is a pointer. Do not change the memory that the pointer points to, or C8Free() this pointer.
In the shutdown() callback function, the session state should be destroyed. Storing and retrieving session information is optional.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
data: A pointer to the state information that you would like to be able to see the next time that the adapter's execute() function is called.
Returns: Nothing.
Parameters:
ctx: A context object that contains information about the parameters passed to the UDF.
Returns: A pointer to session state information. The exact structure of this information is defined by you, so the function simply returns a pointer to the memory without interpreting that memory in any way.