Source code of Windows XP (NT5)
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.

76 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. httpconnp.h
  5. Abstract:
  6. This module contains private declarations for manipulation of
  7. HTTP_CONNECTION objects.
  8. Author:
  9. Eric Stenson (ericsten) 01-Nov-2000
  10. Revision History:
  11. --*/
  12. #ifndef __HTTPCONNP_H__
  13. #define __HTTPCONNP_H__
  14. //
  15. // private types
  16. //
  17. //
  18. // for binding connections to app pool processes
  19. //
  20. #define IS_VALID_PROC_BINDING(pObject) \
  21. (((pObject) != NULL) && ((pObject)->Signature == UL_APOOL_PROC_BINDING_POOL_TAG))
  22. typedef struct _UL_APOOL_PROC_BINDING
  23. {
  24. ULONG Signature; // UL_APOOL_PROC_BINDING_POOL_TAG
  25. LIST_ENTRY BindingEntry;
  26. PUL_APP_POOL_OBJECT pAppPool;
  27. PUL_APP_POOL_PROCESS pProcess;
  28. } UL_APOOL_PROC_BINDING, *PUL_APOOL_PROC_BINDING;
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif // __cplusplus
  32. //
  33. // Private prototypes.
  34. //
  35. PUL_APOOL_PROC_BINDING
  36. UlpCreateProcBinding(
  37. IN PUL_APP_POOL_OBJECT pAppPool,
  38. IN PUL_APP_POOL_PROCESS pProcess
  39. );
  40. VOID
  41. UlpFreeProcBinding(
  42. IN PUL_APOOL_PROC_BINDING pBinding
  43. );
  44. PUL_APOOL_PROC_BINDING
  45. UlpFindProcBinding(
  46. IN PUL_HTTP_CONNECTION pHttpConnection,
  47. IN PUL_APP_POOL_OBJECT pAppPool
  48. );
  49. #ifdef __cplusplus
  50. }; // extern "C"
  51. #endif // __cplusplus
  52. #endif // __HTTPCONNP_H__