home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / UPC2S1.ZIP / ULIB.H < prev    next >
C/C++ Source or Header  |  1993-09-20  |  2KB  |  60 lines

  1. #ifndef ULIB_H
  2. #define ULIB_H
  3.  
  4. /*--------------------------------------------------------------------*/
  5. /*    u l i b . h                                                     */
  6. /*                                                                    */
  7. /*    Native mode (serial port) communications functions              */
  8. /*--------------------------------------------------------------------*/
  9.  
  10. /*--------------------------------------------------------------------*/
  11. /*    Changes Copyright (c) 1989-1993 by Kendra Electronic            */
  12. /*    Wonderworks.                                                    */
  13. /*                                                                    */
  14. /*    All rights reserved except those explicitly granted by the      */
  15. /*    UUPC/extended license agreement.                                */
  16. /*--------------------------------------------------------------------*/
  17.  
  18. /*--------------------------------------------------------------------*/
  19. /*                          RCS Information                           */
  20. /*--------------------------------------------------------------------*/
  21.  
  22. /*
  23.  *    $Id: ulib.h 1.4 1993/09/20 04:53:57 ahd Exp $
  24.  *
  25.  *    Revision history:
  26.  *    $Log: ulib.h $
  27.  * Revision 1.4  1993/09/20  04:53:57  ahd
  28.  * TCP/IP support from Dave Watt
  29.  * 't' protocol support
  30.  * OS/2 2.x support (BC++ 1.0 for OS/2 support)
  31.  *
  32.  * Revision 1.3  1993/05/30  00:11:03  ahd
  33.  * Multiple communications drivers support
  34.  *
  35.  */
  36.  
  37. extern int nopenline(char *name, BPS baud, const boolean direct);
  38.  
  39. extern unsigned int nsread(char *buffer,
  40.                           unsigned int wanted,
  41.                           unsigned int timeout);
  42.  
  43. int nswrite(const char *data, unsigned int len);
  44.  
  45. void nssendbrk(unsigned int duration);
  46.  
  47. void ncloseline(void);
  48.  
  49. void nSIOSpeed(BPS baud);
  50.  
  51. void nflowcontrol( boolean );
  52.  
  53. void nhangup( void );
  54.  
  55. BPS nGetSpeed( void );
  56.  
  57. boolean nCD( void );
  58.  
  59. #endif
  60.