---
name: "libssh2_session_abstract"
section: "3"
platform: "linux"
package: "libssh2"
version: "1.11.1-7"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libssh2_session_abstract"
---

# libssh2\_session\_abstract(3)

return a pointer to a session's abstract pointer

## NAME

libssh2\_session\_abstract - return a pointer to a session's abstract pointer

## SYNOPSIS

```
#include <libssh2.h>
void **
libssh2_session_abstract(LIBSSH2_SESSION *session);
```

## DESCRIPTION

*session* - Session instance as returned by **[libssh2\_session\_init\_ex(3)](/libssh2_session_init_ex/3.md)**

Return a pointer to where the abstract pointer provided to **[libssh2\_session\_init\_ex(3)](/libssh2_session_init_ex/3.md)** is stored. By providing a doubly de-referenced pointer, the internal storage of the session instance may be modified in place.

## RETURN VALUE

A pointer to session internal storage whose contents point to previously provided abstract data.

## SEE ALSO

**[libssh2\_session\_init\_ex(3)](/libssh2_session_init_ex/3.md)**
