Community articleFCMDeregisterFunctionCall
Added by IBM contributorIBM on August 16, 2011
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.



Description

De-registers a particular function from a FunctionCall structure.

Function

r_short FCMDeregisterFunctionCall(
   FunctionCall *theFunctionCallObject,
   r_charP thePackageName,
   r_charP theFunctionName);


Parameters

Table 1. deregister function call parameters
ExpressionTypeDescription
theFunctionCallObjectFunctionCall*The Function Call structure that contains the function that you are de-registering.
thePackageNamer_charPThe name of the package that the function belongs to. See Notes for more information.
theFunctionNamer_charPThe name of the function to be de-registered. See Notes for more information.


Returns

OK on success or an error code on failure.

Notes

  • thePackageName — Use the package name that you created when you registered the function using FCMRegisterFunctionCall.
  • theFunctionName — Use the function name that you created when you registered the function using FCMRegisterFunctionCall.

Example

The following example de-registers the multiply function from the package called test_Package.
if ( theError = FCMDeregisterFunctionCall(theFunctionCall,
      "test_Package", "multiply") == NOTOK )
{
         return (theError);
}