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

Arguments

Arguments  

Description  

channel

A pointer to a buffer to receive the NULL terminated channel name. To avoid possible truncation of the channel name, this buffer must be at least CHANLENGTH+1 bytes long.

channel_len

An optional pointer to a size_t to receive the length in bytes of the returned channel name. This length does not include the NULL terminator that terminates the channel name.

channel_len_max

The maximum size in bytes of the buffer pointed at by the channel argument.

address

The address to rewrite. The length of this address, not including any NULL terminator, should not exceed ALFA_SIZE bytes. If a value of 0 is passed for the address_len argument, then this string must be NULL terminated.

address_len

The length in bytes of the address string, address. This length does not include any NULL terminator. If a value of 0 is passed for this argument, the address string must be NULL terminated.

address_type

Indicates what type of address is being rewritten. There are two types: envelope or header. In addition it can be either forward or reverse pointing. See the description for a list of the possible values. 

item_code

Reserved for future use. Presently, a value of 0 must be supplied for this argument.