Method

GVncConnectionset_credential_types

Declaration [src]

gboolean
vnc_connection_set_credential_types (
  VncConnection* conn,
  const int* types,
  size_t ntypes
)

Description [src]

Declare which credential types the application is willing to accept in the “vnc-auth-credential” signal.

Parameters

types

Type: An array of int

The list of enabled types.

The length of the array is specified in the ntypes argument.
The data is owned by the caller of the method.
ntypes

Type: size_t

The length of types.

Return value

Type: gboolean

TRUE if the connection is ok, FALSE if it has an error.