home *** CD-ROM | disk | FTP | other *** search
- #ifndef USHORT
- #define USHORT unsigned short
- #endif
- #ifndef CHAR
- #define CHAR char
- #endif
- #ifndef HFILE
- #define HFILE unsigned short
- #endif
- #ifndef SHORT
- #define SHORT short
- #endif
- #ifndef UCHAR
- #define UCHAR unsigned char
- #endif
- #ifndef ULONG
- #define ULONG unsigned long
- #endif
- #ifndef VOID
- #define VOID void
- #endif
- #ifndef LONG
- #define LONG long
- #endif
- #ifndef PCHAR
- #define PCHAR char *
- #endif
-
- extern USHORT port;
- extern CHAR portname[15];
- extern HFILE dde_output,dde_input;
- extern HFILE screen_handle;
-
- SHORT setcom(char *baud,UCHAR parity,UCHAR data_bits,UCHAR stop_bits,SHORT port);
- USHORT init_lib(int argc,char **argv);
- USHORT put_s(char *str, HFILE handle);
- VOID sleep(ULONG seconds);
- USHORT wait_fore(USHORT argc, CHAR **argv, HFILE input, HFILE output);
- USHORT wait_for(USHORT argc, CHAR **argv, HFILE handle);
- SHORT search_mem(char *buffer,char *compare,USHORT num);
- CHAR get_ch(HFILE handle);
- USHORT dcd(HFILE port);
- USHORT char_avail(HFILE port);
- USHORT read_timeout(USHORT timeout, HFILE port);
- USHORT ring_detect(HFILE port);
- VOID drop_dtr(HFILE port);
- VOID raise_dtr(HFILE port);
- VOID beep(USHORT freq, USHORT duration);
- VOID sendb(LONG length, HFILE port);
- VOID os2_shell(HFILE input, HFILE output);
- USHORT xmodem_chk_receive(char *filename);
- USHORT xmodem_chk_send(char *filename);
- USHORT xmodem_receive(char *filename);
- USHORT xmodem_send(char *filename);
- USHORT xmodem_1k_receive(char *filename);
- USHORT xmodem_1k_send(char *filename);
- USHORT ymodem_send(USHORT num_files, CHAR **filearray);
- USHORT ymodem_receive(VOID);
- USHORT ymodemg_send(USHORT num_files, CHAR **filearray);
- USHORT ymodemg_receive(VOID);
- USHORT zmodem_send(USHORT num_files, CHAR **filearray);
- USHORT zmodem_receive(VOID);
- USHORT kermit_send(USHORT num_files, CHAR **filearray);
- USHORT kermit_receive(VOID);
- USHORT cisb_receive(char *filename);
- USHORT cisb_send(char *filename);
-
- USHORT get_cursor_position(char *);
- VOID get_char_at(USHORT row,USHORT col,USHORT num,char *returnstr);
- USHORT capture_on(char *filename);
- USHORT capture_off(VOID);
- VOID set_download_path(char *path);
-