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.

211 lines
9.8 KiB

  1. #ifndef _GK_ASN1_H_
  2. #define _GK_ASN1_H_
  3. #include "av_asn1.h"
  4. #include "gkpdu.h"
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. // GatekeeperInfo, H310Caps, H320Caps, H321Caps, H322Caps, H323Caps, H324Caps, VoiceCaps, T120OnlyCaps, McuInfo, TerminalInfo
  9. #define GtkprInf_nnStndrdDt_present GatekeeperInfo_nonStandardData_present
  10. #define GtkprInf_nnStndrdDt nonStandardData
  11. // GatewayInfo
  12. #define GtwyInf_nonStandardData_present GatewayInfo_nonStandardData_present
  13. #define GtwyInf_nonStandardData nonStandardData
  14. #define _seqof2 GatewayInfo_protocol
  15. // EndpointType
  16. #define EndpntTyp_nnStndrdDt_present EndpointType_nonStandardData_present
  17. #define EndpntTyp_nnStndrdDt nonStandardData
  18. // GatekeeperRequest
  19. #define GtkprRqst_nnStndrdDt_present GatekeeperRequest_nonStandardData_present
  20. #define GtkprRqst_gtkprIdntfr_present GatekeeperRequest_gatekeeperIdentifier_present
  21. #define GtkprRqst_callServices_present GatekeeperRequest_callServices_present
  22. #define GtkprRqst_endpointAlias_present GatekeeperRequest_endpointAlias_present
  23. #define GtkprRqst_nnStndrdDt nonStandardData
  24. #define GtkprRqst_gtkprIdntfr gatekeeperIdentifier
  25. #define GtkprRqst_callServices callServices
  26. #define GtkprRqst_endpointAlias endpointAlias
  27. #define _seqof3 GatekeeperRequest_endpointAlias
  28. // GatekeeperConfirm
  29. #define GtkprCnfrm_nnStndrdDt_present GatekeeperConfirm_nonStandardData_present
  30. #define GtkprCnfrm_gtkprIdntfr_present GatekeeperConfirm_gatekeeperIdentifier_present
  31. #define GtkprCnfrm_nnStndrdDt nonStandardData
  32. #define GtkprCnfrm_gtkprIdntfr gatekeeperIdentifier
  33. // GatekeeperRejectReason
  34. #define GtkprRjctRsn_rsrcUnvlbl_chosen GatekeeperRejectReason_resourceUnavailable_chosen
  35. #define GtkprRjctRsn_invldRvsn_chosen GatekeeperRejectReason_invalidRevision_chosen
  36. #define GtkprRjctRsn_undfndRsn_chosen GatekeeperRejectReason_undefinedReason_chosen
  37. // GatekeeperReject
  38. #define GtkprRjct_nnStndrdDt_present GatekeeperReject_nonStandardData_present
  39. #define GtkprRjct_gtkprIdntfr_present GatekeeperReject_gatekeeperIdentifier_present
  40. #define GtkprRjct_nnStndrdDt nonStandardData
  41. #define GtkprRjct_gtkprIdntfr gatekeeperIdentifier
  42. // RegistrationRequest
  43. #define RgstrtnRqst_nnStndrdDt_present RegistrationRequest_nonStandardData_present
  44. #define RgstrtnRqst_trmnlAls_present RegistrationRequest_terminalAlias_present
  45. #define RgstrtnRqst_gtkprIdntfr_present RegistrationRequest_gatekeeperIdentifier_present
  46. #define RgstrtnRqst_nnStndrdDt nonStandardData
  47. #define _seqof4 RegistrationRequest_callSignalAddress
  48. #define _seqof5 RegistrationRequest_rasAddress
  49. #define _seqof6 RegistrationRequest_terminalAlias
  50. #define RgstrtnRqst_trmnlAls terminalAlias
  51. #define RgstrtnRqst_gtkprIdntfr gatekeeperIdentifier
  52. // RegistrationConfirm
  53. #define RgstrtnCnfrm_nnStndrdDt_present RegistrationConfirm_nonStandardData_present
  54. #define RgstrtnCnfrm_trmnlAls_present RegistrationConfirm_terminalAlias_present
  55. #define RCm_gtkprIdntfr_present RegistrationConfirm_gatekeeperIdentifier_present
  56. #define RgstrtnCnfrm_nnStndrdDt nonStandardData
  57. #define _seqof7 RegistrationConfirm_callSignalAddress
  58. #define _seqof8 RegistrationConfirm_terminalAlias
  59. #define RgstrtnCnfrm_trmnlAls terminalAlias
  60. #define RCm_gtkprIdntfr gatekeeperIdentifier
  61. // RegistrationRejectReason
  62. #define RgstrtnRjctRsn_invldRvsn_chosen RegistrationRejectReason_invalidRevision_chosen
  63. #define RgstrtnRjctRsn_undfndRsn_chosen RegistrationRejectReason_undefinedReason_chosen
  64. #define _seqof9 RegistrationRejectReason_duplicateAlias
  65. // RegistrationReject
  66. #define RgstrtnRjct_nnStndrdDt_present RegistrationReject_nonStandardData_present
  67. #define RgstrtnRjct_gtkprIdntfr_present RegistrationReject_gatekeeperIdentifier_present
  68. #define RgstrtnRjct_nnStndrdDt nonStandardData
  69. #define RgstrtnRjct_gtkprIdntfr gatekeeperIdentifier
  70. // UnregistrationRequest
  71. #define UnrgstrtnRqst_endpntAls_present UnregistrationRequest_endpointAlias_present
  72. #define URt_nnStndrdDt_1_present UnregistrationRequest_nonStandardData_present
  73. #define URt_endpntIdntfr_present UnregistrationRequest_endpointIdentifier_present
  74. #define _seqof10 UnregistrationRequest_callSignalAddress
  75. #define _seqof11 UnregistrationRequest_endpointAlias
  76. #define UnrgstrtnRqst_endpntAls endpointAlias
  77. #define URt_nnStndrdDt_1 nonStandardData
  78. #define URt_endpntIdntfr endpointIdentifier
  79. // UnregistrationConfirm
  80. #define UCm_nnStndrdDt_present UnregistrationConfirm_nonStandardData_present
  81. #define UCm_nnStndrdDt nonStandardData
  82. // UnregRejectReason
  83. #define UnrgRjctRsn_undfndRsn_chosen UnregRejectReason_undefinedReason_chosen
  84. // UnregistrationReject
  85. #define URt_nnStndrdDt_2_present UnregistrationReject_nonStandardData_present
  86. #define URt_nnStndrdDt_2 nonStandardData
  87. // AdmissionRequest
  88. #define AdmssnRqst_nnStndrdDt_present AdmissionRequest_nonStandardData_present
  89. #define AdmssnRqst_callServices_present AdmissionRequest_callServices_present
  90. #define _seqof12 AdmissionRequest_destinationInfo
  91. #define _seqof13 AdmissionRequest_destExtraCallInfo
  92. #define _seqof14 AdmissionRequest_srcInfo
  93. #define AdmssnRqst_nnStndrdDt nonStandardData
  94. #define AdmssnRqst_callServices callServices
  95. // AdmissionConfirm
  96. #define AdmssnCnfrm_nnStndrdDt_present AdmissionConfirm_nonStandardData_present
  97. #define AdmssnCnfrm_nnStndrdDt nonStandardData
  98. // AdmissionRejectReason
  99. #define ARRn_invldPrmssn_chosen AdmissionRejectReason_invalidPermission_chosen
  100. #define AdmssnRjctRsn_rqstDnd_chosen AdmissionRejectReason_requestDenied_chosen
  101. #define AdmssnRjctRsn_undfndRsn_chosen AdmissionRejectReason_undefinedReason_chosen
  102. #define invldEndpntIdntfr_chosen invalidEndpointIdentifier_chosen
  103. #define AdmssnRjctRsn_rsrcUnvlbl_chosen AdmissionRejectReason_resourceUnavailable_chosen
  104. // AdmissionReject
  105. #define AdmssnRjct_nnStndrdDt_present AdmissionReject_nonStandardData_present
  106. #define AdmssnRjct_nnStndrdDt nonStandardData
  107. // BandwidthRequest
  108. #define BndwdthRqst_nnStndrdDt_present BandwidthRequest_nonStandardData_present
  109. #define BndwdthRqst_nnStndrdDt nonStandardData
  110. // BandwidthConfirm
  111. #define BndwdthCnfrm_nnStndrdDt_present BandwidthConfirm_nonStandardData_present
  112. #define BndwdthCnfrm_nnStndrdDt nonStandardData
  113. // BandRejectReason
  114. #define BndRjctRsn_invldPrmssn_chosen BandRejectReason_invalidPermission_chosen
  115. #define BndRjctRsn_invldRvsn_chosen BandRejectReason_invalidRevision_chosen
  116. #define BndRjctRsn_undfndRsn_chosen BandRejectReason_undefinedReason_chosen
  117. // BandwidthReject
  118. #define BndwdthRjct_nnStndrdDt_present BandwidthReject_nonStandardData_present
  119. #define BndwdthRjct_nnStndrdDt nonStandardData
  120. // DisengageReason
  121. #define DsnggRsn_undefinedReason_chosen DisengageReason_undefinedReason_chosen
  122. // DisengageRequest
  123. #define DsnggRqst_nnStndrdDt_present DisengageRequest_nonStandardData_present
  124. #define DsnggRqst_nnStndrdDt nonStandardData
  125. // DisengageConfirm
  126. // #define UCm_nnStndrdDt_present DisengageConfirm_nonStandardData_present
  127. #define UCm_nnStndrdDt nonStandardData
  128. // DisengageRejectReason
  129. #define DsnggRjctRsn_ntRgstrd_chosen DisengageRejectReason_notRegistered_chosen
  130. // DisengageReject
  131. #define DsnggRjct_nnStndrdDt_present DisengageReject_nonStandardData_present
  132. #define DsnggRjct_nnStndrdDt nonStandardData
  133. // LocationRequest
  134. #define LctnRqst_endpntIdntfr_present LocationRequest_endpointIdentifier_present
  135. #define LctnRqst_nnStndrdDt_present LocationRequest_nonStandardData_present
  136. #define LctnRqst_endpntIdntfr endpointIdentifier
  137. #define _seqof15 LocationRequest_destinationInfo
  138. #define LctnRqst_nnStndrdDt nonStandardData
  139. // LocationConfirm
  140. #define LctnCnfrm_nnStndrdDt_present LocationConfirm_nonStandardData_present
  141. #define LctnCnfrm_nnStndrdDt nonStandardData
  142. // LocationRejectReason
  143. #define LctnRjctRsn_ntRgstrd_chosen LocationRejectReason_notRegistered_chosen
  144. #define LctnRjctRsn_invldPrmssn_chosen LocationRejectReason_invalidPermission_chosen
  145. #define LctnRjctRsn_rqstDnd_chosen LocationRejectReason_requestDenied_chosen
  146. #define LctnRjctRsn_undfndRsn_chosen LocationRejectReason_undefinedReason_chosen
  147. // LocationReject
  148. #define LctnRjct_nnStndrdDt_present LocationReject_nonStandardData_present
  149. #define LctnRjct_nnStndrdDt nonStandardData
  150. // InfoRequest
  151. #define InfRqst_nonStandardData_present InfoRequest_nonStandardData_present
  152. #define InfRqst_nonStandardData nonStandardData
  153. // InfoRequestResponse
  154. #define InfRqstRspns_nnStndrdDt_present InfoRequestResponse_nonStandardData_present
  155. #define InfRqstRspns_endpntAls_present InfoRequestResponse_endpointAlias_present
  156. #define InfRqstRspns_nnStndrdDt nonStandardData
  157. #define _seqof20 InfoRequestResponse_callSignalAddress
  158. #define _seqof21 InfoRequestResponse_endpointAlias
  159. #define InfRqstRspns_endpntAls endpointAlias
  160. #define _seqof22 InfoRequestResponse_perCallInfo
  161. // _seqof22 vs InfoRequestResponse_perCallInfo_Seq
  162. #define prCllInf_nnStndrdDt_present InfoRequestResponse_perCallInfo_Seq_nonStandardData_present
  163. #define prCllInf_nnStndrdDt nonStandardData
  164. #ifdef __cplusplus
  165. }
  166. #endif
  167. #endif // _GK_ASN1_H_