74 static int SetBlobCmp(
const void *elem1,
const void *elem2 )
95 unsigned char *pStart, *pTempMem;
99 if (a == NULL)
return(0);
103 if (pp == NULL)
return(r);
124 if (rgSetBlob == NULL)
139 totSize = p - pStart;
154 memcpy(p, rgSetBlob[i].pbData, rgSetBlob[i].cbData);
159 memcpy(pStart, pTempMem, totSize);
167 const unsigned char **
pp,
175 if ((a == NULL) || ((*a) == NULL))
187 c.
max=(length == 0)?0:(c.
p+length);
190 if (c.
inf & 0x80)
goto err;
209 c.
slen=length+ *pp-c.
p;
219 if ((s=
d2i(NULL,&c.
p,c.
slen)) == NULL)
227 if (a != NULL) (*a)=ret;
231 if ((ret != NULL) && ((a == NULL) || (*a != ret)))