Method

GioDtlsConnectionset_interaction

Declaration

void
g_dtls_connection_set_interaction (
  GDtlsConnection* conn,
  GTlsInteraction* interaction
)

Description

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 of GTlsInteraction. NULL can also be provided if no user interaction should occur for this connection.

Available since:2.48

Parameters

interaction GTlsInteraction
 

An interaction object, or NULL.

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