From ca51f6abf6debc1b6718f59129886fea04ee12b0 Mon Sep 17 00:00:00 2001 From: jacomi Date: Mon, 25 Jan 1999 18:35:13 +0000 Subject: new directory structure and data --- irdev.h | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 irdev.h (limited to 'irdev.h') diff --git a/irdev.h b/irdev.h deleted file mode 100644 index bf0227a..0000000 --- a/irdev.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * IRBOX, an Ivy driver for infra-red remote controls - * - * Copyright 1998-1999 - * Centre d'Etudes de la Navigation Aerienne - * - * Device driver - * - * Authors: Francois-Regis Colin - * Yann Malichecq - * Stephane Chatty - * - * $Id$ - * - * Please refer to file version.h for the - * copyright notice regarding this software - */ - - -#ifndef IR_H -#define IR_H 1 - -typedef enum { - EVENT_BTN_PRESS, - EVENT_BTN_RELEASE -} IrEvent; - -typedef struct ir_state IrState; - -typedef void (*IrEvtCallback) (IrState *ir, const unsigned char *code ); -typedef void (*IrFailCallback) (IrState *ir); -typedef void (*IrTimerCallback) (void * id, IrState *ir, int delta ); -typedef void* (*IrTimerSetter) (IrTimerCallback cb, long value, void *data ); -typedef void (*IrTimerCanceller) (void *timerid ); - -extern IrState* IrOpen (const char *name); -extern void IrClose (IrState *ir); -extern int IrInit (IrState *ir, IrEvtCallback cb, IrFailCallback f, IrTimerSetter st, IrTimerCanceller ct); -extern void IrIntr (IrState *ir); -extern int IrGetFd (IrState *ir); - - -#endif -- cgit v1.1