Allows to store a pair key/value associated to the channel.
This allows to associate application data to the channel which can be easily retrieved later using vortex_channel_get_data.
In the case a NULL reference is passed to the function as the value parameter, the pair key/value is removed from the channel:
vortex_channel_set_data (my_channel, "my_key", NULL); // previous will remove "my_key" pair from the channel
If it is required to associate a "destroy handler" to the key or value stored, you can use vortex_channel_set_data_full.
NOTE: the function do not allows storing NULL value pointers.