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.

99 lines
2.7 KiB

  1. /****************************************************************************
  2. *
  3. * $Archive: S:/STURGEON/SRC/CALLCONT/VCS/gkiman.h_v $
  4. *
  5. * INTEL Corporation Prorietary Information
  6. *
  7. * This listing is supplied under the terms of a license agreement
  8. * with INTEL Corporation and may not be copied nor disclosed except
  9. * in accordance with the terms of that agreement.
  10. *
  11. * Copyright (c) 1996 Intel Corporation.
  12. *
  13. * $Revision: 1.19.1.0 $
  14. * $Date: 23 Jun 1997 15:58:04 $
  15. * $Author: MANDREWS $
  16. *
  17. * Deliverable:
  18. *
  19. * Abstract:
  20. *
  21. * Notes:
  22. *
  23. ***************************************************************************/
  24. #ifdef GATEKEEPER
  25. #ifndef GKIMAN_H
  26. #define GKIMAN_H
  27. typedef enum _CHANNELTYPE
  28. {
  29. TX,
  30. RX
  31. } CHANNELTYPE;
  32. typedef struct _BWREQ
  33. {
  34. struct _BWREQ * pNext;
  35. unsigned int uChannelBandwidth;
  36. DWORD hChannel;
  37. CHANNELTYPE Type;
  38. } BWREQ, *PBWREQ;
  39. typedef enum _CALLTYPE
  40. {
  41. POINT_TO_POINT = 1,
  42. ONE_TO_MANY,
  43. MANY_TO_ONE,
  44. MANY_TO_MANY
  45. } CALLTYPE;
  46. typedef struct _GKICALL
  47. {
  48. struct _GKICALL * pNext;
  49. struct _BWREQ * pBwReqHead;
  50. struct _BWREQ * pBwReqTail;
  51. unsigned int uGkiCallState;
  52. #define GCS_START 0
  53. #define GCS_WAITING 1
  54. #define GCS_ADMITTING 2
  55. #define GCS_ADMITTING_CLOSE_PENDING 3
  56. #define GCS_ADMITTED 4
  57. #define GCS_CHANGING 5
  58. #define GCS_CHANGING_CLOSE_PENDING 6
  59. #define GCS_DISENGAGING 7
  60. void * pCall;
  61. CALLTYPE CallType;
  62. unsigned int uBandwidthRequested;
  63. unsigned int uBandwidthAllocated;
  64. unsigned int uBandwidthUsed;
  65. unsigned char *pConferenceId;
  66. BOOL bConferenceIdPresent;
  67. BOOL bActiveMC;
  68. BOOL bAnswerCall;
  69. BOOL bGatekeeperRouted;
  70. HANDLE hGkiCall;
  71. DWORD hCall;
  72. DWORD dwSrcCallSignalIpAddress;
  73. unsigned short wSrcCallSignalPort;
  74. DWORD dwIpAddress;
  75. unsigned short wPort;
  76. unsigned short usCallModelChoice;
  77. unsigned short usCallTypeChoice;
  78. unsigned short usCRV;
  79. PCC_ALIASNAMES pCalleeAliasNames;
  80. PCC_ALIASNAMES pCalleeExtraAliasNames;
  81. } GKICALL, *PGKICALL, **PPGKICALL;
  82. HRESULT GkiOpenListen (DWORD hListen, PCC_ALIASNAMES pAliasNames, DWORD dwAddr, WORD wPort);
  83. HRESULT GkiCloseListen (DWORD hListen);
  84. HRESULT GkiOpenCall (PGKICALL pGkiCall, void *pConference);
  85. HRESULT GkiCloseCall (PGKICALL pGkiCall);
  86. HRESULT GkiFreeCall (PGKICALL pGkiCall);
  87. HRESULT GkiOpenChannel (PGKICALL pGkiCall, unsigned uChannelBandwidth, DWORD hChannel, CHANNELTYPE Type);
  88. HRESULT GkiCloseChannel(PGKICALL pGkiCall, unsigned uChannelBandwidth, DWORD hChannel);
  89. #endif // GKIMAN_H
  90. #endif // GATEKEEPER