Lines Matching refs:rref
1560 DNSRecordRef rref = cbh->ipc_hdr.client_context.context; in ConnectionResponse() local
1580 rref->AppCallback(rref->sdr, rref, cbh->cb_flags, cbh->cb_err, rref->AppContext); in ConnectionResponse()
1584 rref->AppCallback(rref->sdr, rref, 0, kDNSServiceErr_Unknown, rref->AppContext); in ConnectionResponse()
1624 DNSRecordRef rref = NULL; in DNSServiceRegisterRecord() local
1664 rref = malloc(sizeof(DNSRecord)); in DNSServiceRegisterRecord()
1665 if (!rref) { free(hdr); return kDNSServiceErr_NoMemory; } in DNSServiceRegisterRecord()
1666 rref->AppContext = context; in DNSServiceRegisterRecord()
1667 rref->AppCallback = callBack; in DNSServiceRegisterRecord()
1668 rref->record_index = sdRef->max_index++; in DNSServiceRegisterRecord()
1669 rref->sdr = sdRef; in DNSServiceRegisterRecord()
1670 rref->recnext = NULL; in DNSServiceRegisterRecord()
1671 *RecordRef = rref; in DNSServiceRegisterRecord()
1672 hdr->client_context.context = rref; in DNSServiceRegisterRecord()
1673 hdr->reg_index = rref->record_index; in DNSServiceRegisterRecord()
1677 *p = rref; in DNSServiceRegisterRecord()
1697 DNSRecordRef rref; in DNSServiceAddRecord() local
1729 rref = malloc(sizeof(DNSRecord)); in DNSServiceAddRecord()
1730 if (!rref) { free(hdr); return kDNSServiceErr_NoMemory; } in DNSServiceAddRecord()
1731 rref->AppContext = NULL; in DNSServiceAddRecord()
1732 rref->AppCallback = NULL; in DNSServiceAddRecord()
1733 rref->record_index = sdRef->max_index++; in DNSServiceAddRecord()
1734 rref->sdr = sdRef; in DNSServiceAddRecord()
1735 rref->recnext = NULL; in DNSServiceAddRecord()
1736 *RecordRef = rref; in DNSServiceAddRecord()
1737 hdr->reg_index = rref->record_index; in DNSServiceAddRecord()
1741 *p = rref; in DNSServiceAddRecord()