#include "avio.h"
#include "url.h"
+#include "libavutil/log.h"
+
+extern const AVClass ffio_url_class;
+
int ffio_init_context(AVIOContext *s,
unsigned char *buffer,
int buffer_size,
/** @warning must be called before any I/O */
int ffio_set_buf_size(AVIOContext *s, int buf_size);
+int ffio_limit(AVIOContext *s, int size);
+
void ffio_init_checksum(AVIOContext *s,
unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len),
unsigned long checksum);