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.

39 lines
856 B

  1. #include "hierarchy.h"
  2. class MR2P_Request : public P3PRequest {
  3. public:
  4. MR2P_Request(P3PResource *pResource,
  5. P3PURL pszPolicy, unsigned long dwSize,
  6. P3PSignal *pSignal);
  7. ~MR2P_Request();
  8. virtual int execute();
  9. /* function invoked by CreateThread --
  10. for running requests in another thread */
  11. static unsigned long __stdcall ExecRequest(void *pv);
  12. protected:
  13. bool tryPolicyRef(P3PCURL pszPolicyRef, P3PCURL pszReferrer=NULL);
  14. private:
  15. // Request parameters
  16. P3PResource *pResource;
  17. unsigned long dwLength;
  18. // Out parameters
  19. P3PURL pszPolicyOut;
  20. // Internal state of the request
  21. int cTries;
  22. P3PResource **ppPriorityOrder;
  23. P3PResource *pLookupContext;
  24. P3PCURL pszPolicyInEffect;
  25. HANDLE hPrimaryIO;
  26. };