|
|
1.1 root 1: /* RIOLIB.H */
2:
3: /* Developed 1990-1997 by Rob Swindell; PO Box 501, Yorba Linda, CA 92885 */
4:
5: #ifndef _RIOLIB_H
6: #define _RIOLIB_H
7:
8: #include "gen_defs.h"
9:
10: int rioini(int com,int irq); /* initialize com,irq */
11: int setbaud(int rate); /* set baud rate */
12: int rioctl(ushort action); /* remote i/o control */
13: int dtr(char onoff); /* set/reset dtr */
14: int outcom(int ch); /* send character */
15: int incom(void); /* receive character */
16: int ivhctl(int intcode); /* local i/o redirection */
17:
18: /* Win32 and OS/2 versions only */
19:
20: long rio_getbaud(void); /* get current baud rate */
21: int rio_getstate(void); /* get current current state */
22: void outcom_thread(void *);
23:
24: extern int rio_handle;
25:
26: #endif /* Don't add anything after this line */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.