int io_close_ocb ( resmgr_context_t *ctp, void *reserved, RESMGR_OCB_T *ocb )
Classification: I/O function (synthesized by library)
Default handler: iofunc_close_ocb_default()
Helper functions: none
Client function: none—synthesized by library
Messages: none—synthesized by library
Data structure:
// synthesized by library struct _io_close { uint16_t type; uint16_t combine_len; }; typedef union { struct _io_close i; } io_close_t;
Description: This is the function that gets synthesized by the base-layer library when the last close() has been received for a particular OCB. This is where you'd perform any final cleanup you needed to do before the OCB is destroyed. Note that the receive ID present in ctp->rcvid is zero, because this function is synthesized by the library and doesn't necessarily correspond to any particular message.
Returns: The status via the helper macro _RESMGR_STATUS().