Home
last modified time | relevance | path

Searched refs:txtRec (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Ddnssd_clientlib.c170 #define txtRec ((TXTRecordRefRealType*)txtRecord) macro
186 txtRec->buffer = buffer; in TXTRecordCreate()
187 txtRec->buflen = buffer ? bufferLen : (uint16_t)0; in TXTRecordCreate()
188 txtRec->datalen = 0; in TXTRecordCreate()
189 txtRec->malloced = 0; in TXTRecordCreate()
194 if (txtRec->malloced) free(txtRec->buffer); in TXTRecordDeallocate()
214 if (txtRec->datalen + keyvalsize > txtRec->buflen) in TXTRecordSetValue()
217 unsigned long newlen = txtRec->datalen + keyvalsize; in TXTRecordSetValue()
221 memcpy(newbuf, txtRec->buffer, txtRec->datalen); in TXTRecordSetValue()
222 if (txtRec->malloced) free(txtRec->buffer); in TXTRecordSetValue()
[all …]