This is decode.h in view mode; [Download] [Up]
/* $Id: decode.h,v 1.1.1.1 1996/01/31 13:44:34 alex Exp $ * * $Log: decode.h,v $ * Revision 1.1.1.1 1996/01/31 13:44:34 alex * Importierte Source, Version 0.82 von Constantin * * Revision 4.4 1991/09/09 20:27:37 sob * release 4.4 * * * */ /* This software is Copyright 1991 by Stan Barber. * * Permission is hereby granted to copy, reproduce, redistribute or otherwise * use this software as long as: there is no monetary profit gained * specifically from the use or reproduction of this software, it is not * sold, rented, traded or otherwise marketed, and this copyright notice is * included prominently in any copy made. * * The author make no claims as to the fitness or correctness of this software * for any use whatsoever, and it is provided as is. Any use of this software * is at the user's own risk. */ #include <stdio.h> #include <streams/streams.h> #ifndef BOOL #define BOOL char #endif /* defines stolen from common.h */ #define LBUFLEN 1024 #ifndef FOPEN_RB # define FOPEN_RB "r" #endif #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #define Nullch NULL #define Nullfp NULL #define NO_ADVANCE 0x10 #define FIND_BEGIN 0x01 #define AFTER_ERROR_FIND_BEGIN 0x02 #define DECODE_TEXT 0x03 #define SKIP_TRAILING (0x04 | NO_ADVANCE) #define SKIP_LEADING 0x05 #define FOUND_END (0x06 | NO_ADVANCE) #define DECODE_ERROR (0x07 | NO_ADVANCE) #define OTHER_ERROR (0x08 | NO_ADVANCE) #define NEW_BEGIN (0x09 | NO_ADVANCE) //EXT FILE *decode_fp INIT(NULL); //EXT char decode_fname[MAXFILENAME]; //EXT char decode_dest[MAXFILENAME]; //EXT int decode_type; //void decode_init ANSI((void)); void decode_end(void); // Getting/setting place where decoded files are put. If it // is invalid then the decoding will always fail. const char* decodeDepositPathname(); void setDecodeDepositPathname(const char* aPathname); void uud_start (void); int uudecode (NXStream *); int uudecode_state(); //void unship_init ANSI((void)); //int unship ANSI((FILE *)); #define UUDECODE 0 #define UNSHIP 1
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.