home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / tcpipsrc / h / Arc next >
Text File  |  1995-01-10  |  959b  |  41 lines

  1. #include "global.h"
  2.  
  3. /* Asynch controller control block */
  4. struct asy {
  5.        struct interface *iface;
  6.        unsigned speed;
  7.        unsigned rxchars;
  8.        unsigned rxserviced;
  9.        unsigned txchars;
  10.        unsigned txoverruns;
  11.        unsigned txserviced;
  12. };
  13. extern struct asy asy[];
  14. extern unsigned nasy;
  15. #define ASY_MAX 5    /* Up from one to allow for extra serial port cards */
  16.  
  17. /* In ARC */
  18. int  mkdir(char *);
  19. int  rmdir(char *);
  20. int  access(char *, int);
  21. char *dir(char *, int);
  22. void filedir(char *, int, char *);
  23. void check_time(void);
  24. void time_adj(char *, int);
  25.  
  26. /* In ARC_IO */
  27. void iostop(void);
  28. int  asy_init(int, struct interface *, unsigned int);
  29. int  asy_stop(struct interface *);
  30. int  asy_ioctl(struct interface *, int, char **);
  31. int  asy_speed(int, int);
  32. int  asy_flowctrl(int, int);
  33. int  asy_output(int, char *, int);
  34. int asy_recv(int, char *);
  35. int  doasystat(int, char **);
  36.  
  37. /* In SERIAL */
  38. int ser_getc(char *);
  39. int ser_putc(char);
  40.  
  41.