43 if (
src->source_closed) {
51 if (
src->had_read_error) {
64 while (bytes_read <
len) {
66 src->had_read_error =
true;
67 if (bytes_read == 0) {
83 if (
src->bytes_read + bytes_read < src->bytes_read) {
87 src->bytes_read += bytes_read;
ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int)
zip_int64_t _zip_source_call(zip_source_t *src, void *data, zip_uint64_t length, zip_source_cmd_t command)
bool _zip_source_eof(zip_source_t *src)
zip_int64_t zip_source_read(zip_source_t *src, void *data, zip_uint64_t len)
#define ZIP_SOURCE_IS_OPEN_READING(src)