home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / CONFIG.H < prev    next >
C/C++ Source or Header  |  1999-04-29  |  5KB  |  116 lines

  1. /**************************************************************************/
  2. /*                                                                        */
  3. /*              IBM OS/2(tm) Local Area Network (LAN) Server              */
  4. /*                            Version 5.03                                */
  5. /*                   (C) Copyright IBM Corp. 1988, 1998                   */
  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. #ifndef NETCONFIG_INCLUDED
  21.  
  22. #define NETCONFIG_INCLUDED
  23.  
  24. #ifdef  ANY_32_BIT
  25. #pragma pack(1)
  26. #endif
  27.  
  28. /****************************************************************
  29.  *                                                              *
  30.  *              Function prototypes                             *
  31.  *                                                              *
  32.  ****************************************************************/
  33.  
  34. extern API_FUNCTION
  35.   NetConfigGet ( const unsigned char LSFAR *     pszComponent,
  36.                  const unsigned char LSFAR *     pszParameter,
  37.                  unsigned char LSFAR *           pbBuffer,
  38.                  unsigned short                  usBuffer,
  39.                  unsigned short LSFAR *          pusParmlen );
  40.  
  41. extern API_FUNCTION
  42.   NetConfigGetAll ( const unsigned char LSFAR *     pszComponent,
  43.                     unsigned char LSFAR *           pbBuffer,
  44.                     unsigned short                  usBuffer,
  45.                     unsigned short LSFAR *          pusReturned,
  46.                     unsigned short LSFAR *          pusTotalAvail );
  47.  
  48. extern API_FUNCTION
  49.   NetConfigGet2 ( const unsigned char LSFAR *     pszServer,
  50.                   const unsigned char LSFAR *     pszReserved,
  51.                   const unsigned char LSFAR *     pszComponent,
  52.                   const unsigned char LSFAR *     pszParameter,
  53.                   const unsigned char LSFAR *     pbBuffer,
  54.                   unsigned short                  usBuffer,
  55.                   unsigned short LSFAR *          pusParmlen );
  56.  
  57. extern API_FUNCTION
  58.   NetConfigGetAll2 ( const unsigned char LSFAR *     pszServer,
  59.                      const unsigned char LSFAR *     pszReserved,
  60.                      const unsigned char LSFAR *     pszComponent,
  61.                      unsigned char LSFAR *           pbBuffer,
  62.                      unsigned short                  usBuffer,
  63.                      unsigned short LSFAR *          pusReturned,
  64.                      unsigned short LSFAR *          pusTotalAvail );
  65.  
  66.  
  67. #ifdef PURE_32
  68. /****************************************************************
  69.  *                                                              *
  70.  *       Function prototypes for "pure" 32-bit code             *
  71.  *                                                              *
  72.  ****************************************************************/
  73.  
  74. extern API32_FUNCTION
  75.   Net32ConfigGet2 ( const unsigned char * pszServer,
  76.                     const unsigned char * pszReserved,
  77.                     const unsigned char * pszComponent,
  78.                     const unsigned char * pszParameter,
  79.                     const unsigned char * pbBuffer,
  80.                     unsigned long         ulBuffer,
  81.                     unsigned long       * pulParmlen );
  82.  
  83. extern API32_FUNCTION
  84.   Net32ConfigGetAll2 ( const unsigned char * pszServer,
  85.                        const unsigned char * pszReserved,
  86.                        const unsigned char * pszComponent,
  87.                        unsigned char       * pbBuffer,
  88.                        unsigned long         ulBuffer,
  89.                        unsigned long       * pulReturned,
  90.                        unsigned long       * pulTotalAvail );
  91.  
  92. extern ULONG _System
  93.   Net32ConfigSet (PCHAR,      /* server, must be NULL      */
  94.                   PCHAR,      /* reserved, must be NULL    */
  95.                   PCHAR,      /* component                 */
  96.                   ULONG,      /* level, must be 0          */
  97.                   ULONG,      /* reserved, must be 0       */
  98.                   PCHAR,      /* buffer                    */
  99.                   ULONG,      /* buflen                    */
  100.                   ULONG);     /* reserved, must be 0       */
  101.  
  102.   struct config_info_0
  103.      {
  104.       char     * Key;
  105.       char     * Data;
  106.      };
  107. #endif /* PURE_32 */
  108.  
  109.  
  110.  
  111. #ifdef ANY_32_BIT
  112. #pragma pack()
  113. #endif
  114.  
  115. #endif /* NETCONFIG_INCLUDED */
  116.