OpenDOF Project
void(* const DOSCallbacks::DOSDPSSessionCallbacks_t::Closed)(DOSDPSSession *session, DOSStatus status)

The Closed callback will be called if the session fails to open, or when the session is closed.

The session may close as a result of DOSDPSSession_Close being called, or errors that require the session to close.

If memory was allocated for the session, the memory must not be freed until the Closed callback is called.

Note
DOSContext should not be used in this callback without first calling DOSContext_Clear.

This callback must not be NULL.

Parameters
sessionThe session that was closed. This will not be NULL.
statusThe status gives an indication of the reason the session was closed. If the application closed the session status will be set to DOSSTATUS_SUCCESS.
core-c-cos Version 7.0.1 Build 0
2018-02-08