?? cmctrlmsd.h
字號:
#ifdef __cplusplus
extern "C" {
#endif
/*
NOTICE:
This document contains information that is proprietary to RADVISION LTD..
No part of this publication may be reproduced in any form whatsoever without
written prior approval by RADVISION LTD..
RADVISION LTD. reserves the right to revise this publication and make changes
without obligation to notify any person of such revisions or changes.
*/
#include <cmintr.h>
/************************************************************************
* msdInit
* purpose: Initialize the master slave determination process on a control channel
* input : ctrl - Control object
* output : none
* return : none
************************************************************************/
void msdInit(H245Control* ctrl);
/************************************************************************
* msdEnd
* purpose: Stop the master slave determination process on a control channel
* input : ctrl - Control object
* output : none
* return : none
************************************************************************/
void msdEnd(IN H245Control* ctrl);
/*************************************************************************************
* msdDetermineRequest
*
* Purpose: Main routine to initiate or respond to a MSD request.
*
* Input: ctrl - The ctrl element of the call
* terminalType - The given terminal type of the call, may be -1.
* statusDeterminationNumber - The determination numer, may be -1 and then needs to be
* generated.
* Output: None.
*
* return : Non-negative value on success
* Negative value on failure
******************************************************************************************/
int msdDetermineRequest(H245Control* ctrl, int terminalType, int statusDeterminationNumber);
/************************************************************************
* masterSlaveDetermination
* purpose: Handle an incoming MasterSlaveDetermination request,
* notifying the application or answering automatically.
* input : ctrl - Control object
* message - MSD request message node
* output : none
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int masterSlaveDetermination(IN H245Control* ctrl, IN int message);
/************************************************************************
* masterSlaveDeterminationAck
* purpose: Handle an incoming MasterSlaveDeterminationAck message
* input : ctrl - Control object
* message - MSD.Ack message node
* output : none
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int masterSlaveDeterminationAck(IN H245Control* ctrl, IN int message);
/************************************************************************
* masterSlaveDeterminationReject
* purpose: Handle an incoming MasterSlaveDeterminationReject message
* input : ctrl - Control object
* message - MSD.Reject message node
* output : none
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int masterSlaveDeterminationReject(IN H245Control* ctrl, IN int message);
/************************************************************************
* masterSlaveDeterminationRelease
* purpose: Handle an incoming MasterSlaveDeterminationRelease message
* input : ctrl - Control object
* message - MSD.Release message node
* output : none
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int masterSlaveDeterminationRelease(IN H245Control* ctrl, IN int message);
/************************************************************************
* msdGetMibParams
* purpose: Get parameters related to the MIB for an MSD object in the
* control
* input : ctrl - Control object
* output : state - State of MSD
* status - Status of MSD
* retries - Number of MSD retries
* terminalType - Local terminal's type in MSD
* return : Non-negative value on success
* Negative value on failure
* Any of the output parameters can be passed as NULL if not relevant to caller
************************************************************************/
int msdGetMibParams(
IN H245Control* ctrl,
OUT MsdState* state,
OUT MsdStatus* status,
OUT int* retries,
OUT int* terminalType);
#ifdef __cplusplus
}
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -