sk_setTCAPHandler()

Description

Use the sk_setTCAPHandler() function to organize the flow of TUSI and SUSI messages for your application. Once a stack and subsystem number have been assigned to an application, the sk_setTCAPHandler() function causes the specified handler function to be called whenever a CSP-initiated message arrives on a stack and subsystem number. This function does not affect the routing of any acknowledgment messages. This function is also available as skts_setTCAPHandler().

Syntax

int sk_setTCAPHandler(int aStackID, int anSSN, void *aTag, HandlerFunc* aHandlerFunc);

Threadsafe Syntax

int skts_setTCAPHandler(int aStackID, int anSSN, void *aTag, HandlerFunc* aHandlerFunc);

Parameters

The function parameters are shown in the table below.

Argument

Description

aStackID

Identifies Stack ID

anSSN

Identified Subsystem number

aTag

An application defined pointer which will be returned to the application when a handler is invoked.

aHandlerFunc

A pointer to a function that is designed to handle messages.

Return Values

Possible return values for this function:

OK

Always returns OK.