int vortex_connection_ref_count ( VortexConnection connection  ) 

Allows to get current reference count for the provided connection.

See also the following functions:

Parameters:
connection The connection that is requested to return its count.
Returns:
The function returns the reference count or -1 if it fails.