void vortex_connection_set_data VortexConnection connection,
gchar *  key,
gpointer  value
 

Sets user defined data associated with the given connection.

This function allows to store arbitrary data inside the given connection. This data is store in a hash string indexed.

If value is NULL, this will be considered as a removing petition for the given key.

See also vortex_connection_set_data_full function.

Parameters:
connection the connection to set data.
key the string key indexing the data.
value the value to be stored.