home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dsstlkt5.zip / dssos2tk / dss / CONFIG.H < prev    next >
C/C++ Source or Header  |  1998-05-08  |  5KB  |  109 lines

  1. /**************************************************************************/
  2. /*                                                                        */
  3. /*              IBM OS/2(tm) Directory and Security Services (DSS)        */
  4. /*                            Version 5.0                                 */
  5. /*                   (C) Copyright IBM Corp. 1995                         */
  6. /*                  Licensed Materials - Property of IBM                  */
  7. /*                                                                        */
  8. /**************************************************************************/
  9. /********************************************************************/
  10.  
  11. /********************************************************************
  12.  *                                    *
  13.  *  About this file ...  CONFIG.H                    *
  14.  *                                    *
  15.  *  This file contains information about the NetConfig APIs.        *
  16.  *                                    *
  17.  ********************************************************************/
  18.  
  19.  
  20. #ifdef  ANY_32_BIT
  21. #pragma pack(1)
  22. #endif
  23.  
  24.  
  25. #ifndef NETCONFIG_INCLUDED
  26.  
  27. #define NETCONFIG_INCLUDED
  28.  
  29.  
  30. /****************************************************************
  31.  *                                                              *
  32.  *              Function prototypes                             *
  33.  *                                                              *
  34.  ****************************************************************/
  35.  
  36. extern API_FUNCTION
  37.   NetConfigGet ( const unsigned char LSFAR *     pszComponent,
  38.                  const unsigned char LSFAR *     pszParameter,
  39.                  unsigned char LSFAR *           pbBuffer,
  40.                  unsigned short                  usBuffer,
  41.                  unsigned short LSFAR *          pusParmlen );
  42.  
  43. extern API_FUNCTION
  44.   NetConfigGetAll ( const unsigned char LSFAR *     pszComponent,
  45.                     unsigned char LSFAR *           pbBuffer,
  46.                     unsigned short                  usBuffer,
  47.                     unsigned short LSFAR *          pusReturned,
  48.                     unsigned short LSFAR *          pusTotalAvail );
  49.  
  50. extern API_FUNCTION
  51.   NetConfigGet2 ( const unsigned char LSFAR *     pszServer,
  52.                   const unsigned char LSFAR *     pszReserved,
  53.                   const unsigned char LSFAR *     pszComponent,
  54.                   const unsigned char LSFAR *     pszParameter,
  55.                   const unsigned char LSFAR *     pbBuffer,
  56.                   unsigned short                  usBuffer,
  57.                   unsigned short LSFAR *          pusParmlen );
  58.  
  59. extern API_FUNCTION
  60.   NetConfigGetAll2 ( const unsigned char LSFAR *     pszServer,
  61.                      const unsigned char LSFAR *     pszReserved,
  62.                      const unsigned char LSFAR *     pszComponent,
  63.                      unsigned char LSFAR *           pbBuffer,
  64.                      unsigned short                  usBuffer,
  65.                      unsigned short LSFAR *          pusReturned,
  66.                      unsigned short LSFAR *          pusTotalAvail );
  67.  
  68. /* -------------------- Begin F2359 --------------------- */
  69.  
  70. #ifdef PURE_32
  71. /****************************************************************
  72.  *                                                              *
  73.  *       Function prototypes for "pure" 32-bit code             *
  74.  *                                                              *
  75.  ****************************************************************/
  76.  
  77. extern API32_FUNCTION
  78.   Net32ConfigGet2 ( const unsigned char * pszServer,
  79.                     const unsigned char * pszReserved,
  80.                     const unsigned char * pszComponent,
  81.                     const unsigned char * pszParameter,
  82.                     const unsigned char * pbBuffer,
  83.                     unsigned long         ulBuffer,
  84.                     unsigned long       * pulParmlen );
  85.  
  86. extern API32_FUNCTION
  87.   Net32ConfigGetAll2 ( const unsigned char * pszServer,
  88.                        const unsigned char * pszReserved,
  89.                        const unsigned char * pszComponent,
  90.                        unsigned char       * pbBuffer,
  91.                        unsigned long         ulBuffer,
  92.                        unsigned long       * pulReturned,
  93.                        unsigned long       * pulTotalAvail );
  94. #endif /* PURE_32 */
  95.  
  96. /* --------------------  End  F2359 --------------------- */
  97.  
  98.  
  99. #endif /* NETCONFIG_INCLUDED */
  100.  
  101. #ifdef ANY_32_BIT
  102. /*#pragma linkage (NetConfigGet, far16 pascal) */
  103. /*#pragma linkage (NetConfigGetAll, far16 pascal) */
  104. /*#pragma linkage (NetConfigGet2, far16 pascal) */
  105. /*#pragma linkage (NetConfigGetAll2, far16 pascal) */
  106. #pragma pack()
  107. #endif
  108.  
  109.