mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
727 B
45 lines
727 B
|
|
#ifndef __COMMON_H__
|
|
#define __COMMON_H__
|
|
|
|
//+-----------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (c) Microsoft Corporation 2000
|
|
//
|
|
// File: common.cxx
|
|
//
|
|
// Contents: Shared SSPI code
|
|
//
|
|
//
|
|
// History: 11-March-2000 Created Todds
|
|
//
|
|
//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
typedef enum _SSP_STATE {
|
|
SspLsaMode = 1,
|
|
SspUserMode
|
|
} SSP_STATE, *PSSP_STATE;
|
|
|
|
// point at SSP global call state for use in allocations
|
|
#ifdef MSV_SSP
|
|
EXTERN PSSP_STATE pSspState = (PSSP_STATE) NtLmState;
|
|
#endif
|
|
|
|
#ifdef KERB_SSP
|
|
EXTERN PSSP_STATE pSspState = (PSSP_STATE) KerberosState;
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|