home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / UPC2S1.ZIP / PWSERR.H < prev    next >
Text File  |  1993-10-02  |  2KB  |  43 lines

  1. /*--------------------------------------------------------------------*/
  2. /*       p w s e r r . h                                              */
  3. /*                                                                    */
  4. /*       Report error message from Windows sockets error message      */
  5. /*--------------------------------------------------------------------*/
  6.  
  7. /*--------------------------------------------------------------------*/
  8. /*       Changes Copyright (c) 1989-1993 by Kendra Electronic         */
  9. /*       Wonderworks.                                                 */
  10. /*                                                                    */
  11. /*       All rights reserved except those explicitly granted by       */
  12. /*       the UUPC/extended license agreement.                         */
  13. /*--------------------------------------------------------------------*/
  14.  
  15. /*--------------------------------------------------------------------*/
  16. /*                          RCS Information                           */
  17. /*--------------------------------------------------------------------*/
  18.  
  19. /*
  20.  *    $Id: pwserr.h 1.1 1993/10/02 23:13:51 dmwatt Exp $
  21.  *
  22.  *    Revision history:
  23.  *    $Log: pwserr.h $
  24.  * Revision 1.1  1993/10/02  23:13:51  dmwatt
  25.  * Initial revision
  26.  *
  27.  * Revision 1.1  1993/09/24  03:46:07  dmwatt
  28.  * Initial revision
  29.  *
  30.  *
  31.  */
  32.  
  33. void pWSErr(const size_t lineno,
  34.              const char *fname,
  35.              const char *prefix,
  36.              int rc);
  37.  
  38. /*--------------------------------------------------------------------*/
  39. /*                 Macro for generic error messages from DOS          */
  40. /*--------------------------------------------------------------------*/
  41.  
  42. #define printWSerror( x, rc )  pWSErr( __LINE__, cfnptr, x, rc)
  43.