1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
/* $Id: hw_default.h,v 5.8 2004/11/20 11:43:35 lirc Exp $ */
/****************************************************************************
** hw_default.h ************************************************************
****************************************************************************
*
* routines for hardware that supports ioctl() interface
*
* Copyright (C) 1999 Christoph Bartelmus <lirc@bartelmus.de>
*
*/
#ifndef _HW_DEFAULT_H
#define _HW_DEFAULT_H
#include "ir_remote.h"
inline lirc_t time_left(struct timeval *current,struct timeval *last,
lirc_t gap);
int default_init(void);
int default_config(struct ir_remote *remotes);
int default_deinit(void);
int default_send(struct ir_remote *remote,struct ir_ncode *code);
char *default_rec(struct ir_remote *remotes);
int default_decode(struct ir_remote *remote,
ir_code *prep,ir_code *codep,ir_code *postp,
int *repeat_flagp,lirc_t *remaining_gapp);
lirc_t default_readdata (lirc_t timeout);
#endif
|