1 /* 2 * PROJECT: Authentication Package DLL 3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) 4 * PURPOSE: NTLM globals definitions (header) 5 * COPYRIGHT: Copyright 2011 Samuel Serapión 6 * Copyright 2020 Andreas Maier <staubim@quantentunnel.de> 7 */ 8 9 #pragma once 10 11 /* functions provided by LSA in SpInitialize */ 12 extern PLSA_SECPKG_FUNCTION_TABLE LsaFunctions; 13 /* functions we provide to LSA in SpLsaModeInitialize */ 14 extern SECPKG_FUNCTION_TABLE NtlmLsaFn[1]; 15 /* functions provided by LSA in SpInstanceInit */ 16 extern PSECPKG_DLL_FUNCTIONS UsrFunctions; 17 /* functions we provide to LSA in SpUserModeInitialize */ 18 extern SECPKG_USER_FUNCTION_TABLE NtlmUsrFn[1]; 19 20 extern LSA_DISPATCH_TABLE DispatchTable; 21 22 typedef enum _NTLM_MODE 23 { 24 NtlmUnknownMode = 0, 25 NtlmLsaMode = 1, 26 NtlmUserMode 27 } NTLM_MODE, *PNTLM_MODE; 28 29 extern NTLM_MODE NtlmMode; 30