1 /* $Id: arcofi.h,v 1.6.6.2 2001/09/23 22:24:46 kai Exp $ 2 * 3 * Ansteuerung ARCOFI 2165 4 * 5 * Author Karsten Keil 6 * Copyright by Karsten Keil <keil@isdn4linux.de> 7 * 8 * This software may be used and distributed according to the terms 9 * of the GNU General Public License, incorporated herein by reference. 10 * 11 */ 12 13 #define ARCOFI_USE 1 14 15 /* states */ 16 #define ARCOFI_NOP 0 17 #define ARCOFI_TRANSMIT 1 18 #define ARCOFI_RECEIVE 2 19 /* events */ 20 #define ARCOFI_START 1 21 #define ARCOFI_TX_END 2 22 #define ARCOFI_RX_END 3 23 #define ARCOFI_TIMEOUT 4 24 25 extern int arcofi_fsm(struct IsdnCardState *cs, int event, void *data); 26 extern void init_arcofi(struct IsdnCardState *cs); 27 extern void clear_arcofi(struct IsdnCardState *cs); 28