view input/lirc.h @ 21810:7a36d3332133

sizeof() is long, thus %d format in error message is wrong. Fix by assigning extradata_size before and printing that, since this also removes a bit of code duplication.
author reimar
date Fri, 05 Jan 2007 15:41:00 +0000
parents d375383e1a48
children 6ac1ece1f9fe
line wrap: on
line source



int 
mp_input_lirc_init(void);

int
mp_input_lirc_read(int fd,char* dest, int s);

void
mp_input_lirc_close(int fd);