Lines Matching defs:morebytes
911 int morebytes;
917 morebytes = 1;
918 sdr->moreptr = &morebytes;
949 if (!morebytes) {syslog(LOG_WARNING, "dnssdclientstub:Record: CallbackwithError morebytes zero"); return;}
959 // If DNSServiceRefDeallocate was called in the callback, morebytes will be zero. As the sdRef
967 if (!morebytes) {syslog(LOG_WARNING, "dnssdclientstub:sdRef: CallbackwithError morebytes zero sdr %p", sdr); return;}
978 int morebytes = 0;
1036 if (morebytes && sdRef->logcounter < 100)
1083 // To do this we set moreptr to point to morebytes. If the client does call DNSServiceRefDeallocate(),
1084 // then that routine will clear morebytes for us, and cause us to exit our loop.
1085 morebytes = more_bytes(sdRef->sockfd);
1086 if (morebytes)
1089 sdRef->moreptr = &morebytes;
1093 // If morebytes is non-zero, that means we set sdRef->moreptr above, and the operation was not
1096 // If morebytes is zero, then one of two thing happened:
1097 // (a) morebytes was 0 above, so we didn't set sdRef->moreptr, so we don't need to clear it
1098 // (b) morebytes was 1 above, and we set sdRef->moreptr, but the operation was cancelled (with DNSServiceRefDeallocate()),
1100 if (morebytes) sdRef->moreptr = NULL;
1103 } while (morebytes);
1118 // 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