X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fodr.h;h=9c7ea51a04b6e6b0daeb785e36478ce48f3ee218;hp=20f245b8c7f0b89cf6088a9c6fad656da2182607;hb=cabcc223cd47503763e7c42969e3be30c58276af;hpb=f720562471a064dba92a465d999aa833e59d69b1 diff --git a/include/yaz/odr.h b/include/yaz/odr.h index 20f245b..9c7ea51 100644 --- a/include/yaz/odr.h +++ b/include/yaz/odr.h @@ -96,11 +96,15 @@ typedef nmem_bool_t Odr_bool; #define ODR_ENCODE 1 #define ODR_PRINT 2 +#define OCT_SIZE 0 + typedef struct odr_oct { unsigned char *buf; int len; +#if OCT_SIZE int size; +#endif } Odr_oct; typedef void Odr_null;