---
name: "sasl_auxprop_getctx"
section: "3"
platform: "linux"
package: "libsasl2-dev"
version: "2.1.28+dfsg1-9"
release: "Debian 13 (Trixie)"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/sasl_auxprop_getctx"
---

# sasl\_auxprop\_getctx(3)

Cyrus SASL documentation

## NAME

sasl\_auxprop\_getctx - Cyrus SASL documentation

## SYNOPSIS

```
#include <sasl/sasl.h>
int sasl_auxprop_getctx(sasl_conn_t *conn)
```

## DESCRIPTION

- **int sasl\_auxprop\_getctx(*sasl\_conn\_t* \*conn)**

  Fetches an auxiliary property context for the connection on which the functions described in *[sasl\_auxprop(3)](/sasl_auxprop/3.md)* can operate.

  - **Parameters**

    - •

      **conn** – pointer to the *sasl\_conn\_t* for which the request is being made.

  - **Returns**

    A pointer to the context on success. Returns NULL on failure.

- **type sasl\_conn\_t**

  Context for a SASL connection negotiation

## CONFORMING TO

*RFC 4422*

## SEE ALSO

*[sasl(3)](/sasl/3.md)*, *[sasl\_auxprop(3)](/sasl_auxprop/3.md)*, *[sasl\_auxprop\_request(3)](/sasl_auxprop_request/3.md)*

## AUTHOR

The Cyrus Team

## COPYRIGHT

1993-2016, The Cyrus Team
