Method

GcrSecretExchangeget_protocol

Declaration [src]

const gchar*
gcr_secret_exchange_get_protocol (
  GcrSecretExchange* self
)

Description [src]

Will return NULL if no protocol was specified, and either gcr_secret_exchange_begin() or gcr_secret_exchange_receive() have not been called successfully.

Return value

Returns: const gchar*
 

The protocol or NULL.

 The data is owned by the instance.
 The value is a NUL terminated UTF-8 string.