Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members  

pserrno.h

Go to the documentation of this file.
00001 /*  $Id: pserrno.h,v 1.6 2000/12/06 18:42:30 dbryson Exp $
00002 **
00003 **  Copyright (c) 2000 Derry Bryson <derry@techass.com>
00004 **
00005 **  Description:
00006 **  
00007 **    Postscript Library
00008 **
00009 **
00010 **  License:
00011 **
00012 **    This library is free software; you can redistribute it and/or
00013 **    modify it under the terms of the GNU Lesser General Public
00014 **    License as published by the Free Software Foundation; either
00015 **    version 2.1 of the License, or (at your option) any later version.
00016 **
00017 **    This library is distributed in the hope that it will be useful,
00018 **    but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 **    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020 **    Lesser General Public License for more details.
00021 **
00022 **    You should have received a copy of the GNU Lesser General Public
00023 **    License along with this library; if not, write to the Free Software
00024 **    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 **
00026 **
00027 **  Contact:
00028 **
00029 **      Mail:
00030 **
00031 **        Technology Associates, Inc.
00032 **        LIBPS Project
00033 **        1455 Deming Way #11
00034 **        Sparks, NV  89431
00035 **        USA
00036 **
00037 **      Email:
00038 **
00039 **        libps@techass.com
00040 **
00041 **      See our website at:
00042 **
00043 **        libps.sourceforge.net
00044 **
00045 */
00046 
00050 #ifndef INCLUDE_ERRORCODE
00051 #define INCLUDE_ERRORCODE
00052 
00053 #ifdef __cplusplus
00054 extern "C" {
00055 #endif
00056 
00057 /******************************************************************************
00058 ****  DEFINES  ****************************************************************
00059 ******************************************************************************/
00060 
00061 #define PSERR_NONE                      0
00062 #define PSERR_ERRNO                     1       /* see errno */
00063 #define PSERR_BADAFMKEYNAME             2
00064 #define PSERR_BADAFMCHARMETRIC          3
00065 #define PSERR_TOOMANYCHARMETRICS        4
00066 #define PSERR_NOEOFMARKER               5
00067 #define PSERR_BADBLOCKMARKER            6
00068 #define PSERR_BADBLOCKLEN               7
00069 #define PSERR_DATACORRUPT               8
00070 #define PSERR_UNKNOWNFILETYPE           9
00071 #define PSERR_NOCHARSTRINGSTART         10
00072 #define PSERR_CHARSTRINGTOOSHORT        11
00073 #define PSERR_STREAMREADERROR           12
00074 #define PSERR_STREAMWRITEERROR          13
00075 #define PSERR_STREAMSEEKERROR           14
00076 #define PSERR_STREAMTELLERROR           15
00077 #define PSERR_BADTTFFILE                16
00078 #define PSERR_BADTTFMAGIC               17
00079 #define PSERR_UNKNOWNTTFPOSTFORMAT      18
00080 #define PSERR_INVALIDNGLYPHS            19
00081 #define PSERR_UNKNOWNLOCAFORMAT         20
00082 #define PSERR_INVALIDTTFFILE            21
00083 
00084 #define pserrno                         (*_psGetPSErrno())
00085 
00086 /******************************************************************************
00087 ****  GLOBALS  ****************************************************************
00088 ******************************************************************************/
00089 
00090 /******************************************************************************
00091 ****  FUNCTION PROTOTYPES  ****************************************************
00092 ******************************************************************************/
00093 
00094 int* _psGetPSErrno(void);
00095 
00096 #ifdef __cplusplus
00097 }
00098 #endif
00099 
00100 #endif // INCLUDE_ERRORCODE

Generated at Mon Dec 11 22:46:27 2000 for Postscript Utility Library by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000