LibTIFF 4.7.2
TIFF library public API and implementation reference
Loading...
Searching...
No Matches
Data Fields

Link a named client-data association to a TIFF handle. More...

#include <tiffiop.h>

Collaboration diagram for client_info:
[legend]

Data Fields

struct client_info * next
 Next handle-owned association node, or NULL.
 
void * data
 Borrowed client payload; the library does not free it.
 
char * name
 Owned copy of the null-terminated association name.
 

Detailed Description

Link a named client-data association to a TIFF handle.

TIFFSetClientInfo() allocates the node and copies its name, but retains the payload pointer without taking ownership. TIFFCleanup() frees the name and node; the client remains responsible for payload lifetime and release.

Definition at line 147 of file tiffiop.h.

Field Documentation

◆ data

void* client_info::data

Borrowed client payload; the library does not free it.

Definition at line 152 of file tiffiop.h.

Referenced by TIFFGetClientInfo(), and TIFFSetClientInfo().

◆ name

char* client_info::name

Owned copy of the null-terminated association name.

Definition at line 154 of file tiffiop.h.

Referenced by TIFFCleanup(), TIFFGetClientInfo(), and TIFFSetClientInfo().

◆ next

struct client_info* client_info::next

Next handle-owned association node, or NULL.

Definition at line 150 of file tiffiop.h.

Referenced by TIFFCleanup(), TIFFGetClientInfo(), and TIFFSetClientInfo().


The documentation for this struct was generated from the following file: