mio_hdl
struct mio_hdl *mio_open(const char *, unsigned int, int);
void mio_close(struct mio_hdl *);
size_t mio_write(struct mio_hdl *, const void *, size_t);
size_t mio_read(struct mio_hdl *, void *, size_t);
int mio_nfds(struct mio_hdl *);
int mio_pollfd(struct mio_hdl *, struct pollfd *, int);
int mio_revents(struct mio_hdl *, struct pollfd *);
int mio_eof(struct mio_hdl *);
struct mio_hdl *mio_rmidi_fdopen(int, unsigned int, int);
struct mio_hdl;
mio_read(struct mio_hdl *hdl, void *buf, size_t len)
mio_write(struct mio_hdl *hdl, const void *buf, size_t len)
mio_nfds(struct mio_hdl *hdl)
mio_pollfd(struct mio_hdl *hdl, struct pollfd *pfd, int events)
mio_revents(struct mio_hdl *hdl, struct pollfd *pfd)
mio_eof(struct mio_hdl *hdl)
struct mio_hdl *
struct mio_hdl *hdl;
_mio_create(struct mio_hdl *hdl, struct mio_ops *ops,
mio_close(struct mio_hdl *hdl)
mio_psleep(struct mio_hdl *hdl, int event)
return (struct mio_hdl *)hdl;
mio_aucat_close(struct mio_hdl *sh)
mio_aucat_read(struct mio_hdl *sh, void *buf, size_t len)
mio_aucat_write(struct mio_hdl *sh, const void *buf, size_t len)
mio_aucat_nfds(struct mio_hdl *sh)
mio_aucat_pollfd(struct mio_hdl *sh, struct pollfd *pfd, int events)
mio_aucat_revents(struct mio_hdl *sh, struct pollfd *pfd)
struct mio_hdl mio;
static void mio_aucat_close(struct mio_hdl *);
static size_t mio_aucat_read(struct mio_hdl *, void *, size_t);
static size_t mio_aucat_write(struct mio_hdl *, const void *, size_t);
static int mio_aucat_nfds(struct mio_hdl *);
static int mio_aucat_pollfd(struct mio_hdl *, struct pollfd *, int);
static int mio_aucat_revents(struct mio_hdl *, struct pollfd *);
struct mio_hdl *
void (*close)(struct mio_hdl *);
size_t (*write)(struct mio_hdl *, const void *, size_t);
size_t (*read)(struct mio_hdl *, void *, size_t);
int (*nfds)(struct mio_hdl *);
int (*pollfd)(struct mio_hdl *, struct pollfd *, int);
int (*revents)(struct mio_hdl *, struct pollfd *);
struct mio_hdl *_mio_rmidi_open(const char *, unsigned, int);
struct mio_hdl *_mio_aucat_open(const char *, unsigned, int);
void _mio_create(struct mio_hdl *, struct mio_ops *, unsigned, int);
struct mio_hdl *
return (struct mio_hdl *)hdl;
struct mio_hdl *
struct mio_hdl *hdl;
mio_rmidi_close(struct mio_hdl *sh)
mio_rmidi_read(struct mio_hdl *sh, void *buf, size_t len)
mio_rmidi_write(struct mio_hdl *sh, const void *buf, size_t len)
mio_rmidi_nfds(struct mio_hdl *sh)
mio_rmidi_pollfd(struct mio_hdl *sh, struct pollfd *pfd, int events)
mio_rmidi_revents(struct mio_hdl *sh, struct pollfd *pfd)
struct mio_hdl mio;
static void mio_rmidi_close(struct mio_hdl *);
static size_t mio_rmidi_read(struct mio_hdl *, void *, size_t);
static size_t mio_rmidi_write(struct mio_hdl *, const void *, size_t);
static int mio_rmidi_nfds(struct mio_hdl *);
static int mio_rmidi_pollfd(struct mio_hdl *, struct pollfd *, int);
static int mio_rmidi_revents(struct mio_hdl *, struct pollfd *);
struct mio_hdl *dev_mh; /* MIDI control port handle */
struct mio_hdl *ih, *oh;
struct mio_hdl *
struct mio_hdl *fdpass_mio_open(int, unsigned int);
struct mio_hdl *hdl;