X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=samtools.git;a=blobdiff_plain;f=razf.h;fp=razf.h;h=d0f93ecc09869af0d355e7e5b1fce3e59a472b42;hp=60a0c96457304ec5a728a5dcddb61e1f649e5637;hb=c45b6d37c739f7c9c4b2ae04c4d6027a9c506222;hpb=d255564c7080a7a71bc2312dab6a3007f72bfe8b diff --git a/razf.h b/razf.h index 60a0c96..d0f93ec 100644 --- a/razf.h +++ b/razf.h @@ -127,6 +127,8 @@ extern "C" { uint64_t razf_tell2(RAZF *rz); int64_t razf_seek2(RAZF *rz, uint64_t voffset, int where); +#define RAZF_STRUCT_SIZE (sizeof(RAZF) + sizeof(z_stream) + (RZ_BUFFER_SIZE * 2) + sizeof(ZBlockIndex) + sizeof(gz_header) + 7) + #ifdef __cplusplus } #endif