unstrip-downed Class 2 error messages table
[efax.git] / efaxlib.h
index 9c725ae..a159841 100644 (file)
--- a/efaxlib.h
+++ b/efaxlib.h
@@ -84,15 +84,23 @@ extern short short256 ;
 #define NOFORMATS 14
 #define NPFORMATS 5
 
-enum iformats { I_AUTO=0, I_PBM=1, I_FAX=2, I_TEXT=3, I_TIFF=4,
-               I_DFAX=5, I_PCX=6, I_RAW=7, I_DCX=8 } ;
+enum iformats { I_AUTO=0, I_PBM=1,
+#ifndef UCLINUX
+               I_FAX=2, I_TEXT=3, I_TIFF=4,
+               I_DFAX=5, I_PCX=6, I_RAW=7, I_DCX=8
+#endif /* UCLINUX */
+               } ;
 
 #define IFORMATS { "AUTO", "PBM", "FAX", "TEXT", "TIFF", \
                "DFAX", "PCX", "RAW", "DCX" } ;
 
-enum oformats { O_AUTO=0, O_PBM=1, O_FAX=2, O_PCL=3, O_PS=4, 
+enum oformats { O_AUTO=0, O_PBM=1,
+#ifndef UCLINUX
+               O_FAX=2, O_PCL=3, O_PS=4, 
                O_PGM=5, O_TEXT=6, O_TIFF_FAX=7, O_TIFF_RAW=8, O_DFAX=9, 
-               O_TIFF=10, O_PCX=11, O_PCX_RAW=12, O_DCX=13 } ;
+               O_TIFF=10, O_PCX=11, O_PCX_RAW=12, O_DCX=13
+#endif /* UCLINUX */
+               } ;
 
 #define OFORMATS { "AUTO", "PBM", "FAX", "PCL", "PS", \
                "PGM", "TEXT", "TIFF", "TIFF", "DFAX", \
@@ -199,15 +207,13 @@ int texttorun ( uchar *txt, faxfont *font, short line,
               short *runs, int *pels ) ;
 
 int   xpad ( short *runs, int nr, int pad ) ;
-int xscale ( short *runs, int nr, int xs ) ;
-int xshift ( short *runs, int nr, int s ) ;
 
 int runor ( short *a, int na, short *b, int nb, short *c, int *pels ) ;
 
 /* Bit reversal lookup tables (note that the `normalbits' array
    is the one actually used for the bit reversal.  */
 
-uchar reversebits [ 256 ], normalbits [ 256 ] ;
+extern uchar reversebits [ 256 ], normalbits [ 256 ] ;
 
 void initbittab(void) ;