X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bitsource.h;h=60744b32e12bdc7809f8b0d7cf47d3271a8b8295;hb=bed2510078b46c35b95941e59327b1008e4bd176;hp=ae29b4c4a2200abce210242a541be2c289ea8163;hpb=9069ae93f3e9e9b44f5f28968f508d09f0711737;p=fjl diff --git a/bitsource.h b/bitsource.h index ae29b4c..60744b3 100644 --- a/bitsource.h +++ b/bitsource.h @@ -2,6 +2,7 @@ #define _BITSOURCE_H 1 #include +#include #include #include #include @@ -45,6 +46,7 @@ struct bit_source { // Data source. input_func_t* input_func; void* userdata; + bool source_eof; }; void init_bit_source(struct bit_source* source, input_func_t* input_func,