typedef axl_bool(* MyQttSessionSetup)(MyQttCtx *ctx, MyQttConn *conn, MyQttConnOpts *opts, axlPointer user_data)

A handler that is called to establish the session that is going to be used by the provided connetion.

ctxThe context where the operation takes place.
connThe connection for which it is being requested a session.
optsOptional connection options.
user_dataOptionl user pointer defined by the user when configured this handler.
axl_true if the session was established, otherwise axl_false is returned.