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.

4133 lines
132 KiB

  1. /*
  2. * csap.h
  3. *
  4. * Copyright (c) 1995 by DataBeam Corporation, Lexington, KY
  5. *
  6. * Abstract:
  7. * This is the interface file for the class CControlSAP. CControlSAP objects
  8. * represent the node controller's Service Access Point to GCC. This
  9. * class inherits from the SAP class. The CControlSAP object is
  10. * instantiated when GCCInitialize is called. From that point forward all
  11. * messages to and from the node controller pass through this object. The
  12. * primary responsibility of the CControlSAP object is to route incoming GCC
  13. * primitives to their appropriate destination and to convert the
  14. * primitives into a form that is understandable to the objects processing
  15. * them. A secondary responsibility of the CControlSAP is to maintain a
  16. * queue for all indication and confirm messages that are eventually sent
  17. * back to the node controller.
  18. *
  19. * Commands received from the Application Interface (or Node Controller)
  20. * can be routed by the CControlSAP in one of two directions. Either to the
  21. * controller or to a specified conference. Commands that are passed to
  22. * the controller, are done so using owner callbacks. Commands that are
  23. * routed to conferences are done so using command target calls and are
  24. * routed based on a Conference ID. Whenever a new CConf is
  25. * instantiated by the Controller, the CConf informs the CControlSAP
  26. * of its existence by registering its conference ID with it. The
  27. * CControlSAP maintains a list of command target objects which are indexed
  28. * by the conference ID.
  29. *
  30. * Caveats:
  31. * Structures that are passed back to the node controller
  32. * are defined in GCC.H.
  33. *
  34. * Author:
  35. * blp
  36. */
  37. #ifndef _GCC_CONTROL_SAP_
  38. #define _GCC_CONTROL_SAP_
  39. /*
  40. * include files
  41. */
  42. #include "sap.h"
  43. #include "password.h"
  44. #include "privlist.h"
  45. #include "conflist.h"
  46. #define GCCNC_DIRECT_INDICATION
  47. #define GCCNC_DIRECT_CONFIRM
  48. /*
  49. * Structure used for passing conference create information from control sap
  50. * to the controller.
  51. */
  52. typedef struct
  53. {
  54. GCCConfCreateReqCore Core;
  55. CPassword *convener_password;
  56. CPassword *password;
  57. BOOL fSecure;
  58. CUserDataListContainer *user_data_list;
  59. }
  60. CONF_CREATE_REQUEST; // internal data structure
  61. typedef struct
  62. {
  63. GCCNumericString conference_modifier;
  64. GCCConfID conference_id;
  65. BOOL use_password_in_the_clear;
  66. PDomainParameters domain_parameters;
  67. UINT number_of_network_addresses;
  68. PGCCNetworkAddress * network_address_list;
  69. CUserDataListContainer *user_data_list;
  70. GCCResult result;
  71. }
  72. ConfCreateResponseInfo, *PConfCreateResponseInfo;
  73. typedef struct
  74. {
  75. GCCNodeType node_type;
  76. PGCCAsymmetryIndicator asymmetry_indicator;
  77. TransportAddress calling_address;
  78. TransportAddress called_address;
  79. BOOL fSecure;
  80. CUserDataListContainer *user_data_list;
  81. PConnectionHandle connection_handle;
  82. }
  83. ConfQueryRequestInfo, *PConfQueryRequestInfo;
  84. typedef struct
  85. {
  86. GCCResponseTag query_response_tag;
  87. GCCNodeType node_type;
  88. PGCCAsymmetryIndicator asymmetry_indicator;
  89. CUserDataListContainer *user_data_list;
  90. GCCResult result;
  91. }
  92. ConfQueryResponseInfo, *PConfQueryResponseInfo;
  93. typedef struct
  94. {
  95. PGCCConferenceName conference_name;
  96. GCCNumericString called_node_modifier;
  97. GCCNumericString calling_node_modifier;
  98. CPassword *convener_password;
  99. CPassword *password_challenge;
  100. LPWSTR pwszCallerID;
  101. TransportAddress calling_address;
  102. TransportAddress called_address;
  103. BOOL fSecure;
  104. PDomainParameters domain_parameters;
  105. UINT number_of_network_addresses;
  106. PGCCNetworkAddress * local_network_address_list;
  107. CUserDataListContainer *user_data_list;
  108. PConnectionHandle connection_handle;
  109. }
  110. ConfJoinRequestInfo, *PConfJoinRequestInfo;
  111. typedef struct
  112. {
  113. GCCConfID conference_id;
  114. CPassword *password_challenge;
  115. CUserDataListContainer *user_data_list;
  116. GCCResult result;
  117. ConnectionHandle connection_handle;
  118. }
  119. ConfJoinResponseInfo, *PConfJoinResponseInfo;
  120. typedef struct
  121. {
  122. UserID user_id;
  123. ConnectionHandle connection_handle;
  124. GCCConfID conference_id;
  125. BOOL command_target_call;
  126. }
  127. JoinResponseStructure, *PJoinResponseStructure;
  128. typedef struct
  129. {
  130. GCCConfID conference_id;
  131. GCCNumericString conference_modifier;
  132. BOOL fSecure;
  133. PDomainParameters domain_parameters;
  134. UINT number_of_network_addresses;
  135. PGCCNetworkAddress * local_network_address_list;
  136. CUserDataListContainer *user_data_list;
  137. GCCResult result;
  138. }
  139. ConfInviteResponseInfo, *PConfInviteResponseInfo;
  140. #ifdef NM_RESET_DEVICE
  141. typedef struct
  142. {
  143. LPSTR device_identifier;
  144. }
  145. ResetDeviceInfo, *PResetDeviceInfo;
  146. #endif // #ifdef NM_RESET_DEVICE
  147. /*
  148. * Container used to hold the list of outstanding join response
  149. * structures.
  150. */
  151. class CJoinResponseTagList2 : public CList2
  152. {
  153. DEFINE_CLIST2(CJoinResponseTagList2, JoinResponseStructure*, GCCResponseTag)
  154. };
  155. //
  156. // This structure holds any data that may need to be deleted after a particular
  157. // GCC message is delivered.
  158. //
  159. typedef struct DataToBeDeleted
  160. {
  161. LPSTR pszNumericConfName;
  162. LPWSTR pwszTextConfName;
  163. LPSTR pszConfNameModifier;
  164. LPSTR pszRemoteModifier;
  165. LPWSTR pwszConfDescriptor;
  166. LPWSTR pwszCallerID;
  167. LPSTR pszCalledAddress;
  168. LPSTR pszCallingAddress;
  169. LPBYTE user_data_list_memory;
  170. DomainParameters *pDomainParams;
  171. GCCConferencePrivileges *conductor_privilege_list;
  172. GCCConferencePrivileges *conducted_mode_privilege_list;
  173. GCCConferencePrivileges *non_conducted_privilege_list;
  174. CPassword *convener_password;
  175. CPassword *password;
  176. CConfDescriptorListContainer *conference_list;
  177. CAppRosterMsg *application_roster_message;
  178. CConfRosterMsg *conference_roster_message;
  179. }
  180. DataToBeDeleted, *PDataToBeDeleted;
  181. //
  182. // Control SAP callback message.
  183. //
  184. typedef GCCMessage GCCCtrlSapMsg;
  185. typedef struct GCCCtrlSapMsgEx
  186. {
  187. //
  188. // Message body
  189. //
  190. GCCCtrlSapMsg Msg;
  191. //
  192. // Data to free later.
  193. //
  194. LPBYTE pBuf;
  195. DataToBeDeleted *pToDelete;
  196. }
  197. GCCCtrlSapMsgEx, *PGCCCtrlSapMsgEx;
  198. /*
  199. * Class definition:
  200. */
  201. class CControlSAP : public CBaseSap, public IT120ControlSAP
  202. {
  203. friend class GCCController;
  204. friend class CConf;
  205. friend class CAppRosterMgr; // for AppRosterReportIndication()
  206. friend class MCSUser; // for ForwardedConfJoinIndication()
  207. friend LRESULT CALLBACK SapNotifyWndProc(HWND, UINT, WPARAM, LPARAM);
  208. public:
  209. CControlSAP(void);
  210. ~CControlSAP(void);
  211. HWND GetHwnd ( void ) { return m_hwndNotify; }
  212. //
  213. // Node Controller (NC conference manager) callback
  214. //
  215. void RegisterNodeController ( LPFN_T120_CONTROL_SAP_CB pfn, LPVOID user_defined )
  216. {
  217. m_pfnNCCallback = pfn;
  218. m_pNCData = user_defined;
  219. }
  220. void UnregisterNodeController ( void )
  221. {
  222. m_pfnNCCallback = NULL;
  223. m_pNCData = NULL;
  224. }
  225. //
  226. // IT120ControlSAP
  227. //
  228. STDMETHOD_(void, ReleaseInterface) (THIS);
  229. /*
  230. * GCCError ConfCreateRequest()
  231. * This routine is a request to create a new conference. Both
  232. * the local node and the node to which the create conference
  233. * request is directed to, join the conference automatically.
  234. */
  235. STDMETHOD_(GCCError, ConfCreateRequest) (THIS_
  236. GCCConfCreateRequest *,
  237. GCCConfID *);
  238. /*
  239. * GCCError ConfCreateResponse()
  240. * This procedure is a remote node controller's response to a con-
  241. * ference creation request by the convener.
  242. */
  243. STDMETHOD_(GCCError, ConfCreateResponse) (THIS_
  244. GCCNumericString conference_modifier,
  245. GCCConfID,
  246. BOOL use_password_in_the_clear,
  247. DomainParameters *domain_parameters,
  248. UINT number_of_network_addresses,
  249. GCCNetworkAddress **local_network_address_list,
  250. UINT number_of_user_data_members,
  251. GCCUserData **user_data_list,
  252. GCCResult);
  253. /*
  254. * GCCError ConfQueryRequest()
  255. * This routine is a request to query a node for information about the
  256. * conferences that exist at that node.
  257. */
  258. STDMETHOD_(GCCError, ConfQueryRequest) (THIS_
  259. GCCNodeType node_type,
  260. GCCAsymmetryIndicator *asymmetry_indicator,
  261. TransportAddress calling_address,
  262. TransportAddress called_address,
  263. BOOL fSecure,
  264. UINT number_of_user_data_members,
  265. GCCUserData **user_data_list,
  266. ConnectionHandle *connection_handle);
  267. STDMETHOD_(void, CancelConfQueryRequest) (THIS_
  268. ConnectionHandle);
  269. /*
  270. * GCCError ConfQueryResponse()
  271. * This routine is called in response to a conference query request.
  272. */
  273. STDMETHOD_(GCCError, ConfQueryResponse) (THIS_
  274. GCCResponseTag query_response_tag,
  275. GCCNodeType node_type,
  276. GCCAsymmetryIndicator *asymmetry_indicator,
  277. UINT number_of_user_data_members,
  278. GCCUserData **user_data_list,
  279. GCCResult);
  280. /*
  281. * GCCError AnnouncePresenceRequest()
  282. * This routine is invoked by node controller when a node joins a
  283. * conference, to announce the presence of the new node to all
  284. * other nodes of the conference. This should be followed by a
  285. * GCCConferenceReport indication by the GCC to all nodes.
  286. */
  287. STDMETHOD_(GCCError, AnnouncePresenceRequest) (THIS_
  288. GCCConfID,
  289. GCCNodeType node_type,
  290. GCCNodeProperties node_properties,
  291. LPWSTR pwszNodeName,
  292. UINT number_of_participants,
  293. LPWSTR *ppwszParticipantNameList,
  294. LPWSTR pwszSiteInfo,
  295. UINT number_of_network_addresses,
  296. GCCNetworkAddress **network_address_list,
  297. LPOSTR alternative_node_id,
  298. UINT number_of_user_data_members,
  299. GCCUserData **user_data_list);
  300. /*
  301. * GCCError ConfJoinRequest()
  302. * This routine is invoked by node controller to cause the local
  303. * node to join an existing conference.
  304. */
  305. STDMETHOD_(GCCError, ConfJoinRequest) (THIS_
  306. GCCConferenceName *conference_name,
  307. GCCNumericString called_node_modifier,
  308. GCCNumericString calling_node_modifier,
  309. GCCPassword *convener_password,
  310. GCCChallengeRequestResponse*password_challenge,
  311. LPWSTR pwszCallerID,
  312. TransportAddress calling_address,
  313. TransportAddress called_address,
  314. BOOL fSecure,
  315. DomainParameters *domain_parameters,
  316. UINT number_of_network_addresses,
  317. GCCNetworkAddress **local_network_address_list,
  318. UINT number_of_user_data_members,
  319. GCCUserData **user_data_list,
  320. ConnectionHandle *connection_handle,
  321. GCCConfID *pnConfID);
  322. /*
  323. * GCCError ConfJoinResponse()
  324. * This routine is remote node controller's response to conference join
  325. * request by the local node controller.
  326. */
  327. STDMETHOD_(GCCError, ConfJoinResponse) (THIS_
  328. GCCResponseTag join_response_tag,
  329. GCCChallengeRequestResponse*password_challenge,
  330. UINT number_of_user_data_members,
  331. GCCUserData **user_data_list,
  332. GCCResult);
  333. /*
  334. * GCCError ConfInviteRequest()
  335. * This routine is invoked by node controller to invite a node
  336. * to join a conference.
  337. */
  338. STDMETHOD_(GCCError, ConfInviteRequest) (THIS_
  339. GCCConfID,
  340. LPWSTR pwszCallerID,
  341. TransportAddress calling_address,
  342. TransportAddress called_address,
  343. BOOL fSecure,
  344. UINT number_of_user_data_members,
  345. GCCUserData **user_data_list,
  346. ConnectionHandle *connection_handle);
  347. STDMETHOD_(void, CancelInviteRequest) (THIS_
  348. GCCConfID,
  349. ConnectionHandle);
  350. /*
  351. * GCCError ConfInviteResponse()
  352. * This routine is invoked by node controller to respond to an
  353. * invite indication.
  354. */
  355. STDMETHOD_(GCCError, ConfInviteResponse) (THIS_
  356. GCCConfID,
  357. GCCNumericString conference_modifier,
  358. BOOL fSecure,
  359. DomainParameters *domain_parameters,
  360. UINT number_of_network_addresses,
  361. GCCNetworkAddress **local_network_address_list,
  362. UINT number_of_user_data_members,
  363. GCCUserData **user_data_list,
  364. GCCResult);
  365. /*
  366. * GCCError ConfAddResponse()
  367. */
  368. STDMETHOD_(GCCError, ConfAddResponse) (THIS_
  369. GCCResponseTag app_response_tag,
  370. GCCConfID,
  371. UserID requesting_node,
  372. UINT number_of_user_data_members,
  373. GCCUserData **user_data_list,
  374. GCCResult);
  375. /*
  376. * GCCError ConfLockResponse()
  377. * This routine is invoked by node controller to respond to a
  378. * lock indication.
  379. */
  380. STDMETHOD_(GCCError, ConfLockResponse) (THIS_
  381. GCCConfID,
  382. UserID requesting_node,
  383. GCCResult);
  384. /*
  385. * GCCError ConfDisconnectRequest()
  386. * This routine is used by a node controller to disconnect itself
  387. * from a specified conference. GccConferenceDisconnectIndication
  388. * sent to all other nodes of the conference. This is for client
  389. * initiated case.
  390. */
  391. STDMETHOD_(GCCError, ConfDisconnectRequest) (THIS_
  392. GCCConfID);
  393. /*
  394. * GCCError ConfEjectUserRequest()
  395. */
  396. STDMETHOD_(GCCError, ConfEjectUserRequest) (THIS_
  397. GCCConfID,
  398. UserID ejected_node_id,
  399. GCCReason);
  400. /*
  401. * GCCError AppletInvokeRequest()
  402. */
  403. STDMETHOD_(GCCError, AppletInvokeRequest) (THIS_
  404. GCCConfID,
  405. UINT number_of_app_protcol_entities,
  406. GCCAppProtocolEntity **app_protocol_entity_list,
  407. UINT number_of_destination_nodes,
  408. UserID *list_of_destination_nodes);
  409. /*
  410. * GCCError ConfRosterInqRequest()
  411. * This routine is invoked to request a conference roster. It can be
  412. * called by either the Node Controller or the client application.
  413. */
  414. STDMETHOD_(GCCError, ConfRosterInqRequest) (THIS_
  415. GCCConfID);
  416. /*
  417. * GCCError ConductorGiveResponse()
  418. */
  419. STDMETHOD_(GCCError, ConductorGiveResponse) (THIS_
  420. GCCConfID,
  421. GCCResult);
  422. /*
  423. * GCCError ConfTimeRemainingRequest()
  424. */
  425. STDMETHOD_(GCCError, ConfTimeRemainingRequest) (THIS_
  426. GCCConfID,
  427. UINT time_remaining,
  428. UserID node_id);
  429. STDMETHOD_(GCCError, GetParentNodeID) (THIS_
  430. GCCConfID,
  431. GCCNodeID *);
  432. #ifdef JASPER // ------------------------------------------------
  433. /*
  434. * GCCError ConfAddRequest()
  435. */
  436. STDMETHOD_(GCCError, ConfAddRequest) (THIS_
  437. GCCConfID,
  438. UINT number_of_network_addresses,
  439. GCCNetworkAddress **network_address_list,
  440. UserID adding_node,
  441. UINT number_of_user_data_members,
  442. GCCUserData **user_data_list);
  443. /*
  444. * GCCError ConfLockRequest()
  445. * This routine is invoked by node controller to lock a conference.
  446. */
  447. STDMETHOD_(GCCError, ConfLockRequest) (THIS_
  448. GCCConfID);
  449. /*
  450. * GCCError ConfUnlockRequest()
  451. * This routine is invoked by node controller to unlock a conference.
  452. */
  453. STDMETHOD_(GCCError, ConfUnlockRequest) (THIS_
  454. GCCConfID);
  455. /*
  456. * GCCError ConfUnlockResponse()
  457. * This routine is invoked by node controller to respond to an
  458. * unlock indication.
  459. */
  460. STDMETHOD_(GCCError, ConfUnlockResponse) (
  461. GCCConfID,
  462. UserID requesting_node,
  463. GCCResult);
  464. /*
  465. * GCCError ConfTerminateRequest()
  466. */
  467. STDMETHOD_(GCCError, ConfTerminateRequest) (THIS_
  468. GCCConfID,
  469. GCCReason);
  470. /*
  471. * GCCError ConfTransferRequest()
  472. */
  473. STDMETHOD_(GCCError, ConfTransferRequest) (THIS_
  474. GCCConfID,
  475. GCCConferenceName *destination_conference_name,
  476. GCCNumericString destination_conference_modifier,
  477. UINT number_of_destination_addresses,
  478. GCCNetworkAddress **destination_address_list,
  479. UINT number_of_destination_nodes,
  480. UserID *destination_node_list,
  481. GCCPassword *password);
  482. /*
  483. * GCCError ConductorAssignRequest()
  484. */
  485. STDMETHOD_(GCCError, ConductorAssignRequest) (THIS_
  486. GCCConfID);
  487. /*
  488. * GCCError ConductorReleaseRequest()
  489. */
  490. STDMETHOD_(GCCError, ConductorReleaseRequest) (THIS_
  491. GCCConfID);
  492. /*
  493. * GCCError ConductorPleaseRequest()
  494. */
  495. STDMETHOD_(GCCError, ConductorPleaseRequest) (THIS_
  496. GCCConfID);
  497. /*
  498. * GCCError ConductorGiveRequest()
  499. */
  500. STDMETHOD_(GCCError, ConductorGiveRequest) (THIS_
  501. GCCConfID,
  502. UserID recipient_user_id);
  503. /*
  504. * GCCError ConductorPermitAskRequest()
  505. */
  506. STDMETHOD_(GCCError, ConductorPermitAskRequest) (THIS_
  507. GCCConfID,
  508. BOOL grant_permission);
  509. /*
  510. * GCCError ConductorPermitGrantRequest()
  511. */
  512. STDMETHOD_(GCCError, ConductorPermitGrantRequest) (THIS_
  513. GCCConfID,
  514. UINT number_granted,
  515. UserID *granted_node_list,
  516. UINT number_waiting,
  517. UserID *waiting_node_list);
  518. /*
  519. * GCCError ConductorInquireRequest()
  520. */
  521. STDMETHOD_(GCCError, ConductorInquireRequest) (THIS_
  522. GCCConfID);
  523. /*
  524. * GCCError ConfTimeInquireRequest()
  525. */
  526. STDMETHOD_(GCCError, ConfTimeInquireRequest) (THIS_
  527. GCCConfID,
  528. BOOL time_is_conference_wide);
  529. /*
  530. * GCCError ConfExtendRequest()
  531. */
  532. STDMETHOD_(GCCError, ConfExtendRequest) (THIS_
  533. GCCConfID,
  534. UINT extension_time,
  535. BOOL time_is_conference_wide);
  536. /*
  537. * GCCError ConfAssistanceRequest()
  538. */
  539. STDMETHOD_(GCCError, ConfAssistanceRequest) (THIS_
  540. GCCConfID,
  541. UINT number_of_user_data_members,
  542. GCCUserData **user_data_list);
  543. /*
  544. * GCCError TextMessageRequest()
  545. */
  546. STDMETHOD_(GCCError, TextMessageRequest) (THIS_
  547. GCCConfID,
  548. LPWSTR pwszTextMsg,
  549. UserID destination_node);
  550. #endif // JASPER // ------------------------------------------------
  551. #ifdef NM_RESET_DEVICE
  552. GCCError ResetDevice ( LPSTR device_identifier );
  553. #endif // NM_RESET_DEVICE
  554. protected:
  555. //
  556. // These methods are called by GCC Controller.
  557. //
  558. GCCError ConfCreateIndication (
  559. PGCCConferenceName conference_name,
  560. GCCConfID conference_id,
  561. CPassword *convener_password,
  562. CPassword *password,
  563. BOOL conference_is_locked,
  564. BOOL conference_is_listed,
  565. BOOL conference_is_conductible,
  566. GCCTerminationMethod termination_method,
  567. PPrivilegeListData conductor_privilege_list,
  568. PPrivilegeListData conduct_mode_privilege_list,
  569. PPrivilegeListData non_conduct_privilege_list,
  570. LPWSTR pwszConfDescriptor,
  571. LPWSTR pwszCallerID,
  572. TransportAddress calling_address,
  573. TransportAddress called_address,
  574. PDomainParameters domain_parameters,
  575. CUserDataListContainer *user_data_list,
  576. ConnectionHandle connection_handle);
  577. GCCError ConfQueryIndication (
  578. GCCResponseTag query_response_tag,
  579. GCCNodeType node_type,
  580. PGCCAsymmetryIndicator asymmetry_indicator,
  581. TransportAddress calling_address,
  582. TransportAddress called_address,
  583. CUserDataListContainer *user_data_list,
  584. ConnectionHandle connection_handle);
  585. GCCError ConfQueryConfirm (
  586. GCCNodeType node_type,
  587. PGCCAsymmetryIndicator asymmetry_indicator,
  588. CConfDescriptorListContainer *conference_list,
  589. CUserDataListContainer *user_data_list,
  590. GCCResult result,
  591. ConnectionHandle connection_handle);
  592. GCCError ConfJoinIndication (
  593. GCCConfID conference_id,
  594. CPassword *convener_password,
  595. CPassword *password_challenge,
  596. LPWSTR pwszCallerID,
  597. TransportAddress calling_address,
  598. TransportAddress called_address,
  599. CUserDataListContainer *user_data_list,
  600. BOOL intermediate_node,
  601. ConnectionHandle connection_handle);
  602. GCCError ConfInviteIndication (
  603. GCCConfID conference_id,
  604. PGCCConferenceName conference_name,
  605. LPWSTR pwszCallerID,
  606. TransportAddress calling_address,
  607. TransportAddress called_address,
  608. BOOL fSecure,
  609. PDomainParameters domain_parameters,
  610. BOOL clear_password_required,
  611. BOOL conference_is_locked,
  612. BOOL conference_is_listed,
  613. BOOL conference_is_conductible,
  614. GCCTerminationMethod termination_method,
  615. PPrivilegeListData conductor_privilege_list,
  616. PPrivilegeListData conducted_mode_privilege_list,
  617. PPrivilegeListData non_conducted_privilege_list,
  618. LPWSTR pwszConfDescriptor,
  619. CUserDataListContainer *user_data_list,
  620. ConnectionHandle connection_handle);
  621. #ifdef TSTATUS_INDICATION
  622. GCCError TransportStatusIndication (
  623. PTransportStatus transport_status);
  624. GCCError StatusIndication (
  625. GCCStatusMessageType status_message,
  626. UINT parameter);
  627. #endif // TSTATUS_INDICATION
  628. GCCError ConnectionBrokenIndication (
  629. ConnectionHandle connection_handle);
  630. //
  631. // These methods are called by CConf.
  632. //
  633. GCCError ConfCreateConfirm (
  634. PGCCConferenceName conference_name,
  635. GCCNumericString conference_modifier,
  636. GCCConfID conference_id,
  637. PDomainParameters domain_parameters,
  638. CUserDataListContainer *user_data_list,
  639. GCCResult result,
  640. ConnectionHandle connection_handle);
  641. GCCError ConfDisconnectConfirm (
  642. GCCConfID conference_id,
  643. GCCResult result);
  644. GCCError ConfPermissionToAnnounce (
  645. GCCConfID conference_id,
  646. UserID gcc_node_id);
  647. GCCError ConfAnnouncePresenceConfirm (
  648. GCCConfID conference_id,
  649. GCCResult result);
  650. GCCError ConfDisconnectIndication (
  651. GCCConfID conference_id,
  652. GCCReason reason,
  653. UserID disconnected_node_id);
  654. GCCError ForwardedConfJoinIndication (
  655. UserID sender_id,
  656. GCCConfID conference_id,
  657. CPassword *convener_password,
  658. CPassword *password_challange,
  659. LPWSTR pwszCallerID,
  660. CUserDataListContainer *user_data_list);
  661. GCCError ConfJoinConfirm (
  662. PGCCConferenceName conference_name,
  663. GCCNumericString remote_modifier,
  664. GCCNumericString local_modifier,
  665. GCCConfID conference_id,
  666. CPassword *password_challenge,
  667. PDomainParameters domain_parameters,
  668. BOOL password_in_the_clear,
  669. BOOL conference_locked,
  670. BOOL conference_listed,
  671. BOOL conference_conductible,
  672. GCCTerminationMethod termination_method,
  673. PPrivilegeListData conductor_privilege_list,
  674. PPrivilegeListData conduct_mode_privilege_list,
  675. PPrivilegeListData non_conduct_privilege_list,
  676. LPWSTR pwszConfDescription,
  677. CUserDataListContainer *user_data_list,
  678. GCCResult result,
  679. ConnectionHandle connection_handle,
  680. PBYTE pbRemoteCred,
  681. DWORD cbRemoteCred);
  682. GCCError ConfInviteConfirm (
  683. GCCConfID conference_id,
  684. CUserDataListContainer *user_data_list,
  685. GCCResult result,
  686. ConnectionHandle connection_handle);
  687. GCCError ConfTerminateIndication (
  688. GCCConfID conference_id,
  689. UserID requesting_node_id,
  690. GCCReason reason);
  691. GCCError ConfLockIndication (
  692. GCCConfID conference_id,
  693. UserID source_node_id);
  694. GCCError ConfEjectUserIndication (
  695. GCCConfID conference_id,
  696. GCCReason reason,
  697. UserID gcc_node_id);
  698. GCCError ConfTerminateConfirm (
  699. GCCConfID conference_id,
  700. GCCResult result);
  701. GCCError ConductorGiveIndication (
  702. GCCConfID conference_id);
  703. GCCError ConfTimeInquireIndication (
  704. GCCConfID conference_id,
  705. BOOL time_is_conference_wide,
  706. UserID requesting_node_id);
  707. #ifdef JASPER
  708. GCCError ConfLockReport (
  709. GCCConfID conference_id,
  710. BOOL conference_is_locked);
  711. GCCError ConfLockConfirm (
  712. GCCResult result,
  713. GCCConfID conference_id);
  714. GCCError ConfUnlockIndication (
  715. GCCConfID conference_id,
  716. UserID source_node_id);
  717. GCCError ConfUnlockConfirm (
  718. GCCResult result,
  719. GCCConfID conference_id);
  720. GCCError ConfEjectUserConfirm (
  721. GCCConfID conference_id,
  722. UserID ejected_node_id,
  723. GCCResult result);
  724. GCCError ConductorAssignConfirm (
  725. GCCResult result,
  726. GCCConfID conference_id);
  727. GCCError ConductorReleaseConfirm (
  728. GCCResult result,
  729. GCCConfID conference_id);
  730. GCCError ConductorPleaseIndication (
  731. GCCConfID conference_id,
  732. UserID requester_user_id);
  733. GCCError ConductorPleaseConfirm (
  734. GCCResult result,
  735. GCCConfID conference_id);
  736. GCCError ConductorGiveConfirm (
  737. GCCResult result,
  738. GCCConfID conference_id,
  739. UserID recipient_node);
  740. GCCError ConductorPermitAskIndication (
  741. GCCConfID conference_id,
  742. BOOL grant_flag,
  743. UserID requester_id);
  744. GCCError ConductorPermitAskConfirm (
  745. GCCResult result,
  746. BOOL grant_permission,
  747. GCCConfID conference_id);
  748. GCCError ConductorPermitGrantConfirm (
  749. GCCResult result,
  750. GCCConfID conference_id);
  751. GCCError ConfTimeRemainingIndication (
  752. GCCConfID conference_id,
  753. UserID source_node_id,
  754. UserID node_id,
  755. UINT time_remaining);
  756. GCCError ConfTimeRemainingConfirm (
  757. GCCConfID conference_id,
  758. GCCResult result);
  759. GCCError ConfTimeInquireConfirm (
  760. GCCConfID conference_id,
  761. GCCResult result);
  762. GCCError ConfExtendIndication (
  763. GCCConfID conference_id,
  764. UINT extension_time,
  765. BOOL time_is_conference_wide,
  766. UserID requesting_node_id);
  767. GCCError ConfExtendConfirm (
  768. GCCConfID conference_id,
  769. UINT extension_time,
  770. GCCResult result);
  771. GCCError ConfAssistanceIndication (
  772. GCCConfID conference_id,
  773. CUserDataListContainer *user_data_list,
  774. UserID source_node_id);
  775. GCCError ConfAssistanceConfirm (
  776. GCCConfID conference_id,
  777. GCCResult result);
  778. GCCError TextMessageIndication (
  779. GCCConfID conference_id,
  780. LPWSTR pwszTextMsg,
  781. UserID source_node_id);
  782. GCCError TextMessageConfirm (
  783. GCCConfID conference_id,
  784. GCCResult result);
  785. GCCError ConfTransferIndication (
  786. GCCConfID conference_id,
  787. PGCCConferenceName destination_conference_name,
  788. GCCNumericString destination_conference_modifier,
  789. CNetAddrListContainer *destination_address_list,
  790. CPassword *password);
  791. GCCError ConfTransferConfirm (
  792. GCCConfID conference_id,
  793. PGCCConferenceName destination_conference_name,
  794. GCCNumericString destination_conference_modifier,
  795. UINT number_of_destination_nodes,
  796. PUserID destination_node_list,
  797. GCCResult result);
  798. #endif // JASPER
  799. GCCError ConfAddIndication (
  800. GCCConfID conference_id,
  801. GCCResponseTag add_response_tag,
  802. CNetAddrListContainer *network_address_list,
  803. CUserDataListContainer *user_data_list,
  804. UserID requesting_node);
  805. GCCError ConfAddConfirm (
  806. GCCConfID conference_id,
  807. CNetAddrListContainer *network_address_list,
  808. CUserDataListContainer *user_data_list,
  809. GCCResult result);
  810. GCCError SubInitializationCompleteIndication (
  811. UserID user_id,
  812. ConnectionHandle connection_handle);
  813. /* ------ pure virtual in CBaseSap (shared with CAppSap) ------ */
  814. GCCError ConfRosterInquireConfirm (
  815. GCCConfID,
  816. PGCCConferenceName,
  817. LPSTR conference_modifier,
  818. LPWSTR pwszConfDescriptor,
  819. CConfRoster *,
  820. GCCResult,
  821. GCCAppSapMsgEx **);
  822. GCCError AppRosterInquireConfirm (
  823. GCCConfID,
  824. CAppRosterMsg *,
  825. GCCResult,
  826. GCCAppSapMsgEx **);
  827. GCCError ConductorInquireConfirm (
  828. GCCNodeID nidConductor,
  829. GCCResult,
  830. BOOL permission_flag,
  831. BOOL conducted_mode,
  832. GCCConfID);
  833. GCCError AppInvokeConfirm (
  834. GCCConfID,
  835. CInvokeSpecifierListContainer *,
  836. GCCResult,
  837. GCCRequestTag);
  838. GCCError AppInvokeIndication (
  839. GCCConfID,
  840. CInvokeSpecifierListContainer *,
  841. GCCNodeID nidInvoker);
  842. GCCError ConfRosterReportIndication ( GCCConfID, CConfRosterMsg * );
  843. GCCError AppRosterReportIndication ( GCCConfID, CAppRosterMsg * );
  844. /* ------ from CBaseSap ------ */
  845. GCCError ConductorAssignIndication (
  846. UserID conductor_user_id,
  847. GCCConfID conference_id);
  848. GCCError ConductorReleaseIndication (
  849. GCCConfID conference_id);
  850. GCCError ConductorPermitGrantIndication (
  851. GCCConfID conference_id,
  852. UINT number_granted,
  853. GCCNodeID *granted_node_list,
  854. UINT number_waiting,
  855. GCCNodeID *waiting_node_list,
  856. BOOL permission_is_granted);
  857. protected:
  858. void NotifyProc ( GCCCtrlSapMsgEx * );
  859. void WndMsgHandler ( UINT uMsg, WPARAM wParam, LPARAM lParam );
  860. private:
  861. GCCCtrlSapMsgEx * CreateCtrlSapMsgEx ( GCCMessageType, BOOL fUseToDelete = FALSE );
  862. void FreeCtrlSapMsgEx ( GCCCtrlSapMsgEx * );
  863. #if defined(GCCNC_DIRECT_INDICATION) || defined(GCCNC_DIRECT_CONFIRM)
  864. void SendCtrlSapMsg ( GCCCtrlSapMsg *pCtrlSapMsg );
  865. #endif // GCCNC_DIRECT_INDICATION
  866. void PostCtrlSapMsg ( GCCCtrlSapMsgEx *pCtrlSapMsgEx );
  867. void PostConfirmCtrlSapMsg ( GCCCtrlSapMsgEx *pCtrlSapMsgEx ) { PostCtrlSapMsg(pCtrlSapMsgEx); }
  868. void PostIndCtrlSapMsg ( GCCCtrlSapMsgEx *pCtrlSapMsgEx ) { PostCtrlSapMsg(pCtrlSapMsgEx); }
  869. void PostAsynDirectConfirmMsg ( UINT uMsg, WPARAM wParam, GCCConfID nConfID )
  870. {
  871. ASSERT(NULL != m_hwndNotify);
  872. ::PostMessage(m_hwndNotify, CSAPCONFIRM_BASE + uMsg, wParam, (LPARAM) nConfID);
  873. }
  874. void PostAsynDirectConfirmMsg ( UINT uMsg, GCCResult nResult, GCCConfID nConfID )
  875. {
  876. PostAsynDirectConfirmMsg(uMsg, (WPARAM) nResult, nConfID);
  877. }
  878. void PostAsynDirectConfirmMsg ( UINT uMsg, GCCResult nResult, GCCNodeID nid, GCCConfID nConfID )
  879. {
  880. PostAsynDirectConfirmMsg(uMsg, (WPARAM) MAKELONG(nResult, nid), nConfID);
  881. }
  882. void PostAsynDirectConfirmMsg ( UINT uMsg, GCCReason nReason, GCCNodeID nid, GCCConfID nConfID )
  883. {
  884. PostAsynDirectConfirmMsg(uMsg, (WPARAM) MAKELONG(nReason, nid), nConfID);
  885. }
  886. void PostAsynDirectConfirmMsg ( UINT uMsg, GCCResult nResult, BOOL flag, GCCConfID nConfID )
  887. {
  888. flag = ! (! flag); // to make sure it is either TRUE or FALSE
  889. ASSERT(flag == TRUE || flag == FALSE);
  890. PostAsynDirectConfirmMsg(uMsg, (WPARAM) MAKELONG(nResult, flag), nConfID);
  891. }
  892. void HandleResourceFailure ( void )
  893. {
  894. ERROR_OUT(("CSAPHandleResourceFailure: Resource Error occurred"));
  895. #ifdef TSTATUS_INDICATION
  896. StatusIndication(GCC_STATUS_CTL_SAP_RESOURCE_ERROR, 0);
  897. #endif
  898. }
  899. void HandleResourceFailure ( GCCError rc )
  900. {
  901. if (GCC_ALLOCATION_FAILURE == rc)
  902. {
  903. HandleResourceFailure();
  904. }
  905. }
  906. GCCError QueueJoinIndication (
  907. GCCResponseTag response_tag,
  908. GCCConfID conference_id,
  909. CPassword *convener_password,
  910. CPassword *password_challenge,
  911. LPWSTR pwszCallerID,
  912. TransportAddress calling_address,
  913. TransportAddress called_address,
  914. CUserDataListContainer *user_data_list,
  915. BOOL intermediate_node,
  916. ConnectionHandle connection_handle);
  917. BOOL IsNumericNameValid ( GCCNumericString );
  918. BOOL IsTextNameValid ( LPWSTR );
  919. GCCError RetrieveUserDataList (
  920. CUserDataListContainer *user_data_list_object,
  921. UINT *number_of_data_members,
  922. PGCCUserData **user_data_list,
  923. LPBYTE *ppUserDataMemory);
  924. private:
  925. //
  926. // Node Controller (NC conference manager) callback
  927. //
  928. LPFN_T120_CONTROL_SAP_CB m_pfnNCCallback;
  929. LPVOID m_pNCData;
  930. GCCResponseTag m_nJoinResponseTag;
  931. CJoinResponseTagList2 m_JoinResponseTagList2;
  932. };
  933. extern CControlSAP *g_pControlSap;
  934. //
  935. // Some handy utility functions to set up DataToBeDeleted in GCCCtrlSapMsgEx.
  936. //
  937. #ifdef GCCNC_DIRECT_INDICATION
  938. __inline void
  939. CSAP_CopyDataToGCCMessage_ConfName
  940. (
  941. GCCConfName *pSrcConfName,
  942. GCCConfName *pDstConfName
  943. )
  944. {
  945. *pDstConfName = *pSrcConfName;
  946. }
  947. __inline void
  948. CSAP_CopyDataToGCCMessage_Modifier
  949. (
  950. GCCNumericString pszSrc,
  951. GCCNumericString *ppszDst
  952. )
  953. {
  954. *ppszDst = pszSrc;
  955. }
  956. __inline void
  957. CSAP_CopyDataToGCCMessage_Password
  958. (
  959. CPassword *pSrcPassword,
  960. GCCPassword **ppDstPassword
  961. )
  962. {
  963. *ppDstPassword = NULL;
  964. if (NULL != pSrcPassword)
  965. {
  966. pSrcPassword->LockPasswordData();
  967. pSrcPassword->GetPasswordData(ppDstPassword);
  968. }
  969. }
  970. __inline void
  971. CSAP_CopyDataToGCCMessage_Challenge
  972. (
  973. CPassword *pSrcPassword,
  974. GCCChallengeRequestResponse **ppDstChallenge
  975. )
  976. {
  977. *ppDstChallenge = NULL;
  978. if (pSrcPassword != NULL)
  979. {
  980. pSrcPassword->LockPasswordData();
  981. pSrcPassword->GetPasswordChallengeData(ppDstChallenge);
  982. }
  983. }
  984. __inline void
  985. CSAP_CopyDataToGCCMessage_PrivilegeList
  986. (
  987. PrivilegeListData *pSrcPrivilegeListData,
  988. GCCConfPrivileges **ppDstPrivileges,
  989. GCCConfPrivileges *pDstPlaceHolder
  990. )
  991. {
  992. if (pSrcPrivilegeListData != NULL)
  993. {
  994. *ppDstPrivileges = pDstPlaceHolder;
  995. *pDstPlaceHolder = *(pSrcPrivilegeListData->GetPrivilegeListData());
  996. }
  997. else
  998. {
  999. *ppDstPrivileges = NULL;
  1000. }
  1001. }
  1002. __inline void
  1003. CSAP_CopyDataToGCCMessage_IDvsDesc
  1004. (
  1005. LPWSTR pwszSrc,
  1006. LPWSTR *ppwszDst
  1007. )
  1008. {
  1009. *ppwszDst = pwszSrc;
  1010. }
  1011. __inline void
  1012. CSAP_CopyDataToGCCMessage_Call
  1013. (
  1014. TransportAddress pszSrcTransportAddr,
  1015. TransportAddress *ppszDstTransportAddr
  1016. )
  1017. {
  1018. *ppszDstTransportAddr = pszSrcTransportAddr;
  1019. }
  1020. __inline void
  1021. CSAP_CopyDataToGCCMessage_DomainParams
  1022. (
  1023. DomainParameters *pSrcDomainParams,
  1024. DomainParameters **ppDstDomainParams,
  1025. DomainParameters *pDstPlaceHolder
  1026. )
  1027. {
  1028. if (pSrcDomainParams != NULL)
  1029. {
  1030. *ppDstDomainParams = pDstPlaceHolder;
  1031. *pDstPlaceHolder = *pSrcDomainParams;
  1032. }
  1033. else
  1034. {
  1035. *ppDstDomainParams = NULL;
  1036. }
  1037. }
  1038. #endif // GCCNC_DIRECT_CALLBACK
  1039. void CSAP_CopyDataToGCCMessage_ConfName(
  1040. PDataToBeDeleted data_to_be_deleted,
  1041. PGCCConferenceName source_conference_name,
  1042. PGCCConferenceName destination_conference_name,
  1043. PGCCError pRetCode);
  1044. void CSAP_CopyDataToGCCMessage_Modifier(
  1045. BOOL fRemoteModifier,
  1046. PDataToBeDeleted data_to_be_deleted,
  1047. GCCNumericString source_numeric_string,
  1048. GCCNumericString *destination_numeric_string,
  1049. PGCCError pRetCode);
  1050. void CSAP_CopyDataToGCCMessage_Password(
  1051. BOOL fConvener,
  1052. PDataToBeDeleted data_to_be_deleted,
  1053. CPassword *source_password,
  1054. PGCCPassword *destination_password,
  1055. PGCCError pRetCode);
  1056. void CSAP_CopyDataToGCCMessage_Challenge(
  1057. PDataToBeDeleted data_to_be_deleted,
  1058. CPassword *source_password,
  1059. PGCCChallengeRequestResponse *password_challenge,
  1060. PGCCError pRetCode);
  1061. void CSAP_CopyDataToGCCMessage_PrivilegeList(
  1062. PPrivilegeListData source_privilege_list_data,
  1063. PGCCConferencePrivileges *destination_privilege_list,
  1064. PGCCError pRetCode);
  1065. void CSAP_CopyDataToGCCMessage_IDvsDesc(
  1066. BOOL fCallerID,
  1067. PDataToBeDeleted data_to_be_deleted,
  1068. LPWSTR source_text_string,
  1069. LPWSTR *destination_text_string,
  1070. PGCCError pRetCode);
  1071. void CSAP_CopyDataToGCCMessage_Call(
  1072. BOOL fCalling,
  1073. PDataToBeDeleted data_to_be_deleted,
  1074. TransportAddress source_transport_address,
  1075. TransportAddress *destination_transport_address,
  1076. PGCCError pRetCode);
  1077. void CSAP_CopyDataToGCCMessage_DomainParams(
  1078. PDataToBeDeleted data_to_be_deleted,
  1079. PDomainParameters source_domain_parameters,
  1080. PDomainParameters *destination_domain_parameters,
  1081. PGCCError pRetCode);
  1082. /*
  1083. * Comments explaining the public and protected class member functions
  1084. */
  1085. /*
  1086. * CControlSAP ( UINT owner_message_base,
  1087. * UINT application_messsage_base);
  1088. *
  1089. * Public member function of CControlSAP.
  1090. *
  1091. * Function Description:
  1092. * This is the control sap constructor. It is responsible for
  1093. * registering control sap with the application interface via
  1094. * an owner callback.
  1095. *
  1096. * Formal Parameters:
  1097. * owner_object (i) The owner of this object (the controller)
  1098. * owner_message_base (i) Offset into the controller callback message
  1099. * base.
  1100. * application_object (i) The node controller interface object.
  1101. * application_messsage_base (i) Offset into the node controller callback
  1102. * message base.
  1103. *
  1104. * Return Value:
  1105. * None.
  1106. *
  1107. * Side Effects:
  1108. * None.
  1109. *
  1110. * Caveats:
  1111. * None.
  1112. */
  1113. /*
  1114. * ~ControlSap ();
  1115. *
  1116. * Public member function of CControlSAP.
  1117. *
  1118. * Function Description:
  1119. * This is the CControlSAP destructor. It is responsible for
  1120. * flushing any pending upward bound messages and freeing all
  1121. * the resources tied up with pending messages. Also it clears
  1122. * the message queue and the queue of command targets that are registered
  1123. * with it. Actually all command targets at this point should
  1124. * already have been unregistered but this is just a double check.
  1125. *
  1126. * Formal Parameters:
  1127. * None.
  1128. *
  1129. * Return Value:
  1130. * None.
  1131. *
  1132. * Side Effects:
  1133. * None.
  1134. *
  1135. * Caveats:
  1136. * None.
  1137. */
  1138. /*
  1139. * GCCError ConfCreateRequest(
  1140. * PGCCConferenceName conference_name,
  1141. * GCCNumericString conference_modifier,
  1142. * PGCCPassword convener_password,
  1143. * PGCCPassword password,
  1144. * BOOL use_password_in_the_clear,
  1145. * BOOL conference_is_locked,
  1146. * BOOL conference_is_listed,
  1147. * BOOL conference_is_conductible,
  1148. * GCCTerminationMethod termination_method,
  1149. * PGCCConferencePrivileges conduct_privilege_list,
  1150. * PGCCConferencePrivileges conduct_mode_privilege_list,
  1151. * PGCCConferencePrivileges non_conduct_privilege_list,
  1152. * LPWSTR pwszConfDescriptor,
  1153. * LPWSTR pwszCallerID,
  1154. * TransportAddress calling_address,
  1155. * TransportAddress called_address,
  1156. * PDomainParameters domain_parameters,
  1157. * UINT number_of_network_addresses,
  1158. * PGCCNetworkAddress * local_network_address_list,
  1159. * UINT number_of_user_data_members,
  1160. * PGCCUserData * user_data_list,
  1161. * PConnectionHandle connection_handle);
  1162. *
  1163. * Public member function of CControlSAP.
  1164. *
  1165. * Function Description:
  1166. * This function is called by the interface when it gets a conference
  1167. * create request from the node controller. This function just passes this
  1168. * request to the controller via an owner callback.
  1169. *
  1170. * Formal Parameters:
  1171. * conference_name (i) Name of the conference.
  1172. * conference_modifier (i) Conference modifier numeric string.
  1173. * convener_password (i) Password used for convener privileges.
  1174. * password (i) Password used for conference create.
  1175. * use_password_in_the_clear (i) Flag indicating use clear password.
  1176. * conference_is_locked (i) Flag indicating if conference is locked.
  1177. * conference_is_listed (i) Flag indicating if conference is listed
  1178. * in roster.
  1179. * conference_is_conductible (i) Flag indicating if conference is
  1180. * conductable.
  1181. * termination_method (i) Method of termination to use.
  1182. * conduct_privilege_list (i) List of conductor privileges.
  1183. * conduct_mode_privilege_list (i) List of privileges available when in
  1184. * conducted mode.
  1185. * non_conduct_privilege_list (i) List of privileges available when not
  1186. * in conducted mode.
  1187. * pwszConfDescriptor (i) Conference descriptor string.
  1188. * pwszCallerID (i) Caller identifier string.
  1189. * calling_address (i) Transport address of caller.
  1190. * called_address (i) Transport address of party being called.
  1191. * domain_parameters (i) Structure holding domain parameters.
  1192. * number_of_network_addresses (i) Number of network addresses.
  1193. * local_network_address_list (i) List of local network addresses.
  1194. * number_of_user_data_members (i) Number of items in user data list.
  1195. * user_data_list (i) List of user data items.
  1196. * connection_handle (i) Logical connection handle.
  1197. *
  1198. * Return Value:
  1199. * GCC_NO_ERROR - No error occurred.
  1200. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1201. * GCC_INVALID_CONFERENCE_NAME - Invalid conference name passed in.
  1202. * GCC_INVALID_CONFERENCE_MODIFIER - Invalid conference modifier passed.
  1203. * GCC_FAILURE_CREATING_DOMAIN - Failure creating domain.
  1204. * GCC_BAD_NETWORK_ADDRESS - Bad network address passed in.
  1205. * GCC_BAD_NETWORK_ADDRESS_TYPE - Bad network address type passed in.
  1206. * GCC_CONFERENCE_ALREADY_EXISTS - Conference specified already exists.
  1207. * GCC_INVALID_TRANSPORT - Cannot find specified transport.
  1208. * GCC_INVALID_ADDRESS_PREFIX - Bad transport address passed in.
  1209. * GCC_INVALID_TRANSPORT_ADDRESS - Bad transport address
  1210. * GCC_INVALID_PASSWORD - Invalid password passed in.
  1211. * GCC_FAILURE_ATTACHING_TO_MCS - Failure creating MCS user attachment
  1212. * GCC_BAD_USER_DATA - Invalid user data passed in.
  1213. * GCC_BAD_CONNECTION_HANDLE_POINTER - Null connection handle ptr passed in
  1214. *
  1215. * Side Effects:
  1216. * None.
  1217. *
  1218. * Caveats:
  1219. * None.
  1220. */
  1221. /*
  1222. * GCCError ConfCreateResponse (
  1223. * PGCCConferenceName conference_name,
  1224. * GCCNumericString conference_modifier,
  1225. * GCCConfID conference_id,
  1226. * BOOL use_password_in_the_clear,
  1227. * PDomainParameters domain_parameters,
  1228. * UINT number_of_network_addresses,
  1229. * PGCCNetworkAddress * local_network_address_list,
  1230. * UINT number_of_user_data_members,
  1231. * PGCCUserData * user_data_list,
  1232. * GCCResult result);
  1233. *
  1234. * Public member function of CControlSAP.
  1235. *
  1236. * Function Description:
  1237. * This function is called by the interface when it gets a conference
  1238. * create response from the node controller, to be sent to the provider
  1239. * that issued the conference create request. This function just passes
  1240. * this request to the controller via an owner callback.
  1241. *
  1242. * Formal Parameters:
  1243. * conference_name (i) Name of conference.
  1244. * conference_modifier (i) Conference modifier numeric string.
  1245. * conference_id (i) Conference ID.
  1246. * use_password_in_the_clear (i) Flag indicating password is clear.
  1247. * domain_parameters (i) Structure holding domain parameters.
  1248. * number_of_network_addresses (i) Number of local network addresses.
  1249. * local_network_address_list (i) List of local network addresses.
  1250. * number_of_user_data_members (i) Number of items in list of user data.
  1251. * user_data_list, (i) List of user data items.
  1252. * result (i) Result code for the create.
  1253. *
  1254. * Return Value:
  1255. * GCC_NO_ERROR - No error occurred.
  1256. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1257. * GCC_INVALID_CONFERENCE - An invalid conference was passed in.
  1258. * GCC_INVALID_CONFERENCE_NAME - Invalid conference name passed in.
  1259. * GCC_INVALID_CONFERENCE_MODIFIER - Invalid conference modifier passed in.
  1260. * GCC_FAILURE_CREATING_DOMAIN - Failure creating domain.
  1261. * GCC_CONFERENCE_ALREADY_EXISTS - Conference specified already exists.
  1262. * GCC_BAD_USER_DATA - Invalid user data passed in.
  1263. * GCC_FAILURE_ATTACHING_TO_MCS - Failure creating MCS user attachment
  1264. *
  1265. * Side Effects:
  1266. * None.
  1267. *
  1268. * Caveats:
  1269. * None.
  1270. */
  1271. /*
  1272. * GCCError ConfQueryRequest (
  1273. * GCCNodeType node_type,
  1274. * PGCCAsymmetryIndicator asymmetry_indicator,
  1275. * TransportAddress calling_address,
  1276. * TransportAddress called_address,
  1277. * UINT number_of_user_data_members,
  1278. * PGCCUserData * user_data_list,
  1279. * PConnectionHandle connection_handle);
  1280. *
  1281. * Public member function of CControlSAP.
  1282. *
  1283. * Function Description:
  1284. * This function is called by the interface when it gets a conference
  1285. * query request from the node controller. This function just passes
  1286. * this request to the controller via an owner callback.
  1287. *
  1288. * Formal Parameters:
  1289. * node_type (i) Type of node (terminal, MCU, both).
  1290. * asymmetry_indicator (i) Structure used to indicate caller and
  1291. * called nodes.
  1292. * calling_address (i) Transport address of calling node.
  1293. * called_address (i) Transport address of node being called.
  1294. * number_of_user_data_members (i) Number of items in list of user data.
  1295. * user_data_list (i) List of user data items.
  1296. * connection_handle (i) Logical connection handle.
  1297. *
  1298. * Return Value:
  1299. * GCC_NO_ERROR - No error occurred.
  1300. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1301. * GCC_INVALID_ADDRESS_PREFIX - Bad transport address passed in.
  1302. * GCC_INVALID_TRANSPORT - Bad transport address passed in.
  1303. * GCC_BAD_USER_DATA - Invalid user data passed in.
  1304. * GCC_INVALID_TRANSPORT_ADDRESS - Bad transport address passed in.
  1305. * GCC_BAD_CONNECTION_HANDLE_POINTER - Bad connection handle ptr. passed.
  1306. * GCC_INVALID_NODE_TYPE - Invalid node type passed in.
  1307. * GCC_INVALID_ASYMMETRY_INDICATOR - Asymmetry indicator has invalid
  1308. * type.
  1309. *
  1310. * Side Effects:
  1311. * None.
  1312. *
  1313. * Caveats:
  1314. * None.
  1315. */
  1316. /*
  1317. * GCCError ConfQueryResponse (
  1318. * GCCResponseTag query_response_tag,
  1319. * GCCNodeType node_type,
  1320. * PGCCAsymmetryIndicator asymmetry_indicator,
  1321. * UINT number_of_user_data_members,
  1322. * PGCCUserData * user_data_list,
  1323. * GCCResult result);
  1324. *
  1325. * Public member function of CControlSAP.
  1326. *
  1327. * Function Description:
  1328. * This function is called by the DLL interface when it gets a conference
  1329. * query response from the node controller. This function just passes
  1330. * this response to the controller via an owner callback.
  1331. *
  1332. * Formal Parameters:
  1333. * query_response_tag (i) Tag identifying the query response.
  1334. * node_type (i) Type of node (terminal, MCU, both).
  1335. * asymmetry_indicator (i) Structure used to identify the caller
  1336. * and called nodes.
  1337. * number_of_user_data_members (i) Number of items in list of user data.
  1338. * user_data_list (i) List of user data items.
  1339. * result (i) Result code for query.
  1340. *
  1341. * Return Value:
  1342. * GCC_NO_ERROR - No error occurred.
  1343. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1344. * GCC_BAD_NETWORK_ADDRESS - Bad network address passed in.
  1345. * GCC_BAD_NETWORK_ADDRESS_TYPE - Bad network address type passed in.
  1346. * GCC_BAD_USER_DATA - Invalid user data passed in.
  1347. * GCC_INVALID_NODE_TYPE - Invalid node type passed in.
  1348. * GCC_INVALID_ASYMMETRY_INDICATOR - Invalid asymmetry indicator.
  1349. *
  1350. * Side Effects:
  1351. * None.
  1352. *
  1353. * Caveats:
  1354. * None.
  1355. */
  1356. /*
  1357. * GCCError AnnouncePresenceRequest (
  1358. * GCCConfID conference_id,
  1359. * GCCNodeType node_type,
  1360. * GCCNodeProperties node_properties,
  1361. * LPWSTR node_name,
  1362. * UINT number_of_participants,
  1363. * LPWSTR * participant_name_list,
  1364. * LPWSTR pwszSiteInfo,
  1365. * UINT number_of_network_addresses,
  1366. * PGCCNetworkAddress * network_address_list,
  1367. * LPOSTR alternative_node_id,
  1368. * UINT number_of_user_data_members,
  1369. * PGCCUserData * user_data_list);
  1370. *
  1371. * Public member function of CControlSAP.
  1372. *
  1373. * Function Description:
  1374. * This function is called by the interface when it gets an announce
  1375. * presence request from the node controller. This function passes this
  1376. * request on to the appropriate conference object as obtained from
  1377. * the list of command targets that control sap maintains. The ConferenceID
  1378. * passed in is used to index the list of command targets to get the
  1379. * correct conference.
  1380. *
  1381. * Formal Parameters:
  1382. * conference_id (i) Conference identifier value.
  1383. * node_type (i) Type of node (terminal, MCU, both).
  1384. * node_properties (i) Properties of the node.
  1385. * node_name (i) Name of the node.
  1386. * number_of_participants (i) Number of participants in the conference
  1387. * participant_name_list (i) List of conference participants names.
  1388. * pwszSiteInfo (i) Other information about the node.
  1389. * number_of_network_addresses (i) Number of local network addresses.
  1390. * network_address_list (i) List of local network addresses.
  1391. * alternative_node_id (i) ID used to associate announcing node
  1392. * with an alternative node.
  1393. * number_of_user_data_members (i) Number of items in list of user data.
  1394. * user_data_list (i) List of user data items.
  1395. *
  1396. * Return Value:
  1397. * GCC_NO_ERROR - No error.
  1398. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1399. * GCC_BAD_NETWORK_ADDRESS - If an invalid network address is
  1400. * passed in as part of the record.
  1401. * GCC_BAD_USER_DATA - If an invalid user data list is
  1402. * passed in as part of the record.
  1403. * GCC_CONFERENCE_NOT_ESTABLISHED - Conference object has not completed
  1404. * its establishment process.
  1405. * GCC_INVALID_NODE_TYPE - Invalid node type passed in.
  1406. * GCC_INVALID_NODE_PROPERTIES - Invalid node properties passed in.
  1407. * GCC_INVALID_CONFERENCE - Conference not present.
  1408. *
  1409. * Side Effects:
  1410. * None.
  1411. *
  1412. * Caveats:
  1413. * None.
  1414. */
  1415. /*
  1416. * GCCError ConfJoinRequest (
  1417. * PGCCConferenceName conference_name,
  1418. * GCCNumericString called_node_modifier,
  1419. * GCCNumericString calling_node_modifier,
  1420. * PGCCPassword convener_password,
  1421. * PGCCChallengeRequestResponse password_challenge,
  1422. * LPWSTR pwszCallerID,
  1423. * TransportAddress calling_address,
  1424. * TransportAddress called_address,
  1425. * PDomainParameters domain_parameters,
  1426. * UINT number_of_network_addresses,
  1427. * PGCCNetworkAddress * local_network_address_list,
  1428. * UINT number_of_user_data_members,
  1429. * PGCCUserData * user_data_list,
  1430. * PConnectionHandle connection_handle);
  1431. *
  1432. * Public member function of CControlSAP.
  1433. *
  1434. * Function Description:
  1435. * This function is called by the interface when it gets a conference
  1436. * join request from the node controller, to be sent to the top provider
  1437. * either directly or through a directly connected intermediate provider.
  1438. * This function just passes this request to the controller via an owner
  1439. * callback.
  1440. *
  1441. * Formal Parameters:
  1442. * conference_name (i) Name of conference.
  1443. * called_node_modifier (i) Numeric modifier string for called node.
  1444. * calling_node_modifier (i) Numeric modifier string for calling node
  1445. * convener_password (i) Password used for convener privileges.
  1446. * password_challenge (i) Password challenge used for join.
  1447. * pwszCallerID (i) Calling node identifier string.
  1448. * calling_address (i) Transport address of calling node.
  1449. * called_address (i) Transport address of node being called.
  1450. * domain_parameters (i) Structure holding domain parameters.
  1451. * number_of_network_addresses (i) Number of local network addresses.
  1452. * local_network_address_list (i) List of local network addresses.
  1453. * number_of_user_data_members (i) Number of items in list of user data.
  1454. * user_data_list, (i) List of user data items.
  1455. * connection_handle (i) Logical connection handle.
  1456. *
  1457. * Return Value:
  1458. * GCC_NO_ERROR - No error occurred.
  1459. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1460. * GCC_INVALID_CONFERENCE_NAME - Invalid conference name passed in.
  1461. * GCC_FAILURE_CREATING_DOMAIN - Failure creating domain.
  1462. * GCC_BAD_NETWORK_ADDRESS - Bad network address passed in.
  1463. * GCC_BAD_NETWORK_ADDRESS_TYPE - Bad network address type passed in.
  1464. * GCC_CONFERENCE_ALREADY_EXISTS - Conference specified already exists.
  1465. * GCC_INVALID_ADDRESS_PREFIX - Bad transport address passed in.
  1466. * GCC_INVALID_TRANSPORT - Bad transport address passed in.
  1467. * GCC_INVALID_PASSWORD - Invalid password passed in.
  1468. * GCC_BAD_USER_DATA - Invalid user data passed in.
  1469. * GCC_FAILURE_ATTACHING_TO_MCS - Failure creating MCS user attachment
  1470. * GCC_INVALID_CONFERENCE_MODIFIER - Invalid conference modifier passed in.
  1471. * GCC_BAD_CONNECTION_HANDLE_POINTER - Bad connection handle ptr. passed in
  1472. * GCC_INVALID_TRANSPORT_ADDRESS - Called address passed in is NULL.
  1473. *
  1474. * Side Effects:
  1475. * None.
  1476. *
  1477. * Caveats:
  1478. * None.
  1479. */
  1480. /*
  1481. * GCCError ConfJoinResponse (
  1482. * GCCResponseTag join_response_tag,
  1483. * PGCCChallengeRequestResponse password_challenge,
  1484. * UINT number_of_user_data_members,
  1485. * PGCCUserData * user_data_list,
  1486. * GCCResult result);
  1487. *
  1488. * Public member function of CControlSAP.
  1489. *
  1490. * Function Description:
  1491. * This function is called by the interface when it gets a conference
  1492. * join response from the node controller. This routine is responsible
  1493. * for routing the response to either the conference that made the
  1494. * request or the controller. Responses which are routed to a conference
  1495. * are associated with requests that originate at a subnode that is a
  1496. * node removed from the Top Provider.
  1497. *
  1498. * Formal Parameters:
  1499. * join_response_tag (i) Tag identifying the join response.
  1500. * password_challenge (i) Password challenge structure.
  1501. * number_of_user_data_members (i) Number of user data items in list.
  1502. * user_data_list (i) List of user data items.
  1503. * result (i) Result of join.
  1504. *
  1505. * Return Value:
  1506. * GCC_NO_ERROR - No error occurred.
  1507. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1508. * GCC_INVALID_JOIN_RESPONSE_TAG - No match found for join response tag
  1509. * GCC_INVALID_CONFERENCE_NAME - Invalid conference name passed in.
  1510. * GCC_FAILURE_CREATING_DOMAIN - Failure creating domain.
  1511. * GCC_CONFERENCE_ALREADY_EXISTS - Conference specified already exists.
  1512. * GCC_INVALID_PASSWORD - Invalid password passed in.
  1513. * GCC_BAD_USER_DATA - Invalid user data passed in.
  1514. * GCC_INVALID_CONFERENCE - Invalid conference ID passed in.
  1515. * GCC_DOMAIN_PARAMETERS_UNACCEPTABLE - Domain parameters were
  1516. * unacceptable for this connection.
  1517. *
  1518. * Side Effects:
  1519. * None.
  1520. *
  1521. * Caveats:
  1522. * None.
  1523. */
  1524. /*
  1525. * GCCError ConfInviteRequest (
  1526. * GCCConfID conference_id,
  1527. * LPWSTR pwszCallerID,
  1528. * TransportAddress calling_address,
  1529. * TransportAddress called_address,
  1530. * UINT number_of_user_data_members,
  1531. * PGCCUserData * user_data_list,
  1532. * PConnectionHandle connection_handle);
  1533. *
  1534. * Public member function of CControlSAP.
  1535. *
  1536. * Function Description:
  1537. * This function is called by the interface when it gets a conference
  1538. * invite request from the node controller. This function passes the
  1539. * request on to the appropriate conference object as obtained from
  1540. * the list of command targets that the control sap maintains.
  1541. *
  1542. * Formal Parameters:
  1543. * conference_id (i) Conference identifier.
  1544. * pwszCallerID (i) Identifier string of calling node.
  1545. * calling_address (i) Transport address of calling node.
  1546. * called_address (i) Transport address of node being called.
  1547. * number_of_user_data_members (i) Number of items in user data list.
  1548. * user_data_list (i) List of user data items.
  1549. * connection_handle (i) Logical connection handle.
  1550. *
  1551. * Return Value:
  1552. * GCC_NO_ERROR - No error.
  1553. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1554. * GCC_INVALID_TRANSPORT_ADDRESS - Something wrong with transport address
  1555. * GCC_INVALID_ADDRESS_PREFIX - Invalid transport address prefix
  1556. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  1557. * its establishment process.
  1558. * GCC_BAD_CONNECTION_HANDLE_POINTER - Connection handle pointer invalid.
  1559. * GCC_INVALID_CONFERENCE - Invalid conference ID passed in.
  1560. *
  1561. * Side Effects:
  1562. * None.
  1563. *
  1564. * Caveats:
  1565. * None.
  1566. */
  1567. /*
  1568. * GCCError ConfInviteResponse (
  1569. * GCCConfID conference_id,
  1570. * GCCNumericString conference_modifier,
  1571. * PDomainParameters domain_parameters,
  1572. * UINT number_of_network_addresses,
  1573. * PGCCNetworkAddress * local_network_address_list,
  1574. * UINT number_of_user_data_members,
  1575. * PGCCUserData * user_data_list,
  1576. * GCCResult result);
  1577. *
  1578. * Public member function of CControlSAP.
  1579. *
  1580. * Function Description:
  1581. * This function is called by the interface when it gets a conference
  1582. * invite response from the node controller. This function passes the
  1583. * response on to the appropriate conference object as obtained from
  1584. * the list of command targets that the control sap maintains.
  1585. *
  1586. * Formal Parameters:
  1587. * conference_id (i) Conference identifier.
  1588. * conference_modifier (i) Modifier string for conference.
  1589. * domain_parameters (i) Structure holding domain parameters.
  1590. * number_of_network_addresses (i) Number of local network addresses.
  1591. * local_network_address_list (i) List of local network addresses.
  1592. * number_of_user_data_members (i) Number of items in list of user data.
  1593. * user_data_list, (i) List of user data items.
  1594. * result (i) Result of invitation.
  1595. *
  1596. * Return Value:
  1597. * GCC_NO_ERROR - No error occurred.
  1598. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1599. * GCC_INVALID_CONFERENCE_NAME - Invalid conference name passed in.
  1600. * GCC_FAILURE_CREATING_DOMAIN - Failure creating domain.
  1601. * GCC_CONFERENCE_ALREADY_EXISTS - Conference specified already exists.
  1602. * GCC_BAD_USER_DATA - Invalid user data passed in.
  1603. * GCC_INVALID_CONFERENCE - Invalid conference ID passed in.
  1604. * GCC_FAILURE_ATTACHING_TO_MCS - Failure creating MCS user attachment
  1605. * GCC_INVALID_CONFERENCE_MODIFIER - Invalid conference modifier passed in.
  1606. * GCC_DOMAIN_PARAMETERS_UNACCEPTABLE - Domain parameters were
  1607. * unacceptable for this connection.
  1608. *
  1609. * Side Effects:
  1610. * None.
  1611. *
  1612. * Caveats:
  1613. * None.
  1614. */
  1615. /*
  1616. * GCCError ConfLockRequest (
  1617. * GCCConfID conference_id);
  1618. *
  1619. * Public member function of CControlSAP.
  1620. *
  1621. * Function Description:
  1622. * This function is called by the interface when it gets a conference
  1623. * lock request from the node controller. This function passes the
  1624. * request on to the appropriate conference object as obtained from
  1625. * the list of command targets that the control sap maintains.
  1626. *
  1627. * Formal Parameters:
  1628. * conference_id (i) Conference identifier.
  1629. *
  1630. * Return Value:
  1631. * GCC_NO_ERROR - No error.
  1632. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1633. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  1634. * its establishment process.
  1635. * GCC_INVALID_CONFERENCE - Conference ID not valid.
  1636. *
  1637. * Side Effects:
  1638. * None.
  1639. *
  1640. * Caveats:
  1641. * None.
  1642. */
  1643. /*
  1644. * GCCError ConfLockResponse (
  1645. * GCCConfID conference_id,
  1646. * UserID requesting_node,
  1647. * GCCResult result);
  1648. *
  1649. * Public member function of CControlSAP.
  1650. *
  1651. * Function Description:
  1652. * This function is called by the interface when it gets a conference
  1653. * lock response from the node controller. This function passes the
  1654. * response on to the appropriate conference object as obtained from
  1655. * the list of command targets that the control sap maintains.
  1656. *
  1657. * Formal Parameters:
  1658. * conference_id (i) Conference identifier.
  1659. * requesting_node (i) Node ID of the requesting node.
  1660. * result (i) Result of conference lock request.
  1661. *
  1662. * Return Value:
  1663. * GCC_NO_ERROR - No error.
  1664. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1665. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  1666. * its establishment process.
  1667. * GCC_INVALID_CONFERENCE - Conference ID not valid.
  1668. *
  1669. * Side Effects:
  1670. * None.
  1671. *
  1672. * Caveats:
  1673. * None.
  1674. */
  1675. /*
  1676. * GCCError ConfUnlockRequest (
  1677. * GCCConfID conference_id);
  1678. *
  1679. * Public member function of CControlSAP.
  1680. *
  1681. * Function Description:
  1682. * This function is called by the interface when it gets a conference
  1683. * unlock request from the node controller. This function passes the
  1684. * request on to the appropriate conference object as obtained from
  1685. * the list of command targets that the control sap maintains.
  1686. *
  1687. * Formal Parameters:
  1688. * conference_id (i) Conference identifier.
  1689. *
  1690. * Return Value:
  1691. * GCC_NO_ERROR - No error.
  1692. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1693. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  1694. * its establishment process.
  1695. * GCC_INVALID_CONFERENCE - Conference ID not valid.
  1696. *
  1697. * Side Effects:
  1698. * None.
  1699. *
  1700. * Caveats:
  1701. * None.
  1702. */
  1703. /*
  1704. * GCCError ConfUnlockResponse (
  1705. * GCCConfID conference_id,
  1706. * UserID requesting_node,
  1707. * GCCResult result);
  1708. *
  1709. * Public member function of CControlSAP.
  1710. *
  1711. * Function Description:
  1712. * This function is called by the interface when it gets a conference
  1713. * lock request from the node controller. This function passes the
  1714. * request on to the appropriate conference object as obtained from
  1715. * the list of command targets that the control sap maintains.
  1716. *
  1717. * Formal Parameters:
  1718. * conference_id (i) Conference identifier.
  1719. * requesting_node (i) Node ID of the requesting node.
  1720. * result (i) Result of conference lock request.
  1721. *
  1722. * Return Value:
  1723. * GCC_NO_ERROR - No error.
  1724. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1725. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  1726. * its establishment process.
  1727. * GCC_INVALID_CONFERENCE - Conference ID not valid.
  1728. *
  1729. * Side Effects:
  1730. * None.
  1731. *
  1732. * Caveats:
  1733. * None.
  1734. */
  1735. /*
  1736. * GCCError ConfDisconnectRequest(
  1737. * GCCConfID conference_id);
  1738. *
  1739. * Public member function of CControlSAP.
  1740. *
  1741. * Function Description:
  1742. * This function is called by the interface when it gets a conference
  1743. * disconnect request from the node controller. This function passes the
  1744. * request on to the appropriate conference object as obtained from
  1745. * the list of command targets that the control sap maintains.
  1746. *
  1747. * Formal Parameters:
  1748. * conference_id (i) Conference identifier.
  1749. *
  1750. * Return Value:
  1751. * GCC_NO_ERROR - No error.
  1752. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1753. * GCC_INVALID_CONFERENCE - Conference ID not valid.
  1754. *
  1755. * Side Effects:
  1756. * None.
  1757. *
  1758. * Caveats:
  1759. * None.
  1760. */
  1761. /*
  1762. * GCCError ConfTerminateRequest(
  1763. * GCCConfID conference_id,
  1764. * GCCReason reason);
  1765. *
  1766. * Public member function of CControlSAP.
  1767. *
  1768. * Function Description:
  1769. * This function is called by the interface when it gets a conference
  1770. * terminate request from the node controller. This function passes the
  1771. * request on to the appropriate conference object as obtained from
  1772. * the list of command targets that the control sap maintains.
  1773. *
  1774. * Formal Parameters:
  1775. * conference_id (i) Conference identifier.
  1776. * reason (i) Reason for the termination.
  1777. *
  1778. * Return Value:
  1779. * GCC_NO_ERROR - No error.
  1780. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1781. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  1782. * its establishment process.
  1783. * GCC_INVALID_CONFERENCE - Conference ID not valid.
  1784. *
  1785. * Side Effects:
  1786. * None.
  1787. *
  1788. * Caveats:
  1789. * None.
  1790. */
  1791. /*
  1792. * GCCError ConfDisconnectConfirm (
  1793. * GCCConfID conference_id,
  1794. * GCCResult result);
  1795. *
  1796. * Public member function of CControlSAP.
  1797. *
  1798. * Function Description:
  1799. * This function is called by the Conference when it need to send a
  1800. * conference disconnect confirm to the node controller. It adds the
  1801. * message to a queue of messages to be sent to the node controller in
  1802. * the next heartbeat.
  1803. *
  1804. * Formal Parameters:
  1805. * conference_id (i) Conference identifier.
  1806. * result (i) Result of disconnect attempt.
  1807. *
  1808. * Return Value:
  1809. * GCC_NO_ERROR - No error.
  1810. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1811. *
  1812. * Side Effects:
  1813. * None.
  1814. *
  1815. * Caveats:
  1816. * None.
  1817. */
  1818. /*
  1819. * GCCError ConfEjectUserRequest (
  1820. * GCCConfID conference_id,
  1821. * UserID ejected_node_id,
  1822. * GCCReason reason);
  1823. *
  1824. * Public member function of CControlSAP.
  1825. *
  1826. * Function Description:
  1827. * This function is called by the interface when it gets a conference
  1828. * eject user request from the node controller. This function passes the
  1829. * request on to the appropriate conference object as obtained from
  1830. * the list of command targets that the control sap maintains.
  1831. *
  1832. * Formal Parameters:
  1833. * conference_id (i) Conference identifier.
  1834. * ejected_node_id (i) Node ID of node being ejected.
  1835. * reason (i) Reason for the ejection.
  1836. *
  1837. * Return Value:
  1838. * GCC_NO_ERROR - No error.
  1839. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1840. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  1841. * its establishment process.
  1842. * GCC_INVALID_MCS_USER_ID - Invalid eject node ID.
  1843. * GCC_INVALID_CONFERENCE - Invalid conference ID.
  1844. *
  1845. * Side Effects:
  1846. * None.
  1847. *
  1848. * Caveats:
  1849. * None.
  1850. */
  1851. /*
  1852. * GCCError ConductorAssignRequest(
  1853. * GCCConfID conference_id);
  1854. *
  1855. * Public member function of CControlSAP.
  1856. *
  1857. * Function Description:
  1858. * This function is called by the interface when it gets a conductor
  1859. * assign request from the node controller. This function passes the
  1860. * request on to the appropriate conference object as obtained from
  1861. * the list of command targets that the control sap maintains.
  1862. *
  1863. * Formal Parameters:
  1864. * conference_id (i) The conference identifier.
  1865. *
  1866. * Return Value:
  1867. * GCC_NO_ERROR - No error.
  1868. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1869. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  1870. * its establishment process.
  1871. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  1872. *
  1873. * Side Effects:
  1874. * None.
  1875. *
  1876. * Caveats:
  1877. * None.
  1878. */
  1879. /*
  1880. * GCCError ConductorReleaseRequest(
  1881. * GCCConfID conference_id);
  1882. *
  1883. * Public member function of CControlSAP.
  1884. *
  1885. * Function Description:
  1886. * This function is called by the interface when it gets a conductor
  1887. * release request from the node controller. This function passes the
  1888. * request on to the appropriate conference object as obtained from
  1889. * the list of command targets that the control sap maintains.
  1890. *
  1891. * Formal Parameters:
  1892. * conference_id (i) The conference identifier.
  1893. *
  1894. * Return Value:
  1895. * GCC_NO_ERROR - No error.
  1896. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1897. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  1898. * its establishment process.
  1899. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  1900. *
  1901. * Side Effects:
  1902. * None.
  1903. *
  1904. * Caveats:
  1905. * None.
  1906. */
  1907. /*
  1908. * GCCError ConductorPleaseRequest(
  1909. * GCCConfID conference_id);
  1910. *
  1911. * Public member function of CControlSAP.
  1912. *
  1913. * Function Description:
  1914. * This function is called by the interface when it gets a conductor
  1915. * please request from the node controller. This function passes the
  1916. * request on to the appropriate conference object as obtained from
  1917. * the list of command targets that the control sap maintains.
  1918. *
  1919. * Formal Parameters:
  1920. * conference_id (i) The conference identifier.
  1921. *
  1922. * Return Value:
  1923. * GCC_NO_ERROR - No error.
  1924. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1925. * GCC_INVALID_CONFERENCE - Conference ID is invalid.
  1926. *
  1927. * Side Effects:
  1928. * None.
  1929. *
  1930. * Caveats:
  1931. * None.
  1932. */
  1933. /*
  1934. * GCCError ConductorGiveRequest(
  1935. * GCCConfID conference_id,
  1936. * UserID recipient_user_id);
  1937. *
  1938. * Public member function of CControlSAP.
  1939. *
  1940. * Function Description:
  1941. * This function is called by the interface when it gets a conductor
  1942. * give request from the node controller. This function passes the
  1943. * request on to the appropriate conference object as obtained from
  1944. * the list of command targets that the control sap maintains.
  1945. *
  1946. * Formal Parameters:
  1947. * conference_id (i) The conference identifier.
  1948. * recipient_user_id (i) ID of user to give conductroship to.
  1949. *
  1950. * Return Value:
  1951. * GCC_NO_ERROR - No error.
  1952. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1953. * GCC_INVALID_MCS_USER_ID - Recipient user ID invalid.
  1954. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  1955. *
  1956. * Side Effects:
  1957. * None.
  1958. *
  1959. * Caveats:
  1960. * None.
  1961. */
  1962. /*
  1963. * GCCError ConductorGiveResponse(
  1964. * GCCConfID conference_id,
  1965. * GCCResult result);
  1966. *
  1967. * Public member function of CControlSAP.
  1968. *
  1969. * Function Description:
  1970. * This function is called by the interface when it gets a conductor
  1971. * give response from the node controller. This function passes the
  1972. * response on to the appropriate conference object as obtained from
  1973. * the list of command targets that the control sap maintains.
  1974. *
  1975. * Formal Parameters:
  1976. * conference_id (i) The conference identifier.
  1977. * result (i) Result of the conductorship give.
  1978. *
  1979. * Return Value:
  1980. * GCC_NO_ERROR - No error.
  1981. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  1982. * GCC_NO_GIVE_RESPONSE_PENDING - A give indication was never issued.
  1983. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  1984. *
  1985. * Side Effects:
  1986. * None.
  1987. *
  1988. * Caveats:
  1989. * None.
  1990. */
  1991. /*
  1992. * GCCError ConductorPermitGrantRequest(
  1993. * GCCConfID conference_id,
  1994. * UINT number_granted,
  1995. * PUserID granted_node_list,
  1996. * UINT number_waiting,
  1997. * PUserID waiting_node_list);
  1998. *
  1999. * Public member function of CControlSAP.
  2000. *
  2001. * Function Description:
  2002. * This function is called by the interface when it gets a conductor
  2003. * permit grant request from the node controller. This function passes the
  2004. * request on to the appropriate conference object as obtained from
  2005. * the list of command targets that the control sap maintains.
  2006. *
  2007. * Formal Parameters:
  2008. * conference_id (i) The conference identifier value.
  2009. * number_granted (i) Number of nodes being granted permission.
  2010. * granted_node_list (i) List of nodes being granted permission.
  2011. * number_waiting (i) Number of nodes waiting for permission.
  2012. * waiting_node_list (i) List of nodes waiting for permission.
  2013. *
  2014. * Return Value:
  2015. * GCC_NO_ERROR - No error.
  2016. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  2017. * GCC_INVALID_MCS_USER_ID - Invalid user ID in the granted node
  2018. * list.
  2019. * GCC_INVALID_CONFERENCE - The conference ID is invalid.
  2020. *
  2021. * Side Effects:
  2022. * None.
  2023. *
  2024. * Caveats:
  2025. * None.
  2026. */
  2027. /*
  2028. * GCCError ConfTimeRemainingRequest (
  2029. * GCCConfID conference_id,
  2030. * UINT time_remaining,
  2031. * UserID node_id);
  2032. *
  2033. * Public member function of CControlSAP.
  2034. *
  2035. * Function Description:
  2036. * This function is called by the interface when it gets a conference time
  2037. * remaining request from the node controller. This function passes the
  2038. * request on to the appropriate conference object as obtained from
  2039. * the list of command targets that the control sap maintains.
  2040. *
  2041. * Formal Parameters:
  2042. * conference_id (i) Conference identifier value.
  2043. * time_remaining (i) Time remaining in the conference (in sec.).
  2044. * node_id (i) If present, indicates time remaining applies
  2045. * only to this node.
  2046. *
  2047. * Return Value:
  2048. * GCC_NO_ERROR - No error.
  2049. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  2050. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  2051. * its establishment process.
  2052. * GCC_INVALID_MCS_USER_ID - Invalid node ID.
  2053. * GCC_INVALID_CONFERENCE - Invalid conference ID.
  2054. *
  2055. * Side Effects:
  2056. * None.
  2057. *
  2058. * Caveats:
  2059. * None.
  2060. */
  2061. /*
  2062. * GCCError ConfTimeInquireRequest (
  2063. * GCCConfID conference_id,
  2064. * BOOL time_is_conference_wide);
  2065. *
  2066. * Public member function of CControlSAP.
  2067. *
  2068. * Function Description:
  2069. * This function is called by the interface when it gets a conference time
  2070. * inquire request from the node controller. This function passes the
  2071. * request on to the appropriate conference object as obtained from
  2072. * the list of command targets that the control sap maintains.
  2073. *
  2074. * Formal Parameters:
  2075. * conference_id (i) Conference identifier value.
  2076. * time_is_conference_wide (i) Flag indicating request is for time
  2077. * remaining in entire conference.
  2078. *
  2079. * Return Value:
  2080. * GCC_NO_ERROR - No error.
  2081. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  2082. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  2083. * its establishment process.
  2084. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  2085. *
  2086. * Side Effects:
  2087. * None.
  2088. *
  2089. * Caveats:
  2090. * None.
  2091. */
  2092. /*
  2093. * GCCError ConfExtendRequest (
  2094. * GCCConfID conference_id,
  2095. * UINT extension_time,
  2096. * BOOL time_is_conference_wide);
  2097. *
  2098. * Public member function of CControlSAP.
  2099. *
  2100. * Function Description:
  2101. * This function is called by the interface when it gets a conference
  2102. * extend request from the node controller. This function passes the
  2103. * request on to the appropriate conference object as obtained from
  2104. * the list of command targets that the control sap maintains.
  2105. *
  2106. * Formal Parameters:
  2107. * conference_id (i) Conference identifier value.
  2108. * extension_time (i) Amount of time to extend the
  2109. * conference (in seconds).
  2110. * time_is_conference_wide (i) Flag indicating time extension is for
  2111. * entire conference.
  2112. *
  2113. * Return Value:
  2114. * GCC_NO_ERROR - No error.
  2115. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  2116. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  2117. * its establishment process.
  2118. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  2119. *
  2120. * Side Effects:
  2121. * None.
  2122. *
  2123. * Caveats:
  2124. * None.
  2125. */
  2126. /*
  2127. * GCCError ConfAssistanceRequest (
  2128. * GCCConfID conference_id,
  2129. * UINT number_of_user_data_members,
  2130. * PGCCUserData * user_data_list);
  2131. *
  2132. * Public member function of CControlSAP.
  2133. *
  2134. * Function Description:
  2135. * This function is called by the interface when it gets a conference
  2136. * assistance request from the node controller. This function passes the
  2137. * request on to the appropriate conference object as obtained from
  2138. * the list of command targets that the control sap maintains.
  2139. *
  2140. * Formal Parameters:
  2141. * conference_id (i) Conference identifier value.
  2142. * number_of_user_data_members (i) Number of items in list of user data.
  2143. * user_data_list (i) List of user data items.
  2144. *
  2145. * Return Value:
  2146. * GCC_NO_ERROR - No error.
  2147. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  2148. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  2149. * its establishment process.
  2150. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  2151. *
  2152. * Side Effects:
  2153. * None.
  2154. *
  2155. * Caveats:
  2156. * None.
  2157. */
  2158. /*
  2159. * GCCError TextMessageRequest (
  2160. * GCCConfID conference_id,
  2161. * LPWSTR pwszTextMsg,
  2162. * UserID destination_node );
  2163. *
  2164. * Public member function of CControlSAP.
  2165. *
  2166. * Function Description:
  2167. * This function is called by the interface when it gets a text message
  2168. * request from the node controller. This function passes the
  2169. * request on to the appropriate conference object as obtained from
  2170. * the list of command targets that the control sap maintains.
  2171. *
  2172. * Formal Parameters:
  2173. * conference_id (i) Conference identifier value.
  2174. * pwszTextMsg (i) Text message to send.
  2175. * destination_node (i) ID of node to receive text message.
  2176. *
  2177. * Return Value:
  2178. * GCC_NO_ERROR - No error.
  2179. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  2180. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  2181. * its establishment process.
  2182. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  2183. * GCC_INVALID_MCS_USER_ID - Destination node invalid.
  2184. *
  2185. * Side Effects:
  2186. * None.
  2187. *
  2188. * Caveats:
  2189. * None.
  2190. */
  2191. /*
  2192. * GCCError ConfTransferRequest (
  2193. * GCCConfID conference_id,
  2194. * PGCCConferenceName destination_conference_name,
  2195. * GCCNumericString destination_conference_modifier,
  2196. * UINT number_of_destination_addresses,
  2197. * PGCCNetworkAddress *destination_address_list,
  2198. * UINT number_of_destination_nodes,
  2199. * PUserID destination_node_list,
  2200. * PGCCPassword password);
  2201. *
  2202. * Public member function of CControlSAP.
  2203. *
  2204. * Function Description:
  2205. * This function is called by the interface when it gets a conference
  2206. * transfer request from the node controller. This function passes the
  2207. * request on to the appropriate conference object as obtained from
  2208. * the list of command targets that the control sap maintains.
  2209. *
  2210. * Formal Parameters:
  2211. * conference_id (i) Conference identifier value.
  2212. * destination_conference_name (i) Name of conference to transfer to.
  2213. * destination_conference_modifier (i) Name modifier of transfer conference
  2214. * number_of_destination_addresses (i) Number of optional called addresses
  2215. * to be included in JoinRequest to
  2216. * be issued by transferring nodes.
  2217. * destination_address_list (i) Optional called address parameter to
  2218. * be included in Join Request to
  2219. * be issued by transferring nodes.
  2220. * number_of_destination_nodes (i) Number of nodes to be transferred.
  2221. * destination_node_list (i) List of nodes to be transferred.
  2222. * password (i) Password to be used for joining
  2223. * transfer conference.
  2224. *
  2225. * Return Value:
  2226. * GCC_NO_ERROR - No error.
  2227. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  2228. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  2229. * its establishment process.
  2230. * GCC_INVALID_CONFERENCE_NAME - Conference name is invalid.
  2231. * GCC_INVALID_CONFERENCE_MODIFIER - Conference modifier is invalid.
  2232. * GCC_INVALID_PASSWORD - Password is invalid.
  2233. * GCC_INVALID_MCS_USER_ID - A destination node ID is invalid.
  2234. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  2235. *
  2236. * Side Effects:
  2237. * None.
  2238. *
  2239. * Caveats:
  2240. * None.
  2241. */
  2242. /*
  2243. * GCCError ConfAddRequest (
  2244. * GCCConfID conference_id,
  2245. * UINT number_of_network_addresses,
  2246. * PGCCNetworkAddress * network_address_list,
  2247. * UserID adding_node,
  2248. * UINT number_of_user_data_members,
  2249. * PGCCUserData * user_data_list );
  2250. *
  2251. * Public member function of CControlSAP.
  2252. *
  2253. * Function Description:
  2254. * This function is called by the interface when it gets a conference
  2255. * add request from the node controller. This function passes the
  2256. * request on to the appropriate conference object as obtained from
  2257. * the list of command targets that the control sap maintains.
  2258. *
  2259. * Formal Parameters:
  2260. * conference_id (i) Conference identifier value.
  2261. * number_of_network_addresses (i) Number of network addresses in list
  2262. * of addresses of adding node.
  2263. * network_address_list (i) List of addresses of adding node.
  2264. * adding_node (i) Node ID of node to add.
  2265. * number_of_user_data_members (i) Number of items in list of user data.
  2266. * user_data_list (i) List of user data items.
  2267. *
  2268. * Return Value:
  2269. * GCC_NO_ERROR - No error.
  2270. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  2271. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  2272. * its establishment process.
  2273. * GCC_INVALID_MCS_USER_ID - Adding node ID invalid.
  2274. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  2275. *
  2276. * Side Effects:
  2277. * None.
  2278. *
  2279. * Caveats:
  2280. * None.
  2281. */
  2282. /*
  2283. * GCCError ConfAddResponse (
  2284. * GCCResponseTag add_response_tag,
  2285. * GCCConfID conference_id,
  2286. * UserID requesting_node,
  2287. * UINT number_of_user_data_members,
  2288. * PGCCUserData * user_data_list,
  2289. * GCCResult result);
  2290. *
  2291. * Public member function of CControlSAP.
  2292. *
  2293. * Function Description:
  2294. * This function is called by the interface when it gets a conference
  2295. * add response from the node controller. This function passes the
  2296. * response on to the appropriate conference object as obtained from
  2297. * the list of command targets that the control sap maintains.
  2298. *
  2299. * Formal Parameters:
  2300. * add_response_tag (i) Tag identifying the Add request.
  2301. * conference_id (i) ID of conference to add node to.
  2302. * requesting_node (i) ID of node requesting the Add.
  2303. * number_of_user_data_members (i) Number of items in user data list.
  2304. * user_data_list (i) List of user data items.
  2305. * result (i) Result of Add.
  2306. *
  2307. * Return Value:
  2308. * GCC_NO_ERROR - No error.
  2309. * GCC_ALLOCATION_FAILURE - A resource error occurred.
  2310. * GCC_CONFERENCE_NOT_ESTABLISHED - CConf object has not completed
  2311. * its establishment process.
  2312. * GCC_INVALID_ADD_RESPONSE_TAG - There was no match of the response tag
  2313. * GCC_INVALID_MCS_USER_ID - Adding node ID invalid.
  2314. * GCC_INVALID_CONFERENCE - Conference ID invalid.
  2315. *
  2316. * Side Effects:
  2317. * None.
  2318. *
  2319. * Caveats:
  2320. * None.
  2321. */
  2322. /*
  2323. * GCCError ConfCreateIndication (
  2324. * PGCCConferenceName conference_name,
  2325. * GCCConfID conference_id,
  2326. * CPassword *convener_password,
  2327. * CPassword *password,
  2328. * BOOL conference_is_locked,
  2329. * BOOL conference_is_listed,
  2330. * BOOL conference_is_conductible,
  2331. * GCCTerminationMethod termination_method,
  2332. * PPrivilegeListData conductor_privilege_list,
  2333. * PPrivilegeListData conduct_mode_privilege_list,
  2334. * PPrivilegeListData non_conduct_privilege_list,
  2335. * LPWSTR pwszConfDescriptor,
  2336. * LPWSTR pwszCallerID,
  2337. * TransportAddress calling_address,
  2338. * TransportAddress called_address,
  2339. * PDomainParameters domain_parameters,
  2340. * CUserDataListContainer *user_data_list,
  2341. * ConnectionHandle connection_handle);
  2342. *
  2343. * Public member function of CControlSAP.
  2344. *
  2345. * Function Description:
  2346. * This function is called by the GCC Controller when it gets a connect
  2347. * provider indication from MCS, carrying a conference create request PDU.
  2348. * This function fills in all the parameters in the CreateIndicationInfo
  2349. * structure. It then adds it to a queue of messages supposed to be sent to
  2350. * the node controller in the next heartbeat.
  2351. *
  2352. * Formal Parameters:
  2353. * conference_name (i) Name of the conference.
  2354. * conference_id (i) ID of the conference.
  2355. * convener_password (i) Password used for convener privileges.
  2356. * password (i) Password used for access restriction.
  2357. * conference_is_locked (i) Flag indicating whether conf. is locked.
  2358. * conference_is_listed (i) Flag indicating whether conf. is listed.
  2359. * conference_is_conductible (i) Flag indicating whether conference is
  2360. * conductable.
  2361. * termination_method (i) Type of termination method.
  2362. * conductor_privilege_list (i) List of privileges granted to conductor
  2363. * by the convener.
  2364. * conduct_mode_privilege_list (i) List of privileges granted to all nodes
  2365. * when in conducted mode.
  2366. * non_conduct_privilege_list (i) List of privileges granted to all nodes
  2367. * when not in conducted mode.
  2368. * pwszConfDescriptor (i) Conference descriptor string.
  2369. * pwszCallerID (i) Caller identifier string.
  2370. * calling_address (i) Transport address of calling node.
  2371. * called_address (i) Tranport address of called node.
  2372. * domain_parameters (i) Conference domain parameters.
  2373. * user_data_list (i) List of user data items.
  2374. * connection_handle (i) Logical connection handle.
  2375. *
  2376. * Return Value:
  2377. * GCC_NO_ERROR - Message successfully queued.
  2378. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  2379. *
  2380. * Side Effects:
  2381. * None.
  2382. *
  2383. * Caveats:
  2384. * None.
  2385. */
  2386. /*
  2387. * GCCError ConfQueryIndication (
  2388. * GCCResponseTag query_response_tag,
  2389. * GCCNodeType node_type,
  2390. * PGCCAsymmetryIndicator asymmetry_indicator,
  2391. * TransportAddress calling_address,
  2392. * TransportAddress called_address,
  2393. * CUserDataListContainer *user_data_list,
  2394. * ConnectionHandle connection_handle);
  2395. *
  2396. * Public member function of CControlSAP.
  2397. *
  2398. * Function Description:
  2399. * This function is called by the GCC Controller when it need to send a
  2400. * conference query indication to the node controller. It adds the message
  2401. * to a queue of messages to be sent to the node controller in the next
  2402. * heartbeat.
  2403. *
  2404. * Formal Parameters:
  2405. * query_response_tag (i) Tag identifying this query.
  2406. * node_type (i) Type of node (terminal, MCU, both).
  2407. * asymmetry_indicator (i) Structure used to identify calling and
  2408. * called nodes.
  2409. * calling_address (i) Transport address of calling node.
  2410. * called_address (i) Transport address of called node.
  2411. * user_data_list (i) List of user data items.
  2412. * connection_handle (i) Logical connection handle.
  2413. *
  2414. * Return Value:
  2415. * GCC_NO_ERROR - Message successfully queued.
  2416. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  2417. *
  2418. * Side Effects:
  2419. * None.
  2420. *
  2421. * Caveats:
  2422. * None.
  2423. */
  2424. /*
  2425. * GCCError ConfQueryConfirm (
  2426. * GCCNodeType node_type,
  2427. * PGCCAsymmetryIndicator asymmetry_indicator,
  2428. * CConfDescriptorListContainer *conference_list,
  2429. * CUserDataListContainer *user_data_list,
  2430. * GCCResult result,
  2431. * ConnectionHandle connection_handle);
  2432. *
  2433. * Public member function of CControlSAP.
  2434. *
  2435. * Function Description:
  2436. * This function is called by the GCC Controller when it need to send a
  2437. * conference query confirm to the node controller. It adds the message
  2438. * to a queue of messages to be sent to the node controller in the next
  2439. * heartbeat.
  2440. *
  2441. * Formal Parameters:
  2442. * node_type (i) Type of node (terminal, MCU, both).
  2443. * asymmetry_indicator (i) Structure used to identify calling and
  2444. * called nodes.
  2445. * conference_list (i) List of available conferences.
  2446. * user_data_list (i) List of user data items.
  2447. * result (i) Result of query.
  2448. * connection_handle (i) Logical connection handle.
  2449. *
  2450. * Return Value:
  2451. * GCC_NO_ERROR - Message successfully queued.
  2452. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  2453. *
  2454. * Side Effects:
  2455. * None.
  2456. *
  2457. * Caveats:
  2458. * None.
  2459. */
  2460. /*
  2461. * GCCError ConfJoinIndication(
  2462. * GCCConfID conference_id,
  2463. * CPassword *convener_password,
  2464. * CPassword *password_challenge,
  2465. * LPWSTR pwszCallerID,
  2466. * TransportAddress calling_address,
  2467. * TransportAddress called_address,
  2468. * CUserDataListContainer *user_data_list,
  2469. * BOOL intermediate_node,
  2470. * ConnectionHandle connection_handle);
  2471. *
  2472. * Public member function of CControlSAP.
  2473. *
  2474. * Function Description:
  2475. * This join indication is recevied from the owner object. This join
  2476. * indication is designed to make the join response very flexible at the
  2477. * node controller. The node controller can respond to this indication
  2478. * by either creating a new conference and moving the joiner into it,
  2479. * putting the joiner in the conference requested or putting the joiner
  2480. * into a different conference that already exist.
  2481. *
  2482. * Formal Parameters:
  2483. * conference_id (i) Conference identifier value.
  2484. * convener_password (i) Password used for convener privileges.
  2485. * password_challenge (i) Password challenge used for join.
  2486. * pwszCallerID (i) Caller identifier string.
  2487. * calling_address (i) Transport address of calling node.
  2488. * called_address (i) Transport address of called node.
  2489. * user_data_list (i) List of user data items.
  2490. * intermediate_node (i) Flag indicating if join made at
  2491. * an intermediate node.
  2492. * connection_handle (i) Logical connection handle.
  2493. *
  2494. * Return Value:
  2495. *
  2496. * Side Effects:
  2497. * None.
  2498. *
  2499. * Caveats:
  2500. * None.
  2501. */
  2502. /*
  2503. * GCCError ???GCCConferenceQueryConfirm (
  2504. * GCCResponseTag query_response_tag,
  2505. * GCCNodeType node_type,
  2506. * PGCCAsymmetryIndicator asymmetry_indicator,
  2507. * TransportAddress calling_address,
  2508. * TransportAddress called_address,
  2509. * CUserDataListContainer *user_data_list,
  2510. * ConnectionHandle connection_handle);
  2511. *
  2512. * Public member function of CControlSAP.
  2513. *
  2514. * Function Description:
  2515. * This function is called by the interface when it gets a conference
  2516. * add request from the node controller. This function passes the
  2517. * request on to the appropriate conference object as obtained from
  2518. * the list of command targets that the control sap maintains.
  2519. *
  2520. * Formal Parameters:
  2521. * conference_id (i) Conference identifier value.
  2522. * number_of_network_addresses (i) Number of network addresses in list
  2523. * of addresses of adding node.
  2524. * network_address_list (i) List of addresses of adding node.
  2525. * adding_node (i) Node ID of node to add.
  2526. * number_of_user_data_members (i) Number of items in list of user data.
  2527. * user_data_list (i) List of user data items.
  2528. *
  2529. * Return Value:
  2530. *
  2531. * Side Effects:
  2532. * None.
  2533. *
  2534. * Caveats:
  2535. * None.
  2536. */
  2537. /*
  2538. * GCCError ConfInviteIndication(
  2539. * GCCConfID conference_id,
  2540. * PGCCConferenceName conference_name,
  2541. * LPWSTR pwszCallerID,
  2542. * TransportAddress calling_address,
  2543. * TransportAddress called_address,
  2544. * PDomainParameters domain_parameters,
  2545. * BOOL clear_password_required,
  2546. * BOOL conference_is_locked,
  2547. * BOOL conference_is_listed,
  2548. * BOOL conference_is_conductible,
  2549. * GCCTerminationMethod termination_method,
  2550. * PPrivilegeListData conductor_privilege_list,
  2551. * PPrivilegeListData conducted_mode_privilege_list,
  2552. * PPrivilegeListData non_conducted_privilege_list,
  2553. * LPWSTR pwszConfDescriptor,
  2554. * CUserDataListContainer *user_data_list,
  2555. * ConnectionHandle connection_handle,
  2556. *
  2557. * Public member function of CControlSAP.
  2558. *
  2559. * Function Description:
  2560. * This function is called by the GCC Controller when it need to send a
  2561. * conference invite indication to the node controller. It adds the message
  2562. * to a queue of messages to be sent to the node controller in the next
  2563. * heartbeat.
  2564. *
  2565. * Formal Parameters:
  2566. * conference_id (i) Conference identifier value.
  2567. * conference_name (i) Name of conference.
  2568. * pwszCallerID , (i) Caller identifier value.
  2569. * calling_address, (i) Transport address of calling node.
  2570. * called_address, (i) Transport address of called node.
  2571. * domain_parameters, (i) Conference domain parameters.
  2572. * clear_password_required (i) Flag indicating if a clear password
  2573. * is required.
  2574. * conference_is_locked (i) Flag indicating whether conference
  2575. * is locked.
  2576. * conference_is_listed (i) Flag indicating whether conference
  2577. * is listed.
  2578. * conference_is_conductible (i) Flag indicating whether conference
  2579. * is conductable.
  2580. * termination_method (i) Method of conference termination.
  2581. * conductor_privilege_list (i) List of privileges granted to
  2582. * conductor by the convener.
  2583. * conduct_mode_privilege_list (i) List of privileges granted to all
  2584. * nodes when in conducted mode.
  2585. * non_conducted_privilege_list (i) List of privileges granted to all
  2586. * nodes when not in conducted mode
  2587. * pwszConfDescriptor (i) Conference descriptor string.
  2588. * user_data_list (i) List of user data items.
  2589. * connection_handle (i) Logical connection handle.
  2590. *
  2591. * Return Value:
  2592. *
  2593. * Side Effects:
  2594. * None.
  2595. *
  2596. * Caveats:
  2597. * None.
  2598. */
  2599. /*
  2600. * GCCError TransportStatusIndication (
  2601. * PTransportStatus transport_status);
  2602. *
  2603. * Public member function of CControlSAP.
  2604. *
  2605. * Function Description:
  2606. * This function is called by the GCC Controller when it need to send a
  2607. * transport status indication to the node controller. It adds the
  2608. * message to a queue of messages to be sent to the node controller in
  2609. * the next heartbeat.
  2610. *
  2611. * Formal Parameters:
  2612. * transport_status (i) Transport status message.
  2613. *
  2614. * Return Value:
  2615. *
  2616. * Side Effects:
  2617. * None.
  2618. *
  2619. * Caveats:
  2620. * None.
  2621. */
  2622. /*
  2623. * GCCError StatusIndication (
  2624. * GCCStatusMessageType status_message,
  2625. * UINT parameter);
  2626. *
  2627. * Public member function of CControlSAP.
  2628. *
  2629. * Function Description:
  2630. * This function is called by the GCC Controller when it need to send a
  2631. * status indication to the node controller. It adds the message to a
  2632. * queue of messages to be sent to the node controller in the next
  2633. * heartbeat.
  2634. *
  2635. * Formal Parameters:
  2636. * status_message (i) GCC status message.
  2637. * parameter (i) Parameter whose meaning depends
  2638. * upon the type of message.
  2639. *
  2640. * Return Value:
  2641. *
  2642. * Side Effects:
  2643. * None.
  2644. *
  2645. * Caveats:
  2646. * Note that we do not handle a resource error here to avoid an
  2647. * endless loop that could occur when this routine is called from the
  2648. * HandleResourceError() routine.
  2649. */
  2650. /*
  2651. * GCCError ConnectionBrokenIndication (
  2652. * ConnectionHandle connection_handle);
  2653. *
  2654. * Public member function of CControlSAP.
  2655. *
  2656. * Function Description:
  2657. * This function is called by the GCC Controller when it need to send a
  2658. * connection broken indication to the node controller. It adds the
  2659. * message to a queue of messages to be sent to the node controller in
  2660. * the next heartbeat.
  2661. *
  2662. * Formal Parameters:
  2663. * connection_handle (i) Logical connection handle.
  2664. *
  2665. * Return Value:
  2666. *
  2667. * Side Effects:
  2668. * None.
  2669. *
  2670. * Caveats:
  2671. * None.
  2672. */
  2673. /*
  2674. * GCCError ConfCreateConfirm (
  2675. * PGCCConferenceName conference_name,
  2676. * GCCNumericString conference_modifier,
  2677. * GCCConfID conference_id,
  2678. * PDomainParameters domain_parameters,
  2679. * CUserDataListContainer *user_data_list,
  2680. * GCCResult result,
  2681. * ConnectionHandle connection_handle);
  2682. *
  2683. * Public member function of CControlSAP.
  2684. *
  2685. * Function Description:
  2686. * This function is called by the CConf when it need to send a
  2687. * conference create confirm to the node controller. It adds the
  2688. * message to a queue of messages to be sent to the node controller in
  2689. * the next heartbeat.
  2690. *
  2691. * Formal Parameters:
  2692. * conference_name (i) Conference name string.
  2693. * conference_modifier (i) Conference modifier string.
  2694. * conference_id (i) Conference identifier value.
  2695. * domain_parameters, (i) Conference domain parameters.
  2696. * user_data_list, (i) List of user data items.
  2697. * result (i) Result of creation.
  2698. * connection_handle (i) Logical connection handle.
  2699. *
  2700. * Return Value:
  2701. *
  2702. * Side Effects:
  2703. * None.
  2704. *
  2705. * Caveats:
  2706. * None.
  2707. */
  2708. /*
  2709. * GCCError ConfPermissionToAnnounce (
  2710. * GCCConfID conference_id,
  2711. * UserID gcc_node_id);
  2712. *
  2713. * Public member function of CControlSAP.
  2714. *
  2715. * Function Description:
  2716. * This function is called by the CConf when it need to send a
  2717. * conference permission to announce to the node controller. It adds the
  2718. * message to a queue of messages to be sent to the node controller in
  2719. * the next heartbeat.
  2720. *
  2721. * Formal Parameters:
  2722. * conference_id (i) Conference identifier value.
  2723. * gcc_node_id (i) Node ID of node being given permission.
  2724. *
  2725. * Return Value:
  2726. *
  2727. * Side Effects:
  2728. * None.
  2729. *
  2730. * Caveats:
  2731. * None.
  2732. */
  2733. /*
  2734. * GCCError ConfAnnouncePresenceConfirm (
  2735. * GCCConfID conference_id,
  2736. * GCCResult result);
  2737. *
  2738. * Public member function of CControlSAP.
  2739. *
  2740. * Function Description:
  2741. * This function is called by the CConf when it need to send a
  2742. * conference announce presence confirm to the node controller. It adds the
  2743. * message to a queue of messages to be sent to the node controller in
  2744. * the next heartbeat.
  2745. *
  2746. * Formal Parameters:
  2747. * conference_id (i) Conference identifier value.
  2748. * result (i) Result of announcing presence.
  2749. *
  2750. * Return Value:
  2751. *
  2752. * Side Effects:
  2753. * None.
  2754. *
  2755. * Caveats:
  2756. * None.
  2757. */
  2758. /*
  2759. * GCCError ConfDisconnectIndication (
  2760. * GCCConfID conference_id,
  2761. * GCCReason reason,
  2762. * UserID disconnected_node_id);
  2763. *
  2764. * Public member function of CControlSAP.
  2765. *
  2766. * Function Description:
  2767. * This function is called by the Conference when it need to send a
  2768. * conference disconnect indication to the node controller. It adds the
  2769. * message to a queue of messages to be sent to the node controller in
  2770. * the next heartbeat.
  2771. *
  2772. * Formal Parameters:
  2773. * conference_id (i) Conferenc identifier value.
  2774. * reason (i) Reason for disconnection.
  2775. * disconnected_node_id (i) Node ID of node disconnected.
  2776. *
  2777. * Return Value:
  2778. *
  2779. * Side Effects:
  2780. * None.
  2781. *
  2782. * Caveats:
  2783. * None.
  2784. */
  2785. /*
  2786. * GCCError ConfJoinIndication (
  2787. * UserID sender_id,
  2788. * GCCConfID conference_id,
  2789. * CPassword *convener_password,
  2790. * CPassword *password_challange,
  2791. * LPWSTR pwszCallerID,
  2792. * CUserDataListContainer *user_data_list);
  2793. *
  2794. * Public member function of CControlSAP.
  2795. *
  2796. * Function Description:
  2797. * This function is called by the CConf when it need to send a
  2798. * conference join indication to the node controller. It adds the
  2799. * message to a queue of messages to be sent to the node controller in
  2800. * the next heartbeat.
  2801. *
  2802. * Formal Parameters:
  2803. * sender_id (i) ID of node sending join indication.
  2804. * conference_id (i) Conference identifier value.
  2805. * convener_password (i) Password used for convener privileges.
  2806. * password_challange (i) Password challenge used for join.
  2807. * pwszCallerID (i) Caller identifier string.
  2808. * user_data_list) (i) List of user data items.
  2809. *
  2810. * Return Value:
  2811. * GCC_NO_ERROR - Message successfully queued.
  2812. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  2813. *
  2814. * Side Effects:
  2815. * None.
  2816. *
  2817. * Caveats:
  2818. * None.
  2819. */
  2820. /*
  2821. * GCCError ConfJoinConfirm (
  2822. * PGCCConferenceName conference_name,
  2823. * GCCNumericString remote_modifier,
  2824. * GCCNumericString local_modifier,
  2825. * GCCConfID conference_id,
  2826. * CPassword *password_challenge,
  2827. * PDomainParameters domain_parameters,
  2828. * BOOL password_in_the_clear,
  2829. * BOOL conference_locked,
  2830. * BOOL conference_listed,
  2831. * BOOL conference_conductible,
  2832. * GCCTerminationMethod termination_method,
  2833. * PPrivilegeListData conductor_privilege_list,
  2834. * PPrivilegeListData conduct_mode_privilege_list,
  2835. * PPrivilegeListData non_conduct_privilege_list,
  2836. * LPWSTR pwszConfDescription,
  2837. * CUserDataListContainer *user_data_list,
  2838. * GCCResult result,
  2839. * ConnectionHandle connection_handle);
  2840. *
  2841. * Public member function of CControlSAP.
  2842. *
  2843. * Function Description:
  2844. * This function is called by the CConf when it need to send a
  2845. * conference join confirm to the node controller. It adds the
  2846. * message to a queue of messages to be sent to the node controller in
  2847. * the next heartbeat.
  2848. *
  2849. * Formal Parameters:
  2850. * conference_name (i) Conference name.
  2851. * remote_modifier (i) Conference name modifier at remote node.
  2852. * local_modifier (i) Conference name modifier at local node.
  2853. * conference_id (i) Conference identifier value.
  2854. * password_challenge (i) Password challenge used for join.
  2855. * domain_parameters (i) Conference domain parameters.
  2856. * password_in_the_clear (i) Flag indicating password is clear.
  2857. * conference_locked (i) Flag indicating conference is locked.
  2858. * conference_listed (i) Flag indicating conference is listed.
  2859. * conference_conductible (i) Flag indicating conference is
  2860. * conductable.
  2861. * termination_method (i) Method of termination.
  2862. * conductor_privilege_list (i) List of privileges granted the conductor
  2863. * by the convener.
  2864. * conduct_mode_privilege_list (i) List of privileges granted to all nodes
  2865. * when in conducted mode.
  2866. * non_conduct_privilege_list (i) List of privileges granted to all nodes
  2867. * when in conducted mode.
  2868. * pwszConfDescription (i) Conference description string.
  2869. * user_data_list, (i) List of user data items.
  2870. * result (i) Result of conference join.
  2871. * connection_handle (i) Logical connection handle.
  2872. *
  2873. * Return Value:
  2874. * GCC_NO_ERROR - Message successfully queued.
  2875. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  2876. *
  2877. * Side Effects:
  2878. * None.
  2879. *
  2880. * Caveats:
  2881. * None.
  2882. */
  2883. /*
  2884. * GCCError ConfInviteConfirm (
  2885. * GCCConfID conference_id,
  2886. * CUserDataListContainer *user_data_list,
  2887. * GCCResult result,
  2888. * ConnectionHandle connection_handle);
  2889. *
  2890. * Public member function of CControlSAP.
  2891. *
  2892. * Function Description:
  2893. * This function is called by the CConf when it need to send a
  2894. * conference invite confirm to the node controller. It adds the
  2895. * message to a queue of messages to be sent to the node controller in
  2896. * the next heartbeat.
  2897. *
  2898. * Formal Parameters:
  2899. * conference_id (i) Conference identifier value.
  2900. * user_data_list, (i) List of user data items.
  2901. * result (i) Result of conference join.
  2902. * connection_handle (i) Logical connection handle.
  2903. *
  2904. * Return Value:
  2905. * GCC_NO_ERROR - Message successfully queued.
  2906. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  2907. *
  2908. * Side Effects:
  2909. * None.
  2910. *
  2911. * Caveats:
  2912. * None.
  2913. */
  2914. /*
  2915. * GCCError ConfTerminateIndication (
  2916. * GCCConfID conference_id,
  2917. * UserID requesting_node_id,
  2918. * GCCReason reason);
  2919. *
  2920. * Public member function of CControlSAP.
  2921. *
  2922. * Function Description:
  2923. * This function is called by the GCC Controller when it need to send a
  2924. * conference terminate indication to the node controller. It adds the
  2925. * message to a queue of messages to be sent to the node controller in
  2926. * the next heartbeat.
  2927. *
  2928. * Formal Parameters:
  2929. * conference_id (i) Conference identifier value.
  2930. * requesting_node_id (i) ID of node requesting termination.
  2931. * reason (i) Reason for termination.
  2932. *
  2933. * Return Value:
  2934. *
  2935. * Side Effects:
  2936. * None.
  2937. *
  2938. * Caveats:
  2939. * None.
  2940. */
  2941. /*
  2942. * GCCError ConfLockReport (
  2943. * GCCConfID conference_id,
  2944. * BOOL conference_is_locked);
  2945. *
  2946. * Public member function of CControlSAP.
  2947. *
  2948. * Function Description:
  2949. * This function is called by the CConf when it need to send a
  2950. * conference lock report to the node controller. It adds the
  2951. * message to a queue of messages to be sent to the node controller in
  2952. * the next heartbeat.
  2953. *
  2954. * Formal Parameters:
  2955. * conference_id (i) Conference identifier value.
  2956. * conference_is_locked (i) Flag indicating whether conference is
  2957. * locked.
  2958. *
  2959. * Return Value:
  2960. * GCC_NO_ERROR - Message successfully queued.
  2961. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  2962. *
  2963. * Side Effects:
  2964. * None.
  2965. *
  2966. * Caveats:
  2967. * None.
  2968. */
  2969. /*
  2970. * GCCError ConfLockIndication (
  2971. * GCCConfID conference_id,
  2972. * UserID source_node_id);
  2973. *
  2974. * Public member function of CControlSAP.
  2975. *
  2976. * Function Description:
  2977. * This function is called by the CConf when it need to send a
  2978. * conference lock indication to the node controller. It adds the
  2979. * message to a queue of messages to be sent to the node controller in
  2980. * the next heartbeat.
  2981. *
  2982. * Formal Parameters:
  2983. * conference_id (i) Conference identifier value.
  2984. * source_node_id (i) ID of node requesting lock.
  2985. *
  2986. * Return Value:
  2987. * GCC_NO_ERROR - Message successfully queued.
  2988. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  2989. *
  2990. * Side Effects:
  2991. * None.
  2992. *
  2993. * Caveats:
  2994. * None.
  2995. */
  2996. /*
  2997. * GCCError ConfLockConfirm(
  2998. * GCCResult result,
  2999. * GCCConfID conference_id);
  3000. *
  3001. * Public member function of CControlSAP.
  3002. *
  3003. * Function Description:
  3004. * This function is called by the CConf when it need to send a
  3005. * conference lock confirm to the node controller. It adds the
  3006. * message to a queue of messages to be sent to the node controller in
  3007. * the next heartbeat.
  3008. *
  3009. * Formal Parameters:
  3010. * result (i) Result of conference lock.
  3011. * conference_id (i) Conference identifier value.
  3012. *
  3013. * Return Value:
  3014. * GCC_NO_ERROR - Message successfully queued.
  3015. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3016. *
  3017. * Side Effects:
  3018. * None.
  3019. *
  3020. * Caveats:
  3021. * None.
  3022. */
  3023. /*
  3024. * GCCError ConfUnlockIndication (
  3025. * GCCConfID conference_id,
  3026. * UserID source_node_id);
  3027. *
  3028. * Public member function of CControlSAP.
  3029. *
  3030. * Function Description:
  3031. * This function is called by the CConf when it need to send a
  3032. * conference unlock indication to the node controller. It adds the
  3033. * message to a queue of messages to be sent to the node controller in
  3034. * the next heartbeat.
  3035. *
  3036. * Formal Parameters:
  3037. * conference_id (i) Conference identifier value.
  3038. * source_node_id (i) ID of node requesting unlock.
  3039. *
  3040. * Return Value:
  3041. * GCC_NO_ERROR - Message successfully queued.
  3042. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3043. *
  3044. * Side Effects:
  3045. * None.
  3046. *
  3047. * Caveats:
  3048. * None.
  3049. */
  3050. /*
  3051. * GCCError ConfUnlockConfirm (
  3052. * GCCResult result,
  3053. * GCCConfID conference_id);
  3054. *
  3055. * Public member function of CControlSAP.
  3056. *
  3057. * Function Description:
  3058. * This function is called by the CConf when it need to send a
  3059. * conference unlock confirm to the node controller. It adds the
  3060. * message to a queue of messages to be sent to the node controller in
  3061. * the next heartbeat.
  3062. *
  3063. * Formal Parameters:
  3064. * result (i) Result of conference unlock.
  3065. * conference_id (i) Conference identifier value.
  3066. *
  3067. * Return Value:
  3068. * GCC_NO_ERROR - Message successfully queued.
  3069. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3070. *
  3071. * Side Effects:
  3072. * None.
  3073. *
  3074. * Caveats:
  3075. * None.
  3076. */
  3077. /*
  3078. * GCCError ConfEjectUserIndication (
  3079. * GCCConfID conference_id,
  3080. * GCCReason reason,
  3081. * UserID gcc_node_id);
  3082. *
  3083. * Public member function of CControlSAP.
  3084. *
  3085. * Function Description:
  3086. * This function is called by the CConf when it need to send a
  3087. * conference eject user indication to the node controller. It adds the
  3088. * message to a queue of messages to be sent to the node controller in
  3089. * the next heartbeat.
  3090. *
  3091. * Formal Parameters:
  3092. * conference_id (i) Conference identifier value.
  3093. * reason (i) Reason for node ejection.
  3094. * gcc_node_id (i) ID of node being ejected.
  3095. *
  3096. * Return Value:
  3097. * GCC_NO_ERROR - Message successfully queued.
  3098. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3099. *
  3100. * Side Effects:
  3101. * None.
  3102. *
  3103. * Caveats:
  3104. * None.
  3105. */
  3106. /*
  3107. * GCCError ConfEjectUserConfirm (
  3108. * GCCConfID conference_id,
  3109. * UserID ejected_node_id,
  3110. * GCCResult result);
  3111. *
  3112. * Public member function of CControlSAP.
  3113. *
  3114. * Function Description:
  3115. * This function is called by the CConf when it need to send a
  3116. * conference eject user confirm to the node controller. It adds the
  3117. * message to a queue of messages to be sent to the node controller in
  3118. * the next heartbeat.
  3119. *
  3120. * Formal Parameters:
  3121. * conference_id (i) Conference identifier value.
  3122. * ejected_node_id (i) ID of node being ejected.
  3123. * result (i) Result of ejection attempt.
  3124. *
  3125. * Return Value:
  3126. * GCC_NO_ERROR - Message successfully queued.
  3127. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3128. *
  3129. * Side Effects:
  3130. * None.
  3131. *
  3132. * Caveats:
  3133. * None.
  3134. */
  3135. /*
  3136. * GCCError ConfTerminateConfirm (
  3137. * GCCConfID conference_id,
  3138. * GCCResult result);
  3139. *
  3140. * Public member function of CControlSAP.
  3141. *
  3142. * Function Description:
  3143. * This function is called by the CConf when it need to send a
  3144. * conference terminate confirm to the node controller. It adds the
  3145. * message to a queue of messages to be sent to the node controller in
  3146. * the next heartbeat.
  3147. *
  3148. * Formal Parameters:
  3149. * conference_id (i) Conference identifier value.
  3150. * result (i) Result of termination attempt.
  3151. *
  3152. * Return Value:
  3153. * GCC_NO_ERROR - Message successfully queued.
  3154. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3155. *
  3156. * Side Effects:
  3157. * None.
  3158. *
  3159. * Caveats:
  3160. * None.
  3161. */
  3162. /*
  3163. * GCCError ConductorAssignConfirm (
  3164. * GCCResult result,
  3165. * GCCConfID conference_id);
  3166. *
  3167. * Public member function of CControlSAP.
  3168. *
  3169. * Function Description:
  3170. * This function is called by the CConf when it need to send a
  3171. * conductor assign confirm to the node controller. It adds the
  3172. * message to a queue of messages to be sent to the node controller in
  3173. * the next heartbeat.
  3174. *
  3175. * Formal Parameters:
  3176. * result (i) Result of conductor assign attempt.
  3177. * conference_id (i) Conference identifier value.
  3178. *
  3179. * Return Value:
  3180. * GCC_NO_ERROR - Message successfully queued.
  3181. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3182. *
  3183. * Side Effects:
  3184. * None.
  3185. *
  3186. * Caveats:
  3187. * None.
  3188. */
  3189. /*
  3190. * GCCError ConductorReleaseConfirm (
  3191. * GCCResult result,
  3192. * GCCConfID conference_id);
  3193. *
  3194. * Public member function of CControlSAP.
  3195. *
  3196. * Function Description:
  3197. * This function is called by the CConf when it need to send a
  3198. * conductor release confirm to the node controller. It adds the
  3199. * message to a queue of messages to be sent to the node controller in
  3200. * the next heartbeat.
  3201. *
  3202. * Formal Parameters:
  3203. * result (i) Result of conductor release attempt.
  3204. * conference_id (i) Conference identifier value.
  3205. *
  3206. * Return Value:
  3207. * GCC_NO_ERROR - Message successfully queued.
  3208. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3209. *
  3210. * Side Effects:
  3211. * None.
  3212. *
  3213. * Caveats:
  3214. * None.
  3215. */
  3216. /*
  3217. * GCCError ConductorPleaseIndication (
  3218. * GCCConfID conference_id,
  3219. * UserID requester_user_id);
  3220. *
  3221. * Public member function of CControlSAP.
  3222. *
  3223. * Function Description:
  3224. * This function is called by the CConf when it need to send a
  3225. * conductor please indication to the node controller. It adds the
  3226. * message to a queue of messages to be sent to the node controller in
  3227. * the next heartbeat.
  3228. *
  3229. * Formal Parameters:
  3230. * conference_id (i) Conference identifier value.
  3231. * requester_user_id (i) ID of node requesting conductorship.
  3232. *
  3233. * Return Value:
  3234. * GCC_NO_ERROR - Message successfully queued.
  3235. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3236. *
  3237. * Side Effects:
  3238. * None.
  3239. *
  3240. * Caveats:
  3241. * None.
  3242. */
  3243. /*
  3244. * GCCError ConductorPleaseConfirm (
  3245. * GCCResult result,
  3246. * GCCConfID conference_id);
  3247. *
  3248. * Public member function of CControlSAP.
  3249. *
  3250. * Function Description:
  3251. * This function is called by the CConf when it need to send a
  3252. * conductor please confirm to the node controller. It adds the
  3253. * message to a queue of messages to be sent to the node controller in
  3254. * the next heartbeat.
  3255. *
  3256. * Formal Parameters:
  3257. * result (i) Result of conductor please attempt.
  3258. * conference_id (i) Conference identifier value.
  3259. *
  3260. * Return Value:
  3261. * GCC_NO_ERROR - Message successfully queued.
  3262. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3263. *
  3264. * Side Effects:
  3265. * None.
  3266. *
  3267. * Caveats:
  3268. * None.
  3269. */
  3270. /*
  3271. * GCCError ConductorGiveIndication (
  3272. * GCCConfID conference_id);
  3273. *
  3274. * Public member function of CControlSAP.
  3275. *
  3276. * Function Description:
  3277. * This function is called by the CConf when it need to send a
  3278. * conductor give indication to the node controller. It adds the
  3279. * message to a queue of messages to be sent to the node controller in
  3280. * the next heartbeat.
  3281. *
  3282. * Formal Parameters:
  3283. * conference_id (i) Conference identifier value.
  3284. *
  3285. * Return Value:
  3286. * GCC_NO_ERROR - Message successfully queued.
  3287. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3288. *
  3289. * Side Effects:
  3290. * None.
  3291. *
  3292. * Caveats:
  3293. * None.
  3294. */
  3295. /*
  3296. * GCCError ConductorGiveConfirm (
  3297. * GCCResult result,
  3298. * GCCConfID conference_id,
  3299. * UserID recipient_node);
  3300. *
  3301. * Public member function of CControlSAP.
  3302. *
  3303. * Function Description:
  3304. * This function is called by the CConf when it need to send a
  3305. * conductor give confirm to the node controller. It adds the
  3306. * message to a queue of messages to be sent to the node controller in
  3307. * the next heartbeat.
  3308. *
  3309. * Formal Parameters:
  3310. * result (i) Result of conductor assign attempt.
  3311. * conference_id (i) Conference identifier value.
  3312. * recipient_node (i) ID of node receiving conductorship.
  3313. *
  3314. * Return Value:
  3315. * GCC_NO_ERROR - Message successfully queued.
  3316. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3317. *
  3318. * Side Effects:
  3319. * None.
  3320. *
  3321. * Caveats:
  3322. * None.
  3323. */
  3324. /*
  3325. * GCCError ConductorPermitAskIndication (
  3326. * GCCConfID conference_id,
  3327. * BOOL grant_flag,
  3328. * UserID requester_id);
  3329. *
  3330. * Public member function of CControlSAP.
  3331. *
  3332. * Function Description:
  3333. * This function is called by the CConf when it need to send a
  3334. * conductor permit ask indication to the node controller. It adds the
  3335. * message to a queue of messages to be sent to the node controller in
  3336. * the next heartbeat.
  3337. *
  3338. * Formal Parameters:
  3339. * conference_id (i) Conference identifier value.
  3340. * grant_flag (i) Flag indicating whether conductorship
  3341. * is to be granted or given up.
  3342. * requester_id (i) ID of node asking for permission.
  3343. *
  3344. * Return Value:
  3345. * GCC_NO_ERROR - Message successfully queued.
  3346. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3347. *
  3348. * Side Effects:
  3349. * None.
  3350. *
  3351. * Caveats:
  3352. * None.
  3353. */
  3354. /*
  3355. * GCCError ConductorPermitAskConfirm (
  3356. * GCCResult result,
  3357. * BOOL grant_permission,
  3358. * GCCConfID conference_id);
  3359. *
  3360. * Public member function of CControlSAP.
  3361. *
  3362. * Function Description:
  3363. * This function is called by the CConf when it need to send a
  3364. * conductor permit ask confirm to the node controller. It adds the
  3365. * message to a queue of messages to be sent to the node controller in
  3366. * the next heartbeat.
  3367. *
  3368. * Formal Parameters:
  3369. * result (i) Result of conductor permit ask attempt.
  3370. * grant_permission (i) Flag indicating whether conductor
  3371. * permission is granted.
  3372. * conference_id (i) Conference identifier value.
  3373. *
  3374. * Return Value:
  3375. * GCC_NO_ERROR - Message successfully queued.
  3376. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3377. *
  3378. * Side Effects:
  3379. * None.
  3380. *
  3381. * Caveats:
  3382. * None.
  3383. */
  3384. /*
  3385. * GCCError ConductorPermitGrantConfirm (
  3386. * GCCResult result,
  3387. * GCCConfID conference_id);
  3388. *
  3389. * Public member function of CControlSAP.
  3390. *
  3391. * Function Description:
  3392. * This function is called by the CConf when it need to send a
  3393. * conductor permit grant confirm to the node controller. It adds the
  3394. * message to a queue of messages to be sent to the node controller in
  3395. * the next heartbeat.
  3396. *
  3397. * Formal Parameters:
  3398. * result (i) Result of conductor permit grant attempt
  3399. * conference_id (i) Conference identifier value.
  3400. *
  3401. * Return Value:
  3402. * GCC_NO_ERROR - Message successfully queued.
  3403. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3404. *
  3405. * Side Effects:
  3406. * None.
  3407. *
  3408. * Caveats:
  3409. * None.
  3410. */
  3411. /*
  3412. * GCCError ConfTimeRemainingIndication (
  3413. * GCCConfID conference_id,
  3414. * UserID source_node_id,
  3415. * UserID node_id,
  3416. * UINT time_remaining);
  3417. *
  3418. * Public member function of CControlSAP.
  3419. *
  3420. * Function Description:
  3421. * This function is called by the CConf when it need to send a
  3422. * conference time remaining indication to the node controller. It adds the
  3423. * message to a queue of messages to be sent to the node controller in
  3424. * the next heartbeat.
  3425. *
  3426. * Formal Parameters:
  3427. * conference_id (i) Conference identifier value.
  3428. * source_node_id (i) Node ID of the node that issued the
  3429. * time remaining request..
  3430. * node_id (i) Optional parameter which, if present,
  3431. * indicates that time remaining
  3432. * applies only to node with this ID.
  3433. * time_remaining (i) Time remaining in conference (in sec.).
  3434. *
  3435. * Return Value:
  3436. * GCC_NO_ERROR - Message successfully queued.
  3437. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3438. *
  3439. * Side Effects:
  3440. * None.
  3441. *
  3442. * Caveats:
  3443. * None.
  3444. */
  3445. /*
  3446. * GCCError ConfTimeRemainingConfirm (
  3447. * GCCConfID conference_id,
  3448. * GCCResult result);
  3449. *
  3450. * Public member function of CControlSAP.
  3451. *
  3452. * Function Description:
  3453. * This function is called by the CConf when it need to send a
  3454. * conference time remaining confirm to the node controller. It adds the
  3455. * message to a queue of messages to be sent to the node controller in
  3456. * the next heartbeat.
  3457. *
  3458. * Formal Parameters:
  3459. * conference_id (i) Conference identifier value.
  3460. * result (i) Result of time remaining request.
  3461. *
  3462. * Return Value:
  3463. * GCC_NO_ERROR - Message successfully queued.
  3464. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3465. *
  3466. * Side Effects:
  3467. * None.
  3468. *
  3469. * Caveats:
  3470. * None.
  3471. */
  3472. /*
  3473. * GCCError ConfTimeInquireIndication (
  3474. * GCCConfID conference_id,
  3475. * BOOL time_is_conference_wide,
  3476. * UserID requesting_node_id);
  3477. *
  3478. * Public member function of CControlSAP.
  3479. *
  3480. * Function Description:
  3481. * This function is called by the CConf when it need to send a
  3482. * conference time inquire indication to the node controller. It adds the
  3483. * message to a queue of messages to be sent to the node controller in
  3484. * the next heartbeat.
  3485. *
  3486. * Formal Parameters:
  3487. * conference_id (i) Conference identifier value.
  3488. * time_is_conference_wide (i) Flag indicating time inquire is for
  3489. * entire conference.
  3490. * requesting_node_id (i) Node ID of node inquiring.
  3491. *
  3492. * Return Value:
  3493. * GCC_NO_ERROR - Message successfully queued.
  3494. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3495. *
  3496. * Side Effects:
  3497. * None.
  3498. *
  3499. * Caveats:
  3500. * None.
  3501. */
  3502. /*
  3503. * GCCError ConfTimeInquireConfirm (
  3504. * GCCConfID conference_id,
  3505. * GCCResult result);
  3506. *
  3507. * Public member function of CControlSAP.
  3508. *
  3509. * Function Description:
  3510. * This function is called by the CConf when it need to send a
  3511. * conference time inquire confirm to the node controller. It adds the
  3512. * message to a queue of messages to be sent to the node controller in
  3513. * the next heartbeat.
  3514. *
  3515. * Formal Parameters:
  3516. * conference_id (i) Conference identifier value.
  3517. * result (i) Result of time inquire attempt.
  3518. *
  3519. * Return Value:
  3520. * GCC_NO_ERROR - Message successfully queued.
  3521. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3522. *
  3523. * Side Effects:
  3524. * None.
  3525. *
  3526. * Caveats:
  3527. * None.
  3528. */
  3529. /*
  3530. * GCCError ConfExtendIndication (
  3531. * GCCConfID conference_id,
  3532. * UINT extension_time,
  3533. * BOOL time_is_conference_wide,
  3534. * UserID requesting_node_id);
  3535. *
  3536. * Public member function of CControlSAP.
  3537. *
  3538. * Function Description:
  3539. * This function is called by the CConf when it need to send a
  3540. * conference extend indication to the node controller. It adds the
  3541. * message to a queue of messages to be sent to the node controller in
  3542. * the next heartbeat.
  3543. *
  3544. * Formal Parameters:
  3545. * conference_id (i) Conference identifier value.
  3546. * extension_time (i) Amount of time (in sec.) to extend
  3547. * conference.
  3548. * time_is_conference_wide (i) Flag indicating time inquire is for
  3549. * entire conference.
  3550. * requesting_node_id (i) Node ID of node requesting extension.
  3551. *
  3552. * Return Value:
  3553. * GCC_NO_ERROR - Message successfully queued.
  3554. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3555. *
  3556. * Side Effects:
  3557. * None.
  3558. *
  3559. * Caveats:
  3560. * None.
  3561. */
  3562. /*
  3563. * GCCError ConfExtendConfirm (
  3564. * GCCConfID conference_id,
  3565. * UINT extension_time,
  3566. * GCCResult result);
  3567. *
  3568. * Public member function of CControlSAP.
  3569. *
  3570. * Function Description:
  3571. * This function is called by the CConf when it need to send a
  3572. * conference extend confirm to the node controller. It adds the
  3573. * message to a queue of messages to be sent to the node controller in
  3574. * the next heartbeat.
  3575. *
  3576. * Formal Parameters:
  3577. * conference_id (i) Conference identifier value.
  3578. * extension_time (i) Amount of time (in sec.) to extend
  3579. * conference.
  3580. * result (i) Result of conductor assign attempt.
  3581. *
  3582. * Return Value:
  3583. * GCC_NO_ERROR - Message successfully queued.
  3584. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3585. *
  3586. * Side Effects:
  3587. * None.
  3588. *
  3589. * Caveats:
  3590. * None.
  3591. */
  3592. /*
  3593. * GCCError ConfAssistanceIndication (
  3594. * GCCConfID conference_id,
  3595. * CUserDataListContainer *user_data_list,
  3596. * UserID source_node_id);
  3597. *
  3598. * Public member function of CControlSAP.
  3599. *
  3600. * Function Description:
  3601. * This function is called by the CConf when it need to send a
  3602. * conference assistance indication to the node controller. It adds the
  3603. * message to a queue of messages to be sent to the node controller in
  3604. * the next heartbeat.
  3605. *
  3606. * Formal Parameters:
  3607. * conference_id (i) Conference identifier value.
  3608. * user_data_list (i) List of user data items.
  3609. * source_node_id (i) Node ID of node requesting assistance.
  3610. *
  3611. * Return Value:
  3612. * GCC_NO_ERROR - Message successfully queued.
  3613. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3614. *
  3615. * Side Effects:
  3616. * None.
  3617. *
  3618. * Caveats:
  3619. * None.
  3620. */
  3621. /*
  3622. * GCCError ConfAssistanceConfirm (
  3623. * GCCConfID conference_id,
  3624. * GCCResult result);
  3625. *
  3626. * Public member function of CControlSAP.
  3627. *
  3628. * Function Description:
  3629. * This function is called by the CConf when it need to send a
  3630. * conference assistance confirm to the node controller. It adds the
  3631. * message to a queue of messages to be sent to the node controller in
  3632. * the next heartbeat.
  3633. *
  3634. * Formal Parameters:
  3635. * conference_id (i) Conference identifier value.
  3636. * result (i) Result of conference assistance attempt.
  3637. *
  3638. * Return Value:
  3639. * GCC_NO_ERROR - Message successfully queued.
  3640. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3641. *
  3642. * Side Effects:
  3643. * None.
  3644. *
  3645. * Caveats:
  3646. * None.
  3647. */
  3648. /*
  3649. * GCCError TextMessageIndication (
  3650. * GCCConfID conference_id,
  3651. * LPWSTR pwszTextMsg,
  3652. * UserID source_node_id);
  3653. *
  3654. * Public member function of CControlSAP.
  3655. *
  3656. * Function Description:
  3657. * This function is called by the CConf when it need to send a
  3658. * text message indication to the node controller. It adds the
  3659. * message to a queue of messages to be sent to the node controller in
  3660. * the next heartbeat.
  3661. *
  3662. * Formal Parameters:
  3663. * conference_id (i) Conference identifier value.
  3664. * pwszTextMsg (i) Text message being sent.
  3665. * source_node_id (i) Node ID of node sending text message.
  3666. *
  3667. * Return Value:
  3668. * GCC_NO_ERROR - Message successfully queued.
  3669. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3670. *
  3671. * Side Effects:
  3672. * None.
  3673. *
  3674. * Caveats:
  3675. * None.
  3676. */
  3677. /*
  3678. * GCCError TextMessageConfirm (
  3679. * GCCConfID conference_id,
  3680. * GCCResult result);
  3681. *
  3682. * Public member function of CControlSAP.
  3683. *
  3684. * Function Description:
  3685. * This function is called by the CConf when it need to send a
  3686. * text message confirm to the node controller. It adds the message
  3687. * to a queue of messages to be sent to the node controller in the
  3688. * next heartbeat.
  3689. *
  3690. * Formal Parameters:
  3691. * conference_id (i) Conference identifier value.
  3692. * result (i) Result of text message send attempt.
  3693. *
  3694. * Return Value:
  3695. * GCC_NO_ERROR - Message successfully queued.
  3696. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3697. *
  3698. * Side Effects:
  3699. * None.
  3700. *
  3701. * Caveats:
  3702. * None.
  3703. */
  3704. /*
  3705. * GCCError ConfTransferIndication (
  3706. * GCCConfID conference_id,
  3707. * PGCCConferenceName destination_conference_name,
  3708. * GCCNumericString destination_conference_modifier,
  3709. * CNetAddrListContainer *destination_address_list,
  3710. * CPassword *password);
  3711. *
  3712. * Public member function of CControlSAP.
  3713. *
  3714. * Function Description:
  3715. * This function is called by the CConf when it need to send a
  3716. * conference transfer indication to the node controller. It adds the
  3717. * message to a queue of messages to be sent to the node controller in
  3718. * the next heartbeat.
  3719. *
  3720. * Formal Parameters:
  3721. * conference_id (i) Conference identifier value.
  3722. * destination_conference_name (i) Name of destination conference.
  3723. * destination_conference_modifier (i) Name modifier of destination conf.
  3724. * destination_address_list (i) List of network addresses for
  3725. * inclusion in the Join Request to
  3726. * be made by transferring nodes.
  3727. * password (i) Password to be used in Join Request
  3728. * by transferring nodes.
  3729. *
  3730. * Return Value:
  3731. * GCC_NO_ERROR - Message successfully queued.
  3732. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3733. *
  3734. * Side Effects:
  3735. * None.
  3736. *
  3737. * Caveats:
  3738. * None.
  3739. */
  3740. /*
  3741. * GCCError ConfTransferConfirm (
  3742. * GCCConfID conference_id,
  3743. * PGCCConferenceName destination_conference_name,
  3744. * GCCNumericString destination_conference_modifier,
  3745. * UINT number_of_destination_nodes,
  3746. * PUserID destination_node_list,
  3747. * GCCResult result);
  3748. *
  3749. * Public member function of CControlSAP.
  3750. *
  3751. * Function Description:
  3752. * This function is called by the CConf when it need to send a
  3753. * conference transfer confirm to the node controller. It adds the
  3754. * message to a queue of messages to be sent to the node controller in
  3755. * the next heartbeat.
  3756. *
  3757. * Formal Parameters:
  3758. * conference_id (i) Conference identifier value.
  3759. * destination_conference_name (i) Name of destination conference.
  3760. * destination_conference_modifier (i) Name modifier of destination conf.
  3761. * number_of_destination_nodes (i) Number of nodes being transferred.
  3762. * destination_node_list (i) List of nodes being transferred.
  3763. * result (i) Result of conference transfer.
  3764. *
  3765. * Return Value:
  3766. * GCC_NO_ERROR - Message successfully queued.
  3767. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3768. *
  3769. * Side Effects:
  3770. * None.
  3771. *
  3772. * Caveats:
  3773. * None.
  3774. */
  3775. /*
  3776. * GCCError ConfAddIndication (
  3777. * GCCConfID conference_id,
  3778. * GCCResponseTag add_response_tag,
  3779. * CNetAddrListContainer *network_address_list,
  3780. * CUserDataListContainer *user_data_list,
  3781. * UserID requesting_node);
  3782. *
  3783. * Public member function of CControlSAP.
  3784. *
  3785. * Function Description:
  3786. * This function is called by the CConf when it need to send a
  3787. * conference add indication to the node controller. It adds the
  3788. * message to a queue of messages to be sent to the node controller in
  3789. * the next heartbeat.
  3790. *
  3791. * Formal Parameters:
  3792. * conference_id (i) Conference identifier value.
  3793. * add_response_tag (i) Tag used to identify this add event.
  3794. * network_address_list (i) Network addresses of node to be added.
  3795. * user_data_list (i) List of user data items.
  3796. * requesting_node (i) Node ID of node requesting the add.
  3797. *
  3798. * Return Value:
  3799. * GCC_NO_ERROR - Message successfully queued.
  3800. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3801. *
  3802. * Side Effects:
  3803. * None.
  3804. *
  3805. * Caveats:
  3806. * None.
  3807. */
  3808. /*
  3809. * GCCError ConfAddConfirm (
  3810. * GCCConfID conference_id,
  3811. * CNetAddrListContainer *network_address_list,
  3812. * CUserDataListContainer *user_data_list,
  3813. * GCCResult result);
  3814. *
  3815. * Public member function of CControlSAP.
  3816. *
  3817. * Function Description:
  3818. * This function is called by the CConf when it need to send a
  3819. * conference add confirm to the node controller. It adds the
  3820. * message to a queue of messages to be sent to the node controller in
  3821. * the next heartbeat.
  3822. *
  3823. * Formal Parameters:
  3824. * conference_id (i) Conference identifier value.
  3825. * network_address_list (i) Network addresses of node to be added.
  3826. * user_data_list (i) List of user data items.
  3827. * result (i) Result of Add attempt.
  3828. *
  3829. * Return Value:
  3830. * GCC_NO_ERROR - Message successfully queued.
  3831. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3832. *
  3833. * Side Effects:
  3834. * None.
  3835. *
  3836. * Caveats:
  3837. * None.
  3838. */
  3839. /*
  3840. * GCCError SubInitializationCompleteIndication (
  3841. * UserID user_id,
  3842. * ConnectionHandle connection_handle);
  3843. *
  3844. * Public member function of CControlSAP.
  3845. *
  3846. * Function Description:
  3847. * This function is called by the CConf when it need to send a
  3848. * sub-initialization complete indication to the node controller. This call
  3849. * tells this node that a node directly connected to it has initialized.
  3850. * It adds the message to a queue of messages to be sent to the node
  3851. * controller in the next heartbeat.
  3852. *
  3853. * Formal Parameters:
  3854. * user_id (i) Node ID of the intializing node.
  3855. * connection_handle (i) Logical connection handle for directly
  3856. * connected node.
  3857. *
  3858. * Return Value:
  3859. * GCC_NO_ERROR - Message successfully queued.
  3860. * GCC_ALLOCATION_FAILURE - A resource allocation failure occurred.
  3861. *
  3862. * Side Effects:
  3863. * None.
  3864. *
  3865. * Caveats:
  3866. * None.
  3867. */
  3868. #endif // _GCC_CONTROL_SAP_