Lines Matching refs:rref
1570 DNSRecordRef rref = cbh->ipc_hdr.client_context.context; in ConnectionResponse() local
1590 rref->AppCallback(rref->sdr, rref, cbh->cb_flags, cbh->cb_err, rref->AppContext); in ConnectionResponse()
1594 rref->AppCallback(rref->sdr, rref, 0, kDNSServiceErr_Unknown, rref->AppContext); in ConnectionResponse()
1634 DNSRecordRef rref = NULL; in DNSServiceRegisterRecord() local
1674 rref = malloc(sizeof(DNSRecord)); in DNSServiceRegisterRecord()
1675 if (!rref) { free(hdr); return kDNSServiceErr_NoMemory; } in DNSServiceRegisterRecord()
1676 rref->AppContext = context; in DNSServiceRegisterRecord()
1677 rref->AppCallback = callBack; in DNSServiceRegisterRecord()
1678 rref->record_index = sdRef->max_index++; in DNSServiceRegisterRecord()
1679 rref->sdr = sdRef; in DNSServiceRegisterRecord()
1680 rref->recnext = NULL; in DNSServiceRegisterRecord()
1681 *RecordRef = rref; in DNSServiceRegisterRecord()
1682 hdr->client_context.context = rref; in DNSServiceRegisterRecord()
1683 hdr->reg_index = rref->record_index; in DNSServiceRegisterRecord()
1687 *p = rref; in DNSServiceRegisterRecord()
1707 DNSRecordRef rref; in DNSServiceAddRecord() local
1739 rref = malloc(sizeof(DNSRecord)); in DNSServiceAddRecord()
1740 if (!rref) { free(hdr); return kDNSServiceErr_NoMemory; } in DNSServiceAddRecord()
1741 rref->AppContext = NULL; in DNSServiceAddRecord()
1742 rref->AppCallback = NULL; in DNSServiceAddRecord()
1743 rref->record_index = sdRef->max_index++; in DNSServiceAddRecord()
1744 rref->sdr = sdRef; in DNSServiceAddRecord()
1745 rref->recnext = NULL; in DNSServiceAddRecord()
1746 *RecordRef = rref; in DNSServiceAddRecord()
1747 hdr->reg_index = rref->record_index; in DNSServiceAddRecord()
1751 *p = rref; in DNSServiceAddRecord()