1 /* 2 * Callbacks prototypes for FSM 3 * 4 * Copyright (C) 1996 Universidade de Lisboa 5 * 6 * Written by Pedro Roque Marques (pedro_m@yahoo.com) 7 * 8 * This software may be used and distributed according to the terms of 9 * the GNU General Public License, incorporated herein by reference. 10 */ 11 12 #ifndef CALLBACKS_H 13 #define CALLBACKS_H 14 15 16 extern void cb_out_1(struct pcbit_dev * dev, struct pcbit_chan* chan, 17 struct callb_data *data); 18 19 extern void cb_out_2(struct pcbit_dev * dev, struct pcbit_chan* chan, 20 struct callb_data *data); 21 22 extern void cb_out_3(struct pcbit_dev * dev, struct pcbit_chan* chan, 23 struct callb_data *data); 24 25 extern void cb_in_1(struct pcbit_dev * dev, struct pcbit_chan* chan, 26 struct callb_data *data); 27 extern void cb_in_2(struct pcbit_dev * dev, struct pcbit_chan* chan, 28 struct callb_data *data); 29 extern void cb_in_3(struct pcbit_dev * dev, struct pcbit_chan* chan, 30 struct callb_data *data); 31 32 extern void cb_disc_1(struct pcbit_dev * dev, struct pcbit_chan* chan, 33 struct callb_data *data); 34 extern void cb_disc_2(struct pcbit_dev * dev, struct pcbit_chan* chan, 35 struct callb_data *data); 36 extern void cb_disc_3(struct pcbit_dev * dev, struct pcbit_chan* chan, 37 struct callb_data *data); 38 39 extern void cb_notdone(struct pcbit_dev * dev, struct pcbit_chan* chan, 40 struct callb_data *data); 41 42 extern void cb_selp_1(struct pcbit_dev * dev, struct pcbit_chan* chan, 43 struct callb_data *data); 44 extern void cb_open(struct pcbit_dev * dev, struct pcbit_chan* chan, 45 struct callb_data *data); 46 47 #endif 48 49 50