Lines Matching defs:morebytes
900 int morebytes;
906 morebytes = 1;
907 sdr->moreptr = &morebytes;
938 if (!morebytes) {syslog(LOG_WARNING, "dnssdclientstub:Record: CallbackwithError morebytes zero"); return;}
948 // If DNSServiceRefDeallocate was called in the callback, morebytes will be zero. As the sdRef
956 if (!morebytes) {syslog(LOG_WARNING, "dnssdclientstub:sdRef: CallbackwithError morebytes zero sdr %p", sdr); return;}
967 int morebytes = 0;
1025 if (morebytes && sdRef->logcounter < 100)
1072 // To do this we set moreptr to point to morebytes. If the client does call DNSServiceRefDeallocate(),
1073 // then that routine will clear morebytes for us, and cause us to exit our loop.
1074 morebytes = more_bytes(sdRef->sockfd);
1075 if (morebytes)
1078 sdRef->moreptr = &morebytes;
1082 // If morebytes is non-zero, that means we set sdRef->moreptr above, and the operation was not
1085 // If morebytes is zero, then one of two thing happened:
1086 // (a) morebytes was 0 above, so we didn't set sdRef->moreptr, so we don't need to clear it
1087 // (b) morebytes was 1 above, and we set sdRef->moreptr, but the operation was cancelled (with DNSServiceRefDeallocate()),
1089 if (morebytes) sdRef->moreptr = NULL;
1092 } while (morebytes);
1107 // 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