Function

Haslsaslname_encode

unstable since: 0.5

Declaration [src]

char*
hasl_saslname_encode (
  const char* saslname
)

Description [src]

Encodes the given saslname.

Encoding replaces ,s with =2C and =s with =3D.

Available since: 0.5

Parameters

saslname

Type: const char*

The name to encode.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: char*

The encoded string.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.