update irman driver to v0.5 API, lirc as well

This commit is contained in:
marschap
2006-04-05 20:04:39 +00:00
parent 5fabbcc9ff
commit 17914dfbf6
4 changed files with 137 additions and 146 deletions
+12 -1
View File
@@ -1,8 +1,19 @@
#ifndef LCD_IRMANIN__H
#define LCD_IRMANIN_H
typedef struct _codemap {
const char *irman;
const char *lcdproc;
} CodeMap;
typedef struct driver_private_data {
char device[256];
char config[256];
char *portname;
} PrivateData;
MODULE_EXPORT int irmanin_init (Driver *drvthis);
MODULE_EXPORT void irmanin_close (Driver *drvthis);
MODULE_EXPORT char irmanin_getkey (Driver *drvthis);
MODULE_EXPORT char *irmanin_get_key (Driver *drvthis);
#endif