home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / EXTRAS / UUCODE / UUPC / TEST / UPC12ES1.ZIP / LIB / import.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-11  |  2.6 KB  |  57 lines

  1. /*--------------------------------------------------------------------*/
  2. /*    i m p o r t . h                                                 */
  3. /*--------------------------------------------------------------------*/
  4.  
  5. /*--------------------------------------------------------------------*/
  6. /*       Changes Copyright (c) 1989-1993 by Kendra Electronic         */
  7. /*       Wonderworks.                                                 */
  8. /*                                                                    */
  9. /*       All rights reserved except those explicitly granted by       */
  10. /*       the UUPC/extended license agreement.                         */
  11. /*--------------------------------------------------------------------*/
  12.  
  13. /*--------------------------------------------------------------------*/
  14. /*                          RCS Information                           */
  15. /*--------------------------------------------------------------------*/
  16.  
  17. /*
  18.  *    $Id: import.h 1.4 1993/10/12 01:21:25 ahd Exp $
  19.  *
  20.  *    Revision history:
  21.  *    $Log: import.h $
  22.  *     Revision 1.4  1993/10/12  01:21:25  ahd
  23.  *     Normalize comments to PL/I style
  24.  *
  25.  *     Revision 1.3  1993/10/09  15:48:20  rhg
  26.  *     ANSIfy the source
  27.  *
  28.  *     Revision 1.2  1993/09/02  12:08:49  ahd
  29.  *     HPFS Support
  30.  *
  31.  */
  32.  
  33. /*--------------------------------------------------------------------*/
  34. /*    Constants used for mapping between character sets; changing     */
  35. /*    any of these parameters requires clearing all the files from    */
  36. /*    UUPC/extended spool directories.                                */
  37. /*--------------------------------------------------------------------*/
  38.  
  39. #define DOSCHARS  "!#$%&'()-0123456789@^_`abcdefghijklmnopqrstuvwxyz{}~"
  40.                               /* List of allowed characters in MS-DOS
  41.                                  file names; from Page 1.15 of Zenith
  42.                                  MS-DOS 3 manual                      */
  43. #define UNIX_START_C '#'      /* First character in the UNIX char set */
  44.                               /* we map to the DOS character set      */
  45. #define UNIX_END_C   'z'      /* last UNIX char we map                */
  46.  
  47. /*--------------------------------------------------------------------*/
  48. /*    Routines defined in import.c                                    */
  49. /*--------------------------------------------------------------------*/
  50.  
  51. void importpath(char *host,
  52.                 const char *canon,
  53.                 const char *remote);
  54.  
  55. boolean ValidDOSName( const char *s,
  56.                       const boolean longname );
  57.