Category : Printer + Display Graphics
Archive   : HDFCVT.ZIP
Filename : UTILS.H
Output of file : UTILS.H contained in archive : HDFCVT.ZIP
*
* Utility header file.
*
* NO WARRANTY
*
* This software is distributed free of charge and is in the public domain.
* Anyone may use, duplicate or modify this program. Thinking Machines
* Corporation does not restrict in any way the use of this software by
* anyone.
*
* Thinking Machines Corporation provides absolutely no warranty of any kind.
* The entire risk as to the quality and performance of this program is with
* you. In no event will Thinking Machines Corporation be liable to you for
* damages, including any lost profits, lost monies, or other special,
* incidental or consequential damages arising out of the use of this program.
*
* Jim Salem 9/26/89
* Please keep this notice with the file.
*
* RCS: $Id: utils.h,v 2.0 90/08/01 11:04:19 salem Exp $
* $Log: utils.h,v $
* Revision 2.0 90/08/01 11:04:19 salem
* Bump to next release, no changes
*
* Revision 1.1 90/07/30 18:37:34 salem
* Initial revision
*
*
*--------------------------------------------------------------------------*/
#include
#include
typedef char Boolean;
#define True 1
#define False 0
extern char *malloc();
#define HDF_COLORMAP_SIZE 256
#ifdef DEBUG
#define ERROR_RETURN abort()
#else
#define ERROR_RETURN return NULL
#endif
extern int errno;
/* Local errors */
#define LDFE_BADDEPTH -300 /* Image depth not supported */
#define LDFE_TIFFERR -301 /* TIFF internal error */
#define LDFE_TIFFIO -302 /* Error doing TIFF I/O file */
#define LDFE_TIFFOPEN -303 /* Couldn't open TIFF file */
#define LDFE_TIFFINDEX -304 /* TIFF index out of range */
#define MIN(a, b) (((a)<(b))?(a):(b))
#define MAX(a, b) (((a)>(b))?(a):(b))
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/