home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / EXTRAS / UUCODE / UUPC / TEST / UPC12ES2.ZIP / UUCICO / pwserr.h < prev    next >
Encoding:
Text File  |  1993-10-30  |  1.8 KB  |  46 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/10/02  23:13:51  dmwatt
  28.  * Initial revision
  29.  *
  30.  * Revision 1.1  1993/09/24  03:46:07  dmwatt
  31.  * Initial revision
  32.  *
  33.  *
  34.  */
  35.  
  36. void pWSErr(const size_t lineno,
  37.              const char *fname,
  38.              const char *prefix,
  39.              int rc);
  40.  
  41. /*--------------------------------------------------------------------*/
  42. /*                 Macro for generic error messages from DOS          */
  43. /*--------------------------------------------------------------------*/
  44.  
  45. #define printWSerror( x, rc )  pWSErr( __LINE__, cfnptr, x, rc)
  46.