---
name: "brlapi_clientData"
section: "3"
platform: "linux"
package: "libbrlapi-dev"
version: "6.7-3.1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/brlapi_clientData"
---

# brlapi\_clientData(3)

Setting and getting client data

## NAME

brlapi\_clientData - Setting and getting client data

## SYNOPSIS

### Functions

void **BRLAPI\_STDCALL** **brlapi\_setClientData** (void \*data)\
 void **BRLAPI\_STDCALL** **brlapi\_\_setClientData** (**brlapi\_handle\_t** \*handle, void \*data)\
 void \***BRLAPI\_STDCALL** **brlapi\_getClientData** (void)\
 void \***BRLAPI\_STDCALL** **brlapi\_\_getClientData** (**brlapi\_handle\_t** \*handle)\

## Detailed Description

Clients can register a pointer to data that can then be used e.g. in exception handlers.

## Function Documentation

### void \*BRLAPI\_STDCALL brlapi\_\_getClientData (brlapi\_handle\_t \* handle)

### void BRLAPI\_STDCALL brlapi\_\_setClientData (brlapi\_handle\_t \* handle, void \* data)

### void \*BRLAPI\_STDCALL brlapi\_getClientData (void)

Retrieves the pointer to the private client data

**Returns**

the pointer to the private client data

### void BRLAPI\_STDCALL brlapi\_setClientData (void \* data)

Register a pointer to client data

**Parameters**

*data* The pointer to the private client data

## Author

Generated automatically by Doxygen for BrlAPI from the source code.
