home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / PPPBCKP / SRC15B24.ZIP / UU.H < prev    next >
Text File  |  1997-02-16  |  2KB  |  54 lines

  1. #define UNPACK_NO_MEM  -10000
  2. #define UNPACK_BAD_IN  -10001
  3. #define UNPACK_BAD_OUT -10002
  4.  
  5. /*
  6.     UU.H        --      UU encode/decode library
  7.  
  8.     Copyright (C) 1992  Walter Andrew Nolan
  9.  
  10.                         wan@eng.ufl.edu
  11.  
  12.                         ECS-MIS
  13.                         College of Engineering
  14.                         University of Florida
  15.  
  16.                         Version 1.00
  17.  
  18.  
  19.  
  20.     This library is free software; you can redistribute it and/or
  21.     modify it under the terms of the GNU Library General Public
  22.     License as published by the Free Software Foundation; either
  23.     version 2 of the License, or (at your option) any later version.
  24.  
  25.     This library is distributed in the hope that it will be useful,
  26.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  27.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  28.     Library General Public License for more details.
  29.  
  30.     You should have received a copy of the GNU Library General Public
  31.     License along with this library; if not, write to the Free
  32.     Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  33.  
  34.     */
  35.  
  36. #define UU_NO_MEM    -10000
  37. #define UU_BAD_BEGIN -10001
  38. #define UU_CANT_OPEN -10002
  39. #define UU_CHECKSUM  -10003
  40. #define UU_BAD_END   -10004
  41.  
  42. #define PACK_BAD_IN  -10000
  43. #define PACK_BAD_OUT -10001
  44.  
  45.  
  46. #define UU_SUCCESS   0
  47.  
  48. long uuencode (FILE *in, FILE *out, char *name);
  49.  
  50. int uudecode (FILE *in, char *path, char*fname);
  51.  
  52. int uu_unpack (char * inname, char * outname, char *outpath);
  53.  
  54.