Debian Codegraph @

texk/xdvipsk/thirdparty/libtiff/doc/functions/TIFFClientInfo.rst

raw
1 TIFFClientInfo
2 ==============
3
4 Synopsis
5 --------
6
7 .. highlight:: c
8
9 ::
10
11 #include <tiffio.h>
12
13 .. c:function:: void *TIFFGetClientInfo(TIFF* tif, const char *name)
14
15 .. c:function:: void TIFFSetClientInfo(TIFF* tif, void *data, const char *name)
16
17 Description
18 -----------
19
20 .. TODO: Check explanation of clientinfo linked list intention and usage.
21
22 The *clientinfo* linked list provides a method to hand over user defined
23 data from one routine to another via the internal ``tif`` storage of the
24 ``libtiff`` library.
25
26 :c:func:`TIFFGetClientInfo` returns a pointer to the data of the named entry
27 in the clientinfo-list. If the *name* is not found ``NULL`` is returned.
28
29 :c:func:`TIFFSetClientInfo` adds or replaces an entry in the clientinfo-list
30 with the *name* and the pointer to the *data* provided by the caller.
31
32 Diagnostics
33 -----------
34
35 None.
36
37 See also
38 --------
39
40 :doc:`libtiff` (3tiff),