home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / viscobv6.zip / vac22os2 / ibmcobol / samples / sdu / ehnxnmp.h < prev    next >
Text File  |  1995-06-02  |  5KB  |  73 lines

  1. /******************************************************************************/
  2. /* MODULE NAME:    EHNXNMP.H                                                  */
  3. /* DESCRIPTION:    Interface Definitions for the DFM/2 Name Mapping Exit      */
  4. /*                 Include File for the Name Mapping Exit sample EHNXNMP.DLL  */
  5. /*                                                                            */
  6. /*                                                                            */
  7. /* DFM/2 (program no. 5648-020)                                               */
  8. /* Version: 1.0                                                               */
  9. /* Release: 1.0                                                               */
  10. /* Level:   0.0                                                               */
  11. /*                                                                            */
  12. /* Copyright (C) International Business Machines Corporation, 1993            */
  13. /*                                                                            */
  14. /******************************************************************************/
  15. /* CHANGE ACTIVITY                                                            */
  16. /* Flag Reason      Level    Date   Origin    Comments                        */
  17. /* -------------------------------------------------------------------------- */
  18. /*                           930402 Mueller  : Initial Release                */
  19. /* IBM Deutschland Entwicklung GmbH, Boeblingen, Germany        GMU at SDFVM1 */
  20. /******************************************************************************/
  21.  
  22. /******************************************************************************/
  23. /*        This file contains definitions needed to write a                    */
  24. /*                                                                            */
  25. /*                   Name Mapping Exit Program                                */
  26. /*                            for                                             */
  27. /*            IBM Distributed Filemanager (DFM/2) for OS/2.                   */
  28. /*                                                                            */
  29. /*                                                                            */
  30. /* It is also part of the Name Mapping Exit sample program for DFM/2.         */
  31. /* It contains definitions and prototypes for the Name Mapping Exit.          */
  32. /* For further description refer to the header of the file EHNXNMP.C,         */
  33. /* that you find in the \SAMPLE subdirectory of the RLIO/DFM product directory*/
  34. /******************************************************************************/
  35.  
  36. #if !defined(EHNXNMP)                    /* If this include hasn't been
  37.                                             included before, include it.      */
  38.  #define EHNXNMP  EHNXNMP                /* Define the term so this include
  39.                                             will not be included again.       */
  40.  
  41.  /*****************************************************************************/
  42.  /* Interface structure for the DFM/2 Name Mapping Exit                       */
  43.  /*****************************************************************************/
  44.  typedef struct _DFM_NAME_MAP_CB         /* DFM/2 name mapping control block  */
  45.  {
  46.    char           SrvClsName[9];         /* DFM server class of remote system */
  47.    char           LU_Name[9];            /* partner LU alias of target */
  48.    char           InFileName[256];       /* original directory or file name */
  49.    char           OutFileName[256];      /* mapped directory or file name */
  50.  } DFM_NAME_MAP_CB, *PDFM_NAME_MAP_CB;
  51.  
  52.  /*****************************************************************************/
  53.  /* Function prototypes for the DFM/2 Name Mapping Exits                      */
  54.  /*****************************************************************************/
  55.  void _System DFM_Map_to_Server(PDFM_NAME_MAP_CB);     /* from OS/2 to target */
  56.  void _System DFM_Map_to_Client(PDFM_NAME_MAP_CB);     /* from target to OS/2 */
  57.  
  58.  /*****************************************************************************/
  59.  /* Definitions for the values in SrvClsName                                  */
  60.  /*****************************************************************************/
  61.  #define SRVCLSNM_36      "Q36"     /* DDM file server on System/36 */
  62.  #define SRVCLSNM_38      "Q38"     /* DDM file server on System/38 */
  63.  #define SRVCLSNM_CICSDDM "QCICS"   /* CICS DDM file server on CICS/MVS 
  64.                                                            and CICS/VSE */
  65.  #define SRVCLSNM_OS400   "QAS"     /* DDM file server on OS/400 */
  66.  #define SRVCLSNM_MVS     "QMVS"    /* DDM file server on MVS */
  67.  #define SRVCLSNM_CMS     "QCMS"    /* DDM file server on VM/CMS (reserved) */
  68.  #define SRVCLSNM_PCS400  "QFS"     /* Enhanced PC Support/400 target server */
  69.  #define SRVCLSNM_OS4680  "Q4680"   /* DDM file server on a 4680 Store System */
  70.  
  71. #endif 
  72. /**** end of file *************************************************************/
  73.