This is an implementation function exported by the User Exit library (.lel). It is invoked when the execution group starts just after loading the .lel. During invocation of this function, the user’s code should call cciRegisterUserExit to register each user exit provided by that .lel.
extern "C"{ void bipInitializeUserExits(){ int rc = CCI_SUCCESS; CCI_UE_VFT myVft = {CCI_UE_VFT_DEFAULT}; myVft.iFpInputMessageCallback = myInputMessageCallback; myVft.iFpTransactionEventCallback = myTransactionEventCallback; myVft.iFpPropagatedMessageCallback = myPropagatedMessageCallback; myVft.iFpNodeCompletionCallback = myNodeCompletionCallback; cciRegisterUserExit(&rc, MyConstants::myUserExitName, 0, myVft); /*we should now check the rc for unexpected values*/ return; } }/*end of extern "C" */