Added lirc.
[irreco.git] / lirc-0.8.4a / daemons / hw_irlink.h
blob40bd1b37ff46562fc4be9344c4c21a2a7ecb1daf
1 /*****************************************************************************
2 ** hw_irlink.h ****************************************************************
3 *****************************************************************************
5 * Copyright (C) 2007 Maxim Muratov <mumg at mail.ru>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Library General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 #ifndef HW_IRLINK_H
24 #define HW_IRLINK_H
26 #include "drivers/lirc.h"
28 int irlink_decode (struct ir_remote *remote,
29 ir_code *prep,
30 ir_code *codep,
31 ir_code *postp,
32 int *repeat_flagp,
33 lirc_t *remaining_gapp);
34 int irlink_init (void);
35 int irlink_deinit (void);
36 char *irlink_rec (struct ir_remote *remotes);
37 lirc_t irlink_readdata (lirc_t timeout);
39 #endif