home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / network / src_1218.zip / ASY.H < prev    next >
C/C++ Source or Header  |  1991-09-21  |  899b  |  36 lines

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