---
name: "sasl_getpath_t"
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_getpath_t"
---

# sasl\_getpath\_t(3)

Cyrus SASL documentation

## NAME

sasl\_getpath\_t - Cyrus SASL documentation

## SYNOPSIS

```
#include <sasl/sasl.h>
int sasl_getpath_t(void *context,
                  char ** path);
```

## DESCRIPTION

- **int sasl\_getpath\_t(void \*context, char \*\*path);**

  **sasl\_getpath\_t()** is used if the application wishes to use  a different  location  for  the  SASL mechanism drivers (the shared library files). If this callback is not used SASL will either use the location in the environment variable SASL\_PATH or */usr/lib/sasl2* by default.

## RETURN VALUE

SASL  callback  functions should return SASL return codes. See sasl.h for a complete list. *SASL\_OK* indicates success.

Other return codes indicate errors and should be handled.

## SEE ALSO

*RFC 4422*,:saslman:*[sasl(3)](/sasl/3.md)*, *[sasl\_callbacks(3)](/sasl_callbacks/3.md)*

## AUTHOR

The Cyrus Team

## COPYRIGHT

1993-2016, The Cyrus Team
