Gio.DtlsConnection.set_interaction (original) (raw)

Method

GioDtlsConnectionset_interaction

since: 2.48

Declaration [src]


void
g_dtls_connection_set_interaction (
  GDtlsConnection* conn,
  GTlsInteraction* interaction
)

Description [src]

Set the object that will be used to interact with the user. It will be used for things like prompting the user for passwords.

The interaction argument will normally be a derived subclass ofGTlsInteraction. NULL can also be provided if no user interaction should occur for this connection.

Available since: 2.48

Parameters

interaction

Type: GTlsInteraction

An interaction object, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.