]> git.sesse.net Git - fjl/blobdiff - bytesource.h
More debug code moving.
[fjl] / bytesource.h
index 4e9e307bbc138325bb2d5a181bf4d9acbf1fb5c6..bb934fb0cf343aac46b7513ff84b81a2c23016da 100644 (file)
@@ -19,7 +19,10 @@ struct byte_source {
        void* userdata;
 };
 void init_byte_source(struct byte_source* source, raw_input_func_t* input_func, void* userdata);
+
+// Returns 0x00 if no marker was available (ie. error).
 uint8_t byte_source_read_marker(struct byte_source* source);
+
 ssize_t byte_source_input_func(void* source, uint8_t* buf, size_t len);
 
 #endif /* !defined(_BYTESOURCE_H) */