Download INFORMIX-Universal Server Guide to the High

Transcript
pl_set_method_function(methodtable, method, function)
pl_set_method_function(methodtable, method, function)
This function inserts the passed function into the method chain.
Function Information
Description of Arguments
Function type:
int
Input arguments:
void *methodtable
Method table passed to
PL_MTH_CONFIGURE
Return values:
int method
Method ID
int (*funcptr)()
Function to insert into method
chain
PL_RTN_OK,
PL_RTN_FAIL
pl_driver_inherit(method)
This function returns a pointer to the function that currently supports the
passed method and advances the method chain so that the next request
returns the next function in the method list.
Function Information
Description of Arguments
Function type:
int
Input argument:
int method
Return values:
PL_RTN_OK,
PL_RTN_FAIL
Method ID
When you inherit a driver and use the pl_set_method_function to override
a method, you can assume all processing functionality for method.
However, if you want to add to the existing processing functionality,
pl_driver_inherit returns the function that was installed in the function table
prior to the call to pl_set_method_function.
F-22
Guide to the High-Performance Loader