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.
 
 
 
 
 
 

149 lines
2.4 KiB

typedef struct _iniqmpolicy {
GUID gPolicyID;
LPWSTR pszPolicyName;
DWORD cRef;
DWORD dwSource;
DWORD dwFlags;
DWORD dwReserved;
DWORD dwOfferCount;
PIPSEC_QM_OFFER pOffers;
struct _iniqmpolicy * pNext;
} INIQMPOLICY, * PINIQMPOLICY;
DWORD
AddQMPolicyInternal(
LPWSTR pServerName,
DWORD dwVersion,
DWORD dwFlags,
DWORD dwSource,
PIPSEC_QM_POLICY pQMPolicy,
LPVOID pvReserved
);
DWORD
CreateIniQMPolicy(
PIPSEC_QM_POLICY pQMPolicy,
PINIQMPOLICY * ppIniQMPolicy
);
DWORD
ValidateQMPolicy(
PIPSEC_QM_POLICY pQMPolicy
);
DWORD
ValidateQMOffers(
DWORD dwOfferCount,
PIPSEC_QM_OFFER pOffers
);
DWORD
ValidateQMOffer(
PIPSEC_QM_OFFER pOffer,
BOOL *pbInitGroup,
LPDWORD pdwPFSGroup
);
PINIQMPOLICY
FindQMPolicy(
PINIQMPOLICY pIniQMPolicyList,
LPWSTR pszPolicyName
);
VOID
FreeIniQMPolicy(
PINIQMPOLICY pIniQMPolicy
);
VOID
FreeIniQMOffers(
DWORD dwOfferCount,
PIPSEC_QM_OFFER pOffers
);
DWORD
CreateIniQMOffers(
DWORD dwInOfferCount,
PIPSEC_QM_OFFER pInOffers,
PDWORD pdwOfferCount,
PIPSEC_QM_OFFER * ppOffers
);
DWORD
SetIniQMPolicy(
PINIQMPOLICY pIniQMPolicy,
PIPSEC_QM_POLICY pQMPolicy
);
DWORD
GetIniQMPolicy(
DWORD dwFlags,
PINIQMPOLICY pIniQMPolicy,
PIPSEC_QM_POLICY * ppQMPolicy
);
DWORD
CopyQMPolicy(
DWORD dwFlags,
PINIQMPOLICY pIniQMPolicy,
PIPSEC_QM_POLICY pQMPolicy
);
DWORD
CreateQMOffers(
DWORD dwInOfferCount,
PIPSEC_QM_OFFER pInOffers,
PDWORD pdwOfferCount,
PIPSEC_QM_OFFER * ppOffers
);
DWORD
DeleteIniQMPolicy(
PINIQMPOLICY pIniQMPolicy
);
VOID
FreeQMOffers(
DWORD dwOfferCount,
PIPSEC_QM_OFFER pOffers
);
VOID
FreeIniQMPolicyList(
PINIQMPOLICY pIniQMPolicyList
);
PINIQMPOLICY
FindQMPolicyByGuid(
PINIQMPOLICY pIniQMPolicyList,
GUID gPolicyID
);
VOID
FreeQMPolicies(
DWORD dwNumQMPolicies,
PIPSEC_QM_POLICY pQMPolicies
);
DWORD
LocateQMPolicy(
DWORD dwFlags,
GUID gPolicyID,
PINIQMPOLICY * ppIniQMPolicy
);
DWORD
CreateNonAHQMOffers(
DWORD dwInOfferCount,
PIPSEC_QM_OFFER pInOffers,
PDWORD pdwOfferCount,
PIPSEC_QM_OFFER * ppOffers
);
BOOL
IsAHQMOffer(
PIPSEC_QM_OFFER pIpsecQMOffer
);