Lines Matching refs:ProcessReply
139 ProcessReplyFn ProcessReply; // Function pointer to the code to handle received messages
398 x->ProcessReply = NULL;
415 static DNSServiceErrorType ConnectToServer(DNSServiceRef *ref, DNSServiceFlags flags, uint32_t op, ProcessReplyFn ProcessReply, void *AppCallback, void *AppContext)
467 sdr->ProcessReply = ProcessReply;
895 if (!sdRef->ProcessReply)
898 if (num_logs < 10) syslog(LOG_WARNING, "dnssd_clientstub DNSServiceProcessResult called with DNSServiceRef with no ProcessReply function");
915 // Set the ProcessReply to NULL before callback as the sdRef can get deallocated
917 sdRef->ProcessReply = NULL;
947 sdRef->ProcessReply = NULL;
955 // Set the ProcessReply to NULL before callback as the sdRef can get deallocated
957 sdRef->ProcessReply = NULL;
990 if (ptr) sdRef->ProcessReply(sdRef, &cbh, ptr, data + cbh.ipc_hdr.datalen);
1045 // By setting the ProcessReply to NULL, we make sure that we never call
1050 // callbacks when we return from this function. Setting ProcessReply to NULL
1052 sdRef->ProcessReply = NULL;
1567 // to find the one this response is intended for, and then call through to its ProcessReply handler.
1574 if (op && op->ProcessReply) op->ProcessReply(op, cbh, data, end);