Lines Matching refs:rref
1577 DNSRecordRef rref = cbh->ipc_hdr.client_context.context; in ConnectionResponse() local
1597 rref->AppCallback(rref->sdr, rref, cbh->cb_flags, cbh->cb_err, rref->AppContext); in ConnectionResponse()
1601 rref->AppCallback(rref->sdr, rref, 0, kDNSServiceErr_Unknown, rref->AppContext); in ConnectionResponse()
1641 DNSRecordRef rref = NULL; in DNSServiceRegisterRecord() local
1681 rref = malloc(sizeof(DNSRecord)); in DNSServiceRegisterRecord()
1682 if (!rref) { free(hdr); return kDNSServiceErr_NoMemory; } in DNSServiceRegisterRecord()
1683 rref->AppContext = context; in DNSServiceRegisterRecord()
1684 rref->AppCallback = callBack; in DNSServiceRegisterRecord()
1685 rref->record_index = sdRef->max_index++; in DNSServiceRegisterRecord()
1686 rref->sdr = sdRef; in DNSServiceRegisterRecord()
1687 rref->recnext = NULL; in DNSServiceRegisterRecord()
1688 *RecordRef = rref; in DNSServiceRegisterRecord()
1689 hdr->client_context.context = rref; in DNSServiceRegisterRecord()
1690 hdr->reg_index = rref->record_index; in DNSServiceRegisterRecord()
1694 *p = rref; in DNSServiceRegisterRecord()
1714 DNSRecordRef rref; in DNSServiceAddRecord() local
1746 rref = malloc(sizeof(DNSRecord)); in DNSServiceAddRecord()
1747 if (!rref) { free(hdr); return kDNSServiceErr_NoMemory; } in DNSServiceAddRecord()
1748 rref->AppContext = NULL; in DNSServiceAddRecord()
1749 rref->AppCallback = NULL; in DNSServiceAddRecord()
1750 rref->record_index = sdRef->max_index++; in DNSServiceAddRecord()
1751 rref->sdr = sdRef; in DNSServiceAddRecord()
1752 rref->recnext = NULL; in DNSServiceAddRecord()
1753 *RecordRef = rref; in DNSServiceAddRecord()
1754 hdr->reg_index = rref->record_index; in DNSServiceAddRecord()
1758 *p = rref; in DNSServiceAddRecord()