void myqtt_listener_accept_connection ( MyQttConn 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 myqtt_conn_get_ctx(), myqtt_conn_get_id(), myqtt_conn_is_ok(), myqtt_conn_unref(), myqtt_mutex_lock(), myqtt_mutex_unlock(), and MyQttConnectionFiltered.