TIFFClientInfo(3tiff)

TIFFClientInfo3tiff

Provides a method to hand over user defined data from one routine to another

Usage

#include <tiffio.h>
void *TIFFGetClientInfo(TIFF *tif, const char *name)
void TIFFSetClientInfo(TIFF *tif, void *data, const char *name)

Overview

The clientinfo linked list provides a method to hand over user defined data from one routine to another via the internal tif storage of the libtiff library.

TIFFGetClientInfo() returns a pointer to the data of the named entry in the clientinfo-list. If the name is not found NULL is returned.

TIFFSetClientInfo() adds or replaces an entry in the clientinfo-list with the name and the pointer to the data provided by the caller.

Diagnostics

None.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

LibTIFF contributors

From libtiff-dev 4.7.0-3+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.