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

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