home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / os2hdr.exe / NWDSASA.H < prev    next >
Text File  |  1993-06-24  |  2KB  |  92 lines

  1. /****************************************************************************
  2.  *
  3.  * (C) Unpublished Copyright of Novell, Inc.  All Rights Reserved.
  4.  *
  5.  * No part of this file may be duplicated, revised, translated, localized
  6.  * or modified in any manner or compiled, linked or uploaded or downloaded
  7.  * to or from any computer system without the prior written permission of
  8.  * Novell, Inc.
  9.  *
  10.  ****************************************************************************/
  11. #ifndef    _NWDSASA_HEADER_
  12. #define    _NWDSASA_HEADER_
  13.  
  14. #ifndef __NWDSTYPE_H
  15. #include <nwdstype.h>
  16. #endif
  17.  
  18. #ifndef    _NWDSDC_HEADER_
  19. #include "nwdsdc.h"        /* for NWDSContextHandle typedef    */
  20. #endif
  21.  
  22. #ifndef NWCONNECT_INC
  23. #include "nwconnec.h"
  24. #endif
  25.  
  26. #define SESSION_KEY_SIZE    16
  27. typedef    uint8    NWDS_Session_Key_T[SESSION_KEY_SIZE];    /* Optional session key */
  28.  
  29. #define    GENERATE_CERTIFICATION_KP_F            1
  30.  
  31. #ifdef MACINTOSH
  32. #include "nwcaldef.h"
  33. #endif
  34.  
  35. #ifdef __cplusplus
  36. extern "C" {
  37. #endif
  38.  
  39. NWDSCCODE NWAPI  NWDSAuthenticate
  40. (
  41.     NWCONN_HANDLE        conn,
  42.     uint32                optionsFlag, 
  43.     NWDS_Session_Key_T NWPTR sessionKey
  44. );
  45.  
  46. NWDSCCODE NWAPI  NWDSChangeObjectPassword
  47. (
  48.     NWDSContextHandle context, 
  49.     uint32 optionsFlag, 
  50.     char NWPTR objectName, 
  51.     char NWPTR oldPassword,
  52.     char NWPTR newPassword
  53. );
  54.  
  55. NWDSCCODE NWAPI  NWDSGenerateObjectKeyPair
  56. (
  57.     NWDSContextHandle    contextHandle,
  58.     char        NWPTR objectName,
  59.     char        NWPTR objectPassword,
  60.     uint32    optionsFlag
  61. );
  62.  
  63. NWDSCCODE NWAPI  NWDSLogin
  64. (
  65.     NWDSContextHandle    context, 
  66.     uint32    optionsFlag, 
  67.     char NWPTR objectName, 
  68.     char NWPTR password,
  69.     uint32 validityPeriod
  70. );
  71.  
  72. NWDSCCODE NWAPI  NWDSLogout
  73. (
  74.     NWDSContextHandle    context
  75. );
  76.  
  77. NWDSCCODE NWAPI  NWDSVerifyObjectPassword
  78. (
  79.     NWDSContextHandle context, 
  80.     uint32 optionsFlag,
  81.     char NWPTR objectName,
  82.     char NWPTR password
  83. );
  84.  
  85. #ifdef __cplusplus
  86. }
  87. #endif
  88.  
  89. #endif
  90.  
  91. 
  92.