#include <linux/slab.h>
#include "midibuf.h"
static int midibuf_message_length(unsigned char code)
{ … }
static int midibuf_is_empty(struct midi_buffer *this)
{ … }
static int midibuf_is_full(struct midi_buffer *this)
{ … }
void line6_midibuf_reset(struct midi_buffer *this)
{ … }
int line6_midibuf_init(struct midi_buffer *this, int size, int split)
{ … }
int line6_midibuf_bytes_free(struct midi_buffer *this)
{ … }
int line6_midibuf_bytes_used(struct midi_buffer *this)
{ … }
int line6_midibuf_write(struct midi_buffer *this, unsigned char *data,
int length)
{ … }
int line6_midibuf_read(struct midi_buffer *this, unsigned char *data,
int length, int read_type)
{ … }
int line6_midibuf_ignore(struct midi_buffer *this, int length)
{ … }
void line6_midibuf_destroy(struct midi_buffer *this)
{ … }