|
gsasl
2.2.2
|
Go to the source code of this file.
Functions | |
| int | gsasl_client_start (Gsasl *ctx, const char *mech, Gsasl_session **sctx) |
| int | gsasl_server_start (Gsasl *ctx, const char *mech, Gsasl_session **sctx) |
| int gsasl_client_start | ( | Gsasl * | ctx, |
| const char * | mech, | ||
| Gsasl_session ** | sctx | ||
| ) |
gsasl_client_start:
| ctx | libgsasl handle. |
| mech | name of SASL mechanism. |
| sctx | pointer to client handle. |
This functions initiates a client SASL authentication. This function must be called before any other gsasl_client_*() function is called.
Return value: Returns GSASL_OK if successful, or error code.
| int gsasl_server_start | ( | Gsasl * | ctx, |
| const char * | mech, | ||
| Gsasl_session ** | sctx | ||
| ) |
gsasl_server_start:
| ctx | libgsasl handle. |
| mech | name of SASL mechanism. |
| sctx | pointer to server handle. |
This functions initiates a server SASL authentication. This function must be called before any other gsasl_server_*() function is called.
Return value: Returns GSASL_OK if successful, or error code.