DICOMNETCALLBACK

typedef struct _DICOMNETCALLBACK 
{ 
   CONNECTCALLBACK pfnConnect; 
   ACCEPTCALLBACK pfnAccept; 
   CLOSECALLBACK pfnClose; 
   RECEIVECALLBACK pfnReceive; 
   SENDCALLBACK pfnSend; 
   RECEIVEASSOCIATEREQUESTCALLBACK pfnReceiveAssociateRequest; 
   RECEIVEASSOCIATEACCEPTCALLBACK pfnReceiveAssociateAccept; 
   RECEIVEASSOCIATEREJECTCALLBACK pfnReceiveAssociateReject; 
   RECEIVEDATACALLBACK pfnReceiveData; 
   RECEIVERELEASEREQUESTCALLBACK pfnReceiveReleaseRequest; 
   RECEIVERELEASERESPONSECALLBACK pfnReceiveReleaseResponse; 
   RECEIVEABORTCALLBACK pfnReceiveAbort; 
   RECEIVECSTOREREQUESTCALLBACK pfnReceiveCStoreRequest; 
   RECEIVECSTORERESPONSECALLBACK pfnReceiveCStoreResponse; 
   RECEIVECFINDREQUESTCALLBACK pfnReceiveCFindRequest; 
   RECEIVECFINDRESPONSECALLBACK pfnReceiveCFindResponse; 
   RECEIVECGETREQUESTCALLBACK pfnReceiveCGetRequest; 
   RECEIVECGETRESPONSECALLBACK pfnReceiveCGetResponse; 
   RECEIVECMOVEREQUESTCALLBACK pfnReceiveCMoveRequest; 
   RECEIVECMOVERESPONSECALLBACK pfnReceiveCMoveResponse; 
   RECEIVECCANCELREQUESTCALLBACK pfnReceiveCCancelRequest; 
   RECEIVECECHOREQUESTCALLBACK pfnReceiveCEchoRequest; 
   RECEIVECECHORESPONSECALLBACK pfnReceiveCEchoResponse; 
   RECEIVENREPORTREQUESTCALLBACK pfnReceiveNReportRequest; 
   RECEIVENREPORTRESPONSECALLBACK pfnReceiveNReportResponse; 
   RECEIVENGETREQUESTCALLBACK pfnReceiveNGetRequest; 
   RECEIVENGETRESPONSECALLBACK pfnReceiveNGetResponse; 
   RECEIVENSETREQUESTCALLBACK pfnReceiveNSetRequest; 
   RECEIVENSETRESPONSECALLBACK pfnReceiveNSetResponse; 
   RECEIVENACTIONREQUESTCALLBACK pfnReceiveNActionRequest; 
   RECEIVENACTIONRESPONSECALLBACK pfnReceiveNActionResponse; 
   RECEIVENCREATEREQUESTCALLBACK pfnReceiveNCreateRequest; 
   RECEIVENCREATERESPONSECALLBACK pfnReceiveNCreateResponse; 
   RECEIVENDELETEREQUESTCALLBACK pfnReceiveNDeleteRequest; 
   RECEIVENDELETERESPONSECALLBACK pfnReceiveNDeleteResponse; 
   RECEIVEUNKNOWNCALLBACK pfnReceiveUnknown; 
   L_VOID *pUserData; 
   GETCHALLENGECALLBACK pfnGetChallenge; 
   INTERNALAUTHENTICATECALLBACK pfnInternalAuthenticate; 
   EXTERNALAUTHENTICATECALLBACK pfnExternalAuthenticate; 
   ONSECURELINKREADY pfnOnSecureLinkReady; 
   ONNONSECURESENDISCL pfnOnNonSecureSendISCL; 
   ONNONSECURERECEIVEDISCL pfnOnNonSecureReceivedISCL; 
   RECEIVEDISCLPACKET pfnOnReceivedISCLPacket; 
} DICOMNETELEMENT, * pDICOMNETELEMENT; 

The DICOMNETCALLBACK structure contains information concerning the DICOM callback functions.

Member

Description

pfnConnect

Pointer to a CONNECTCALLBACK function.

pfnAccept

Pointer to a ACCEPTCALLBACK function

pfnClose

Pointer to a CLOSECALLBACK function

pfnReceive

Pointer to a RECEIVECALLBACK function

pfnSend

Pointer to a SENDCALLBACK function

pfnReceiveAssociateRequest

Pointer to a RECEIVEASSOCIATEREQUESTCALLBACK function

pfnReceiveAssociateAccept

Pointer to a RECEIVEASSOCIATEACCEPTCALLBACK function

pfnReceiveAssociateReject

Pointer to a RECEIVEASSOCIATEREJECTCALLBACK function

pfnReceiveData

Pointer to a RECEIVEDATACALLBACK function

pfnReceiveReleaseRequest

Pointer to a RECEIVERELEASEREQUESTCALLBACK function

pfnReceiveReleaseResponse

Pointer to a RECEIVERELEASERESPONSECALLBACK function

pfnReceiveAbort

Pointer to a RECEIVEABORTCALLBACK function

pfnReceiveCStoreRequest

Pointer to a RECEIVECSTOREREQUESTCALLBACK function

pfnReceiveCStoreResponse

Pointer to a RECEIVECSTORERESPONSECALLBACK function

pfnReceiveCFindRequest

Pointer to a RECEIVECFINDREQUESTCALLBACK function

pfnReceiveCFindResponse

Pointer to a RECEIVECFINDRESPONSECALLBACK function

pfnReceiveCGetRequest

Pointer to a RECEIVECGETREQUESTCALLBACK function

pfnReceiveCGetResponse

Pointer to a RECEIVECGETRESPONSECALLBACK function

pfnReceiveCMoveRequest

Pointer to a RECEIVECMOVEREQUESTCALLBACK function

pfnReceiveCMoveResponse

Pointer to a RECEIVECMOVERESPONSECALLBACK function

pfnReceiveCCancelRequest

Pointer to a RECEIVECCANCELREQUESTCALLBACK function

pfnReceiveCEchoRequest

Pointer to a RECEIVECECHOREQUESTCALLBACK function

pfnReceiveCEchoResponse

Pointer to a RECEIVECECHORESPONSECALLBACK function

pfnReceiveNReportRequest

Pointer to a RECEIVENREPORTREQUESTCALLBACK function

pfnReceiveNReportResponse

Pointer to a RECEIVENREPORTRESPONSECALLBACK function

pfnReceiveNGetRequest

Pointer to a RECEIVENGETREQUESTCALLBACK function

pfnReceiveNGetResponse

Pointer to a RECEIVENGETRESPONSECALLBACK function

pfnReceiveNSetRequest

Pointer to a RECEIVENSETREQUESTCALLBACK function

pfnReceiveNSetResponse

Pointer to a RECEIVENSETRESPONSECALLBACK function

pfnReceiveNActionRequest

Pointer to a RECEIVENACTIONREQUESTCALLBACK function

pfnReceiveNActionResponse

Pointer to a RECEIVENACTIONRESPONSECALLBACK function

pfnReceiveNCreateRequest

Pointer to a RECEIVENCREATEREQUESTCALLBACK function

pfnReceiveNCreateResponse

Pointer to a RECEIVENCREATERESPONSECALLBACK function

pfnReceiveNDeleteRequest

Pointer to a RECEIVENDELETEREQUESTCALLBACK function

pfnReceiveNDeleteResponse

Pointer to a RECEIVENDELETERESPONSECALLBACK function

pfnReceiveUnknown

Pointer to a RECEIVEUNKNOWNCALLBACK function

pUserData

A void pointer that you can use to access a variable or structure containing data that your callback function needs. This gives you a way to receive data indirectly from the function that uses this callback function. (This is the same pointer that you pass in the pUserData parameter of the calling function.)
Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function.

pfnGetChallenge

Pointer to a GETCHALLENGECALLBACK function.

pfnInternalAuthenticate

Pointer to an INTERNALAUTHENTICATECALLBACK function.

pfnExternalAuthenticate

Pointer to an EXTERNALAUTHENTICATECALLBACK function.

pfnOnSecureLinkReady

Pointer to an ONSECURELINKREADY function. Also used by TLS.

pfnOnNonSecureSendISCL

Pointer to an ONNONSECURESENDISCL function.

pfnOnNonSecureReceivedISCL

Pointer to an ONNONSECURERECEIVEDISCL function.

pfnOnReceivedISCLPacket

Pointer to an RECEIVEDISCLPACKET

Comments

Before using the DICOM Communication callback functions, the functions must be set by calling L_DicomSetCallback. This structure is used by L_DicomSetCallback to set the desired callback functions.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C API Help