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.

29 lines
622 B

  1. #include "hierarchy.h"
  2. #include "xmlwrapper.h"
  3. class Policy_Request : public P3PRequest {
  4. public:
  5. Policy_Request(P3PCURL pszPolicyID, HANDLE hDest, P3PCXSL pszXSLtransform=NULL, P3PSignal *pSignal=NULL);
  6. ~Policy_Request();
  7. virtual int execute();
  8. private:
  9. // Request parameters
  10. P3PURL pszPolicyID;
  11. P3PCXSL pwszStyleSheet;
  12. HANDLE hDestination;
  13. // Derived from policy-ID
  14. P3PURL pszInlineName;
  15. // State of the request
  16. HANDLE hPrimaryIO;
  17. /* Helper function */
  18. static bool policyExpired(IXMLDOMDocument *pDocument, const char *pszPolicyURL);
  19. };