Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

mtaSendDispose()

For each call to mtaSend() where MTA_ADR_STATUS is used, there should be a subsequent call to mtaSendDispose().

Syntax

void mtaSendDispose(mta_item_list_t *item_list)

Arguments

Argument  

Description  

item_list

Pointer to an array with elements of type mta_item_list_t. This should be an array previously passed to mtaSend().

Description

Each call to this routine disposes of virtual memory allocated by mtaSend() for returning address status information requested with the MTA_ADR_STATUS item code.

Return Values

None

Example


...
item_list[index++].item_code=MTA_ADR_STATUS;
item_list[index++].item_code=MTA_ITEM_END;
istat=mtaSend(item_list);
...
mtaSendDispose(item_list);