IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 565


Ignore:
Timestamp:
May 3, 2004, 3:07:56 PM (22 years ago)
Author:
rhl
Message:

Support for psErrorRegister()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psError.h

    r456 r565  
    88 * This initialisation is machine-generated from psError.dat
    99 */
     10#include <stdarg.h>
    1011#include "psErrorCodes.h"
     12
     13typedef struct {
     14    psErrorCode code;                   // An error code
     15    char *descrip;                      // the associated description
     16} psErrorDescription;
    1117
    1218typedef struct {
     
    2935    );
    3036
     37void p_psErrorRegister(const psErrorDescription *errors, ///< register a set of errors
     38                       int nerror);                    ///< number of errors
     39
    3140const psErr *psGetError(int which);     // return specified error (or an "error" with code PS_ERR_NONE)
    3241const psErr *psLastError(void);         // return last error (or an "error" with code PS_ERR_NONE)
Note: See TracChangeset for help on using the changeset viewer.