home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / os232.exe / INCLUDE / NWDSMISC.H < prev    next >
C/C++ Source or Header  |  1995-06-15  |  4KB  |  193 lines

  1. /******************************************************************************
  2.  
  3.   $Workfile:   nwdsmisc.h  $
  4.   $Revision:   1.10  $
  5.   $Modtime::   15 Jun 1995 15:52:38                        $
  6.   $Copyright:
  7.  
  8.   Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
  9.  
  10.   THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
  11.   TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
  12.   COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
  13.   EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
  14.   WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
  15.   OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
  16.   CRIMINAL AND CIVIL LIABILITY.$
  17.  
  18.  *****************************************************************************/
  19. #if ! defined ( NWDSMISC_H )
  20. #define NWDSMISC_H
  21.  
  22. #if ! defined ( NTYPES_H )
  23. #include "ntypes.h"
  24. #endif
  25.  
  26. #if ! defined ( NWCALDEF_H )
  27. #include "nwcaldef.h"
  28. #endif
  29.  
  30. #if ! defined ( NWDSBUFT_H )
  31. #include "nwdsbuft.h"
  32. #endif
  33.  
  34. #if ! defined ( UNICODE_H )
  35. #include "unicode.h"
  36. #endif
  37.  
  38. #include "npackon.h"
  39.  
  40. #define DS_SYNTAX_NAMES    0
  41. #define DS_SYNTAX_DEFS     1
  42.  
  43. #define DS_STRING             0x0001   /* string, can be used in names */
  44. #define DS_SINGLE_VALUED      0x0002
  45. #define DS_SUPPORTS_ORDER     0x0004
  46. #define DS_SUPPORTS_EQUAL     0x0008
  47. #define DS_IGNORE_CASE        0x0010   /* Ignore case          */
  48. #define DS_IGNORE_SPACE       0x0020   /* Ignore white space   */
  49. #define DS_IGNORE_DASH        0x0040   /* Ignore dashes        */
  50. #define DS_ONLY_DIGITS        0x0080
  51. #define DS_ONLY_PRINTABLE     0x0100
  52. #define DS_SIZEABLE           0x0200
  53.  
  54. #ifdef __cplusplus
  55.    extern "C" {
  56. #endif
  57.  
  58. NWDSCCODE N_API NWDSCloseIteration
  59. (
  60.    NWDSContextHandle context,
  61.    nint32            iterationHandle,
  62.    nuint32           operation
  63. );
  64.  
  65. NWDSCCODE N_API NWDSGetSyntaxID
  66. (
  67.    NWDSContextHandle context,
  68.    pnstr8            attrName,
  69.    pnuint32          syntaxID
  70. );
  71.  
  72. NWDSCCODE N_API NWDSReadSyntaxes
  73. (
  74.    NWDSContextHandle context,
  75.    nuint32           infoType,
  76.    nbool8            allSyntaxes,
  77.    pBuf_T            syntaxNames,
  78.    pnint32           iterationHandle,
  79.    pBuf_T            syntaxDefs
  80. );
  81.  
  82. NWDSCCODE N_API NWDSReadSyntaxDef
  83. (
  84.    NWDSContextHandle context,
  85.    nuint32           syntaxID,
  86.    pSyntax_Info_T    syntaxDef
  87. );
  88.  
  89. NWDSCCODE N_API NWDSReplaceAttrNameAbbrev
  90. (
  91.    NWDSContextHandle context,
  92.    pnstr8            inStr,
  93.    pnstr8            outStr
  94. );
  95.  
  96. NWDSCCODE N_API NWDSGetObjectHostServerAddress
  97. (
  98.    NWDSContextHandle context,
  99.    pnstr8            objectName,
  100.    pnstr8            serverName,
  101.    pBuf_T            netAddresses
  102. );
  103.  
  104. void N_API NWGetNWNetVersion
  105. (
  106.    pnuint8 majorVersion,
  107.    pnuint8 minorVersion,
  108.    pnuint8 revisionLevel,
  109.    pnuint8 betaReleaseLevel
  110. );
  111.  
  112. NWDSCCODE N_API NWIsDSServer
  113. (
  114.    NWCONN_HANDLE  conn,
  115.    pnstr8         treeName
  116. );
  117.  
  118. NWDSCCODE N_API NWDSGetBinderyContext
  119. (
  120.    NWDSContextHandle context,
  121.    NWCONN_HANDLE     conn,
  122.    pnuint8           BinderyEmulationContext
  123. );
  124.  
  125. NWDSCCODE N_API NWDSRepairTimeStamps
  126. (
  127.    NWDSContextHandle context,
  128.    pnstr8            partitionRoot
  129. );
  130.  
  131. nint N_API NWGetFileServerUTCTime
  132. (
  133.    NWCONN_HANDLE  conn,
  134.    pnuint32       time
  135. );
  136.  
  137.  
  138. NWDSCCODE N_API NWDSGetDSVerInfo
  139. (
  140.    NWCONN_HANDLE  conn,
  141.    pnuint32       dsVersion,
  142.    pnuint32       rootMostEntryDepth,
  143.    pnstr8         sapName,
  144.    pnuint32       flags,
  145.    punicode       treeName
  146. );
  147.  
  148. N_GLOBAL_LIBRARY (NWDSCCODE)
  149. NWDSConnectToNDSServer
  150. (
  151.    NWDSContextHandle    context,
  152.    pnstr8               serverName,
  153.    nbool                authFlag,
  154.    NWCONN_HANDLE  N_FAR *conn
  155. );
  156.  
  157. N_GLOBAL_LIBRARY (NWDSCCODE)
  158. NWDSSyncReplicaToServer
  159. (
  160.    NWDSContextHandle context,
  161.    pnstr8            serverName,
  162.    pnstr8            partitionRootName,
  163.    pnstr8            destServerName,
  164.    nuint32           actionFlags,
  165.    nuint32           delaySeconds
  166. );
  167.  
  168. N_GLOBAL_LIBRARY (NWDSCCODE)
  169. NWDSReloadDS
  170. (
  171.    NWDSContextHandle context,
  172.    pnstr8            serverName
  173. );
  174.  
  175. NWDSCCODE N_API NWNetInit
  176. (
  177.    nptr  in,
  178.    nptr  out
  179. );
  180.  
  181. NWDSCCODE N_API NWNetTerm
  182. (
  183.    void
  184. );
  185.  
  186.  
  187. #ifdef __cplusplus
  188.    }
  189. #endif
  190.  
  191. #include "npackoff.h"
  192. #endif
  193.