Lines Matching refs:link
69 TIFFClientInfoLink *link = tif->tif_clientinfo; in TIFFGetClientInfo() local
71 while( link != NULL && strcmp(link->name,name) != 0 ) in TIFFGetClientInfo()
72 link = link->next; in TIFFGetClientInfo()
74 if( link != NULL ) in TIFFGetClientInfo()
75 return link->data; in TIFFGetClientInfo()
83 TIFFClientInfoLink *link = tif->tif_clientinfo; in TIFFSetClientInfo() local
89 while( link != NULL && strcmp(link->name,name) != 0 ) in TIFFSetClientInfo()
90 link = link->next; in TIFFSetClientInfo()
92 if( link != NULL ) in TIFFSetClientInfo()
94 link->data = data; in TIFFSetClientInfo()
102 link = (TIFFClientInfoLink *) _TIFFmalloc(sizeof(TIFFClientInfoLink)); in TIFFSetClientInfo()
103 assert (link != NULL); in TIFFSetClientInfo()
104 link->next = tif->tif_clientinfo; in TIFFSetClientInfo()
105 link->name = (char *) _TIFFmalloc((tmsize_t)(strlen(name)+1)); in TIFFSetClientInfo()
106 assert (link->name != NULL); in TIFFSetClientInfo()
107 strcpy(link->name, name); in TIFFSetClientInfo()
108 link->data = data; in TIFFSetClientInfo()
110 tif->tif_clientinfo = link; in TIFFSetClientInfo()