void vortex_listener_accept_connection ( VortexConnection connection,
axl_bool  send_greetings 
)

Common task to be done to accept a connection before greetings message is issued while working as a Listener.

Parameters
connectionThe connection to accept.
send_greetingsIf the greetings message must be sent or not.

References vortex_connection_get_ctx(), vortex_connection_get_data(), vortex_connection_get_id(), vortex_connection_is_defined_preread_handler(), vortex_connection_is_ok(), vortex_connection_unref(), vortex_greetings_error_send(), vortex_greetings_send(), vortex_mutex_lock(), vortex_mutex_unlock(), and VortexConnectionFiltered.