blob: dc2864e813871452440daa23c35ac5154e7f0eb7 (
plain)
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
31
32
33
34
35
36
37
38
|
/*
*
* IRBOX, an Ivy driver for infra-red remote controls
*
* Copyright 1998-1999
* Centre d'Etudes de la Navigation Aerienne
*
* Tables for decoding events
*
* Authors: Stephane Chatty <chatty@cena.dgac.fr>
*
* $Id$
*
* Please refer to file version.h for the
* copyright notice regarding this software
*/
#ifndef irtable_h_
#define irtable_h_
typedef struct {
const char* name;
const char* type;
} IrTable;
extern void IrResetTables (void);
extern void IrReadTables (const char*);
extern IrTable* IrTableReadFile (const char*);
extern IrTable* IrCreateTable ();
extern void IrTableName (IrTable*, const char*);
extern void IrTableType (IrTable*, const char*);
extern void IrTableAddBrand (IrTable*, const char*);
extern void IrTableAddKey (IrTable*, const char*, int, int, int, int, int, int);
extern int IrTableTranslateCode (const unsigned char*, IrTable**, const char**);
#endif /* irtable_h_ */
|