axlPointer vortex_channel_get_data ( VortexChannel channel,
axlPointer  key 
)

Returns the value indexed by the given key inside the given channel.

User defined pointers returned by this function were stored by calls to vortex_channel_set_data or vortex_channel_set_data_full.

Parameters
channelThe channel where data will be looked up.
keyThe index key to use. Though the API expects an axlPointer, the hash storing values is configured to receive string keys.
Returns
the value or NULL if fails.

References vortex_hash_lookup().

Referenced by vortex_channel_have_piggyback(), vortex_channel_notify_start(), vortex_channel_wait_reply(), vortex_xml_rpc_channel_get_resource(), and vortex_xml_rpc_channel_status().