Method

HaslContextnext

since: 0.1

Declaration [src]

const char*
hasl_context_next (
  HaslContext* ctx
)

Description [src]

Ask the context to move to the next possible mechanism. The context will create an instance of the mechanism to use internally and return the name that should be given to the server.

Available since: 0.1

Return value

Type: const char*

The name of the next mechanism to try or NULL if all mechanisms have been exhausted.

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