callbacks.h 1.43 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4
/*
 * Callbacks prototypes for FSM
 *
 * Copyright (C) 1996 Universidade de Lisboa
5
 *
Linus Torvalds's avatar
Linus Torvalds committed
6 7
 * Written by Pedro Roque Marques (roque@di.fc.ul.pt)
 *
8
 * This software may be used and distributed according to the terms of
Linus Torvalds's avatar
Linus Torvalds committed
9 10 11 12 13 14 15
 * the GNU General Public License, incorporated herein by reference.
 */

#ifndef CALLBACKS_H
#define CALLBACKS_H


16
extern void cb_out_1(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
17 18
		     struct callb_data *data);

19
extern void cb_out_2(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
20 21
		     struct callb_data *data);

22
extern void cb_in_1(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
23
		    struct callb_data *data);
24
extern void cb_in_2(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
25
		    struct callb_data *data);
26
extern void cb_in_3(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
27 28
		    struct callb_data *data);

29
extern void cb_disc_1(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
30
		      struct callb_data *data);
31
extern void cb_disc_2(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
32
		      struct callb_data *data);
33
extern void cb_disc_3(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
34 35
		      struct callb_data *data);

36
extern void cb_notdone(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
37 38
		       struct callb_data *data);

39
extern void cb_selp_1(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
40
		      struct callb_data *data);
41
extern void cb_open(struct pcbit_dev *dev, struct pcbit_chan *chan,
Linus Torvalds's avatar
Linus Torvalds committed
42 43 44
		    struct callb_data *data);

#endif