home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR3 / KA9Q212.ZIP / ASY.H < prev    next >
C/C++ Source or Header  |  1993-07-16  |  1KB  |  44 lines

  1. /****************************************************************************
  2. *    asy.h                                                                    *
  3. *    $Id: asy.h 1.2 93/07/16 11:42:09 ROOT_DOS Exp $
  4. *                                                                            *
  5. *    04 Jul 93    1.2        GT    asy_len ();                                        *
  6. ****************************************************************************/
  7.  
  8. #ifndef    _ASY_H
  9. #define    _ASY_H
  10.  
  11. #ifndef    _GLOBAL_H
  12. #include "global.h"
  13. #endif
  14.  
  15. #ifndef    _MBUF_H
  16. #include "mbuf.h"
  17. #endif
  18.  
  19. #ifndef    _IFACE_H
  20. #include "iface.h"
  21. #endif
  22.  
  23. #define    ASY_MAX    5        /* Five asynch ports allowed on the PC */
  24.  
  25. /* In 8250.c: */
  26. int asy_init __ARGS((int dev,struct iface *ifp,char *arg1,char *arg2,
  27.     int16 bufsize,int trigchar,char monitor,long speed));
  28. int32 asy_ioctl __ARGS((struct iface *ifp,int cmd,int set,int32 val));
  29. int asy_speed __ARGS((int dev,long bps));
  30. int asy_send __ARGS((int dev,struct mbuf *bp));
  31. int asy_stop __ARGS((struct iface *ifp));
  32. int get_rlsd_asy __ARGS((int dev, int new_rlsd));
  33. int get_asy __ARGS((int dev));
  34. int asy_len __ARGS((int dev));
  35.  
  36. /* In asyvec.asm: */
  37. INTERRUPT asy0vec __ARGS((void));
  38. INTERRUPT asy1vec __ARGS((void));
  39. INTERRUPT asy2vec __ARGS((void));
  40. INTERRUPT asy3vec __ARGS((void));
  41. INTERRUPT asy4vec __ARGS((void));
  42.  
  43. #endif    /* _ASY_H */
  44.