1 /* 2 * Callbacks prototypes for FSM 3 * 4 * Copyright (C) 1996 Universidade de Lisboa 5 * 6 * Written by Pedro Roque Marques (roque@di.fc.ul.pt) 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_in_1(struct pcbit_dev * dev, struct pcbit_chan* chan, 23 struct callb_data *data); 24 extern void cb_in_2(struct pcbit_dev * dev, struct pcbit_chan* chan, 25 struct callb_data *data); 26 extern void cb_in_3(struct pcbit_dev * dev, struct pcbit_chan* chan, 27 struct callb_data *data); 28 29 extern void cb_disc_1(struct pcbit_dev * dev, struct pcbit_chan* chan, 30 struct callb_data *data); 31 extern void cb_disc_2(struct pcbit_dev * dev, struct pcbit_chan* chan, 32 struct callb_data *data); 33 extern void cb_disc_3(struct pcbit_dev * dev, struct pcbit_chan* chan, 34 struct callb_data *data); 35 36 extern void cb_notdone(struct pcbit_dev * dev, struct pcbit_chan* chan, 37 struct callb_data *data); 38 39 extern void cb_selp_1(struct pcbit_dev * dev, struct pcbit_chan* chan, 40 struct callb_data *data); 41 extern void cb_open(struct pcbit_dev * dev, struct pcbit_chan* chan, 42 struct callb_data *data); 43 44 #endif 45 46 47