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

mtaOptionFinish()

Dispose of an option context.

Syntax

void mtaOptionFinish(mta_opt_t *opt_ctx);

Arguments

Arguments  

Description  

opt_ctx

An option context created by mtaOptionStart().

Description

Option contexts should be disposed of with a call to mtaOptionFinish(). The one exception to this rule are option contexts returned by mtaDecodeMessageInfoParams(). While those contexts may be passed to mtaOptionFinish(), they do not need to be because mtaDecodeMessage() will automatically dispose of them.

Return Values

None

Example

mtaOptionFinish(opt);