diff --git a/server/drivers/irmanin.c b/server/drivers/irmanin.c index 0f13f62..9473518 100644 --- a/server/drivers/irmanin.c +++ b/server/drivers/irmanin.c @@ -36,6 +36,20 @@ #include "irman.h" +/** mapping between IrMan code names and LCDd key names */ +typedef struct _codemap { + const char *irman; /**< IrMan code name */ + const char *lcdproc; /**< LCDproc key name */ +} CodeMap; + +/** private data for the \c irman driver */ +typedef struct irmanin_private_data { + char device[256]; /**< IrMan device name */ + char config[256]; /**< IrMan config file */ + char *portname; /**< IrMan port name */ +} PrivateData; + + CodeMap codemap[] = { { "", "" }, /* dummy: ir_register_command() needs offset > 0 */ { "lcdproc-Up", "Up" }, diff --git a/server/drivers/irmanin.h b/server/drivers/irmanin.h index 38745d8..76a0887 100644 --- a/server/drivers/irmanin.h +++ b/server/drivers/irmanin.h @@ -1,19 +1,6 @@ #ifndef LCD_IRMANIN__H #define LCD_IRMANIN_H -/** mapping between IrMan code names and LCDd key names */ -typedef struct _codemap { - const char *irman; /**< IrMan code name */ - const char *lcdproc; /**< LCDpüroc key name */ -} CodeMap; - -/** private data for the \c irman driver */ -typedef struct irmanin_private_data { - char device[256]; /**< IrMan device name */ - char config[256]; /**< IrMan config file */ - char *portname; /**< IrMan port name */ -} PrivateData; - MODULE_EXPORT int irmanin_init (Driver *drvthis); MODULE_EXPORT void irmanin_close (Driver *drvthis); MODULE_EXPORT const char *irmanin_get_key (Driver *drvthis);