Home | History | Annotate | Download | only in mDNSShared

Lines Matching full:morebytes

816 	int morebytes;
822 morebytes = 1;
823 sdr->moreptr = &morebytes;
856 if (!morebytes){syslog(LOG_WARNING, "dnssdclientstub:Record: CallbackwithError morebytes zero"); return;}
866 // If DNSServiceRefDeallocate was called in the callback, morebytes will be zero. It means
869 if (!morebytes){syslog(LOG_WARNING, "dnssdclientstub:sdRef: CallbackwithError morebytes zero"); return;}
879 int morebytes = 0;
935 if (morebytes && sdRef->logcounter < 100)
982 // To do this we set moreptr to point to morebytes. If the client does call DNSServiceRefDeallocate(),
983 // then that routine will clear morebytes for us, and cause us to exit our loop.
984 morebytes = more_bytes(sdRef->sockfd);
985 if (morebytes)
988 sdRef->moreptr = &morebytes;
992 // If morebytes is non-zero, that means we set sdRef->moreptr above, and the operation was not
995 // If morebytes is zero, then one of two thing happened:
996 // (a) morebytes was 0 above, so we didn't set sdRef->moreptr, so we don't need to clear it
997 // (b) morebytes was 1 above, and we set sdRef->moreptr, but the operation was cancelled (with DNSServiceRefDeallocate()),
999 if (morebytes) sdRef->moreptr = NULL;
1002 } while (morebytes);
1017 // If we're in the middle of a DNSServiceProcessResult() invocation for this DNSServiceRef, clear its morebytes flag to break it out of its while loop