#define _BITSOURCE_H 1
#include <assert.h>
+#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
// 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,