home *** CD-ROM | disk | FTP | other *** search
- /*
- Interface to serial communications module
- */
-
- #define BOOLEAN int
- #define TRUE 1
- #define FALSE 0
-
- BOOLEAN sc_open(); /* returns TRUE if device was opened, FALSE
- if device could not be opened */
- void sc_close(); /* close the device */
- BOOLEAN sc_dial(); /* returns TRUE if CONNECTed to the remote
- system */
- void sc_hangup();
- BOOLEAN sc_read(); /* returns TRUE if pattern was found, FALSE
- if time ran out */
- void sc_write();
- void sc_cleanup(); /* resets link port back to original
- configuration, should be called from
- the application before exiting if
- sc_close will not be called */
-