You are here: SwitchKit Programmer’s Guide > 4 Register Functions > sk_pplTCAPRegister() / sk_pplTCAPUnRegister()
sk_pplTCAPRegister() / sk_pplTCAPUnRegister()
Description
Use the function sk_pplTCAPRegister() to enable an application to register for TCAP traffic by Sub-System Number (SSN) or Origination Point Code(OPC). This message is also available as sk_pplTCAPRegisterOnConnection() and skts_pplTCAPRegister().
Use sk_pplTCAPUnRegister() to unregister. This message is also available as sk_pplTCAPUnRegisterOnConnection() and skts_pplTCAPUnRegister().
int sk_pplTCAPRegister(int aRegisterVal, UBYTE aRegisterType);
int sk_pplTCAPUnRegister(int aRegisterVal, UBYTE aRegisterType);
int sk_pplTCAPRegisterOnConnection(int aRegisterVal, UBYTE aRegisterType, int aConID);
int sk_pplTCAPUnRegisterOnConnection(int aRegisterVal, UBYTE aRegisterType, int aConID)
int skts_pplTCAPRegister( int aRegisterVal, UBYTE aRegisterType, int aConID );
int skts_pplTCAPUnRegister( int aRegisterVal, UBYTE aRegisterType, int aConID );
The function parameters are shown in the table below.
Argument |
Description |
---|---|
aRegisterVal |
OPC or Sub-System Number |
aRegisterType |
Registration type. Use the following constants to specify either OPC or SSN: SK_TCAP_REG_OPC (0x00) - OPC Registration SK_TCAP_REG_SSN (0x01) - SSN Registration SK_TCAP_REG_STACK_SSN 0x02 - Registers a combination of stack and subsystem number. |
aConID |
aConID is a connection identifier specified at connection creation time and used to indicate which LLC an application wishes to communicate with. |