Main Page Class Hierarchy Compound List File List Compound Members File Members

# error_ew.h

Go to the documentation of this file.

    00001 /*
    00002  *   THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE
    00003  *   CHECKED IT OUT USING THE COMMAND CHECKOUT.
    00004  *
    00005  *    $Id: error__ew_8h-source.html,v 1.1 2006/05/19 16:55:01 paulf Exp $
    00006  *
    00007  *    Revision history:
    00008  *     $Log: error__ew_8h-source.html,v $
    00008  *     Revision 1.1  2006/05/19 16:55:01  paulf
    00008  *     first inclusion
    00008  *
    00009  *     Revision 1.1  2000/05/04 23:42:17  lombard
    00010  *     Initial revision
    00011  *
    00012  *
    00013  *
    00014  */
    00015 /* Include file for Earthworm error-reporting routines */
    00016
    00017 #ifndef ERROR_EW
    00018 #define ERROR_EW
    00019
    00020 /* Function prototypes: */
    00021
    00022 /****************** GetLastError_ew ***********************
    00023  *     Returns the error code for the most recent error.  *
    00024  **********************************************************/
    00025 int GetLastError_ew();
    00026
    00027 /*****************************************************************
    00028  *  ew_fmt_err_msg: builds text for the error                    *
    00029  *      error: the error number returned by GetLastError or, for *
    00030  *             socket errors, by WSAGetLastError.                *
    00031  *     retstr is expected to hold at least maxlen bytes          *
    00032  *****************************************************************/
    00033 void ew_fmt_err_msg( int error, char *retstr, int maxlen);
    00034
    00035
    00036 #endif