home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0210 - 0219 / ibm0210-0219 / ibm0213.tar / ibm0213 / LS4APWAD.ZIP / LS40A.A12 / IBMLSA / IBM400R2 / OSLANAPI.ZIP / IBMLAN / NETSRC / H / CONFIG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-10  |  4.6 KB  |  107 lines

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