home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / internet / tcpip / src205 / TCPIP_Src / h / Arc next >
Encoding:
Text File  |  1995-03-07  |  1.4 KB  |  55 lines

  1. #include <time.h>
  2. #include "os.h"
  3. #include "global.h"
  4.  
  5. /* Asynch controller control block */
  6. struct asy {
  7.        struct interface *iface;
  8.        unsigned speed;
  9.        unsigned rxchars;
  10.        unsigned rxserviced;
  11.        unsigned txchars;
  12.        unsigned txoverruns;
  13.        unsigned txserviced;
  14. };
  15. extern struct asy asy[];
  16. extern unsigned nasy;
  17. #define ASY_MAX 5    /* Up from one to allow for extra serial port cards */
  18.  
  19. /* In ARC */
  20. int  mkdir(char *);
  21. int  rmdir(char *);
  22. int  access(char *, int);
  23. char *dir(char *, int);
  24. void filedir(char *, int, char *);
  25. void check_time(void);
  26. void time_adj(char *, int);
  27.  
  28. /* In ARC_IO */
  29. void iostop(void);
  30. int  asy_init(int, struct interface *, unsigned int);
  31. int  asy_stop(struct interface *);
  32. int  asy_ioctl(struct interface *, int, char **);
  33. int  asy_speed(int, int);
  34. int  asy_flowctrl(int, int);
  35. int  asy_output(int, char *, int);
  36. int asy_recv(int, char *);
  37. int  doasystat(int, char **);
  38.  
  39. /* In SERIAL */
  40. int ser_getc(char *);
  41. int ser_putc(char);
  42.  
  43. os_error* file_create(char *f, int t, int len);
  44. os_error *file_objtype(char *f, int *t);
  45. os_error* file_settype(char *f, int t);
  46. os_error *create_path(char *path, int size, int type);
  47. int check_path(char *path);
  48. int atoft(char *s);
  49. char *fttoa(int n);
  50. char *fttola(int n);
  51.  
  52. time_t time_readgmt(void);
  53. void time_timetoordinals(time_t t, struct tm *tp);
  54. time_t time_ordinalstotime(struct tm *tp);
  55.