23 #include "include/media/lirc.h"
24 #include "lirc/ir_remote_types.h"
31 #define DRV_ERR_NOT_IMPLEMENTED 1
56 #define DRVCTL_GET_STATE 1
59 #define DRVCTL_SEND_SPACE 2
62 #define DRVCTL_SET_OPTION 3
65 #define DRVCTL_MAX 128
68 #define DRV_ERR_NOT_IMPLEMENTED 1
71 #define DRV_ERR_BAD_STATE 2
74 #define DRV_ERR_BAD_OPTION 3
77 #define DRV_ERR_BAD_VALUE 4
int(*const send_func)(struct ir_remote *remote, struct ir_ncode *code)
int(*const open_func)(const char *device)
char *(*const rec_func)(struct ir_remote *remotes)
lirc_t(*const readdata)(lirc_t timeout)
int(*const drvctl_func)(unsigned int cmd, void *arg)
const char * driver_version
int(*const deinit_func)(void)
int default_drvctl(unsigned int cmd, void *arg)
int drv_handle_options(const char *options)
int(*const init_func)(void)
int default_open(const char *path)
int(*const decode_func)(struct ir_remote *remote, struct decode_ctx_t *ctx)
int(*const close_func)(void)
const struct driver * curr_driver