PDL_RegisterFunction

Description

Registers a function as the destination of a service call from a JavaScript component.

Syntax

PDL_Err PDL_RegisterFunction(
  const char *functionName,
  const char *schema,
  PDL_ProviderCallbackFunc function
);     

Argument Description
functionName The externally visible function name to be registered.
schema Future compatibility. Must be NULL.
function The handler function to be called.

See also:

  • PDL_ServiceRegistrationComplete
  • PDL_ServiceCall
  • PDL_ServiceCallWithCallback
  • PDL_UnregisterServiceCallback
  • PDL_GetParamDouble
  • PDL_GetParamInt
  • PDL_GetParamString
  • PDL_ParamExists
  • PDL_ProviderReply