callbacks.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #ifndef CALLBACKS_H
  12. #define CALLBACKS_H
  13. extern void cb_out_1(struct pcbit_dev * dev, struct pcbit_chan* chan,
  14. struct callb_data *data);
  15. extern void cb_out_2(struct pcbit_dev * dev, struct pcbit_chan* chan,
  16. struct callb_data *data);
  17. extern void cb_in_1(struct pcbit_dev * dev, struct pcbit_chan* chan,
  18. struct callb_data *data);
  19. extern void cb_in_2(struct pcbit_dev * dev, struct pcbit_chan* chan,
  20. struct callb_data *data);
  21. extern void cb_in_3(struct pcbit_dev * dev, struct pcbit_chan* chan,
  22. struct callb_data *data);
  23. extern void cb_disc_1(struct pcbit_dev * dev, struct pcbit_chan* chan,
  24. struct callb_data *data);
  25. extern void cb_disc_2(struct pcbit_dev * dev, struct pcbit_chan* chan,
  26. struct callb_data *data);
  27. extern void cb_disc_3(struct pcbit_dev * dev, struct pcbit_chan* chan,
  28. struct callb_data *data);
  29. extern void cb_notdone(struct pcbit_dev * dev, struct pcbit_chan* chan,
  30. struct callb_data *data);
  31. extern void cb_selp_1(struct pcbit_dev * dev, struct pcbit_chan* chan,
  32. struct callb_data *data);
  33. extern void cb_open(struct pcbit_dev * dev, struct pcbit_chan* chan,
  34. struct callb_data *data);
  35. #endif