Added lirc.
[irreco.git] / lirc-0.8.4a / daemons / hw_usbx.h
blobcbe360c227e93165f951ea64e93d251d4238969c
1 /*****************************************************************************
2 ** hw_usbx.h ****************************************************************
3 *****************************************************************************
5 * Copyright (C) 2007 Jelle Foks <jelle@foks.8m.com>
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_USBX_H
24 #define HW_USBX_H
26 #include "drivers/lirc.h"
28 int usbx_decode (struct ir_remote *remote,
29 ir_code *prep,
30 ir_code *codep,
31 ir_code *postp,
32 int *repeat_flagp,
33 lirc_t *min_remaining_gapp,
34 lirc_t *max_remaining_gapp);
35 int usbx_init (void);
36 int usbx_deinit (void);
37 char *usbx_rec (struct ir_remote *remotes);
39 #endif