home *** CD-ROM | disk | FTP | other *** search
- #include <time.h>
- #include "os.h"
- #include "global.h"
-
- /* Asynch controller control block */
- struct asy {
- struct interface *iface;
- unsigned speed;
- unsigned rxchars;
- unsigned rxserviced;
- unsigned txchars;
- unsigned txoverruns;
- unsigned txserviced;
- };
- extern struct asy asy[];
- extern unsigned nasy;
- #define ASY_MAX 5 /* Up from one to allow for extra serial port cards */
-
- /* In ARC */
- int mkdir(char *);
- int rmdir(char *);
- int access(char *, int);
- char *dir(char *, int);
- void filedir(char *, int, char *);
- void check_time(void);
- void time_adj(char *, int);
-
- /* In ARC_IO */
- void iostop(void);
- int asy_init(int, struct interface *, unsigned int);
- int asy_stop(struct interface *);
- int asy_ioctl(struct interface *, int, char **);
- int asy_speed(int, int);
- int asy_flowctrl(int, int);
- int asy_output(int, char *, int);
- int asy_recv(int, char *);
- int doasystat(int, char **);
-
- /* In SERIAL */
- int ser_getc(char *);
- int ser_putc(char);
-
- os_error* file_create(char *f, int t, int len);
- os_error *file_objtype(char *f, int *t);
- os_error* file_settype(char *f, int t);
- os_error *create_path(char *path, int size, int type);
- int check_path(char *path);
- int atoft(char *s);
- char *fttoa(int n);
- char *fttola(int n);
-
- time_t time_readgmt(void);
- void time_timetoordinals(time_t t, struct tm *tp);
- time_t time_ordinalstotime(struct tm *tp);
-