Method

HaslContextset_server_mechanisms

since: 0.4

Declaration [src]

void
hasl_context_set_server_mechanisms (
  HaslContext* ctx,
  const char* mechanisms
)

Description [src]

Sets the mechanisms that the server has advertised.

These mechanisms will be used if HaslContext:allowed-mechanisms is not set.

mechanisms can be separated by white space, commas, or a combination of both.

Available since: 0.4

Parameters

mechanisms

Type: const char*

The new mechanisms.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.