Leaked source code of windows server 2003
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.
 
 
 
 
 
 

89 lines
1.4 KiB

typedef struct _mmauthstate {
GUID gMMAuthID;
BOOL bInSPD;
DWORD dwErrorCode;
struct _mmauthstate * pNext;
} MMAUTHSTATE, * PMMAUTHSTATE;
DWORD
PAAddMMAuthMethods(
PIPSEC_NFA_DATA * ppIpsecNFAData,
DWORD dwNumNFACount,
DWORD dwSource
);
DWORD
PACreateMMAuthState(
PIPSEC_NFA_DATA pIpsecNFAData,
PMMAUTHSTATE * ppMMAuthState
);
DWORD
PACreateMMAuthMethods(
PIPSEC_NFA_DATA pIpsecNFAData,
PINT_MM_AUTH_METHODS * ppSPDMMAuthMethods
);
DWORD
PACreateMMAuthInfos(
DWORD dwAuthMethodCount,
PIPSEC_AUTH_METHOD * ppAuthMethods,
PDWORD pdwNumAuthInfos,
PINT_IPSEC_MM_AUTH_INFO * ppAuthenticationInfo
);
VOID
PAFreeMMAuthMethods(
PINT_MM_AUTH_METHODS pSPDMMAuthMethods
);
VOID
PAFreeMMAuthInfos(
DWORD dwNumAuthInfos,
PINT_IPSEC_MM_AUTH_INFO pAuthenticationInfo
);
DWORD
PADeleteAllMMAuthMethods(
);
VOID
PAFreeMMAuthStateList(
PMMAUTHSTATE pMMAuthState
);
PMMAUTHSTATE
FindMMAuthState(
GUID gMMAuthID
);
DWORD
PADeleteMMAuthMethods(
PIPSEC_NFA_DATA * ppIpsecNFAData,
DWORD dwNumNFACount
);
DWORD
PADeleteMMAuthMethod(
GUID gMMAuthID
);
VOID
PADeleteMMAuthState(
PMMAUTHSTATE pMMAuthState
);
DWORD
PADeleteInUseMMAuthMethods(
);
DWORD
EncodeName(
LPWSTR pszSubjectName,
PBYTE * ppEncodedName,
PDWORD pdwEncodedLength
);