Jack Jansen | 1dcbcc3 | 1995-11-14 11:34:17 +0000 | [diff] [blame] | 1 | /* |
| 2 | ** InterSLIP API. |
| 3 | */ |
| 4 | |
| 5 | #include <Types.h> |
| 6 | |
| 7 | /* States */ |
| 8 | #define IS_IDLE 0 |
| 9 | #define IS_WMODEM 1 |
| 10 | #define IS_DIAL 2 |
| 11 | #define IS_LOGIN 3 |
| 12 | #define IS_RUN 4 |
| 13 | #define IS_DISC 5 |
| 14 | |
| 15 | OSErr is_open(); /* Open InterSLIP driver (optional) */ |
| 16 | OSErr is_connect();/* Connect */ |
| 17 | OSErr is_disconnect(); /* Disconnect */ |
| 18 | OSErr is_status(long *, long *, StringPtr *); /* Get status, msg seq#, msg pointer */ |
| 19 | OSErr is_getconfig(long *, long *, Str255 , Str255 , Str255 ); /* get config */ |
| 20 | OSErr is_setconfig(long , long , Str255 , Str255 , Str255 ); /* set config */ |