53 return (uint32_t)(-1);
74 while (psLink != NULL && strcmp(psLink->
name, name) != 0)
75 psLink = psLink->
next;
87 size_t name_len = strlen(name) + 1;
93 while (psLink != NULL && strcmp(psLink->
name, name) != 0)
94 psLink = psLink->
next;
112 sizeof(char),
"client info name");
113 if (psLink->
name == NULL)
void _TIFFfreeExt(TIFF *tif, void *p)
Release a handle-aware allocation and its payload charge.
void * _TIFFCheckMalloc(TIFF *tif, tmsize_t nmemb, tmsize_t elem_size, const char *what)
Allocate a checked array with an allocation-failure diagnostic.
void TIFFSetClientInfo(TIFF *tif, void *data, const char *name)
Add or replace a handle-local named borrowed payload.
void * TIFFGetClientInfo(TIFF *tif, const char *name)
Look up a borrowed payload by its handle-local name.
uint32_t TIFFGetTagListEntry(TIFF *tif, int tag_index)
Look up a tag number by its custom-value list index.
int TIFFGetTagListCount(TIFF *tif)
Count values stored in the current custom-tag list.
TIFFTagMethods * TIFFAccessTagMethods(TIFF *tif)
Expose a handle's mutable tag-method table.
void _TIFFmemcpy(void *d, const void *s, tmsize_t c)
Copy a non-overlapping byte range.
TIFF_SSIZE_T tmsize_t
Represent a signed memory or I/O size in bytes.
Store the current directory values and image traversal state.
int td_customValueCount
Number of live records in td_customValues, including partial setter entries.
TIFFTagValue * td_customValues
Owned array of custom-value records, each owning its value.
Collect a handle's tag-access and directory-print callbacks.
const TIFFField * info
Borrowed live descriptor; must outlive this custom value.
uint32_t field_tag
Tag identifier in this schema namespace.
Link a named client-data association to a TIFF handle.
void * data
Borrowed client payload; the library does not free it.
struct client_info * next
Next handle-owned association node, or NULL.
char * name
Owned copy of the null-terminated association name.
Hold private state for one open TIFF library instance.
TIFFTagMethods tif_tagmethods
Inline table of directory field and print callbacks.
TIFFClientInfoLink * tif_clientinfo
Head of the owned named-association list; payloads remain borrowed.
TIFFDirectory tif_dir
Inline representation of the current image directory.
Declare private library state, callbacks, and implementation helpers.