cdev_state
Callback state
Synopsis:
#include <qvm/cdev.h>
struct cdev_state {
struct qvm_callback cb;
struct vdev_s *vdev;
struct {
const char *name;
uint8_t *buff;
unsigned size;
unsigned avail;
unsigned pos;
int fd;
} in;
struct {
const char *name;
uint8_t *buff;
unsigned size;
unsigned begin;
unsigned pos;
int fd;
timer_t flush_timer;
uint16_t cdev_index;
long flush_timeout;
} out;
struct termios save_termio;
unsigned delayed_count;
cdev_state_flags_t flags;
int priority;
struct sigevent ev_in;
struct sigevent ev_out;
};Description:
Callback structure for a qvm process instance. This content is for internal use only. You only need to provide the space for the structure.
Page updated:
