dsmEndSendObjEx

The dsmEndSendObjEx function call provides additional information regarding the number of bytes processed. The information includes: total bytes sent, compression information, lan-free bytes, and deduplication information.

The dsmEndSendObjEx function call is an extension of the dsmEndSendObj function call.

Syntax

  dsInt16_t dsmEndSendObjEx (dsmEndSendObjExIn_t  *dsmEndSendObjExInP, 
                             dsmEndSendObjExOut_t *dsmEndSendObjExOutP);   

Parameters

dsmEndSendObjExIn_t *dsmEndSendObjExInP (I)
This parameter passes the end send object dsmHandle that identifies the session and associates it with subsequent calls.
dsmEndSendObjExOut_t *dsmEndSendObjExOutP (O)
This parameter passes the end send object information:
  Name Description
  totalBytesSent The total number of bytes that are read from the application.
  objCompressed A flag that displays if the object was compressed.
  totalCompressedSize The total byte size after compression.
  totalLFBytesSent The total LAN-free bytes that were sent.
  objDeduplicated A flag that displays if the object was deduplicated by the API.
  totalDedupSize Total bytes sent after deduplication.

Return codes

The return code numbers are provided in parentheses ( ).

Table 1. Return codes for dsmEndSendObjEx
Return code Explanation
DSM_RC_NO_MEMORY (102) There is no RAM remaining to complete this request.