📄 cmchan.h
字号:
/***********************************************************************
Copyright (c) 2002 RADVISION Ltd.
************************************************************************
NOTICE:
This document contains information that is confidential and proprietary
to RADVISION Ltd.. No part of this document may be reproduced in any
form whatsoever without written prior approval by RADVISION Ltd..
RADVISION Ltd. reserve the right to revise this publication and make
changes without obligation to notify any person of such revisions or
changes.
***********************************************************************/
#ifndef _RV_CM_CHAN_H
#define _RV_CM_CHAN_H
#include "cmControl.h"
#include "cmmib.h"
#include "cmConf.h"
#ifdef __cplusplus
extern "C" {
#endif
int openLogicalChannel(H245Control* ctrl, int message);
int openLogicalChannelAck(H245Control* ctrl, int message);
int openLogicalChannelConfirm(H245Control* ctrl, int message);
int openLogicalChannelReject(H245Control* ctrl, int message);
int closeLogicalChannel(H245Control* ctrl, int message);
int closeLogicalChannelAck(H245Control* ctrl, int message);
int flowH245ControlCommand(H245Control* ctrl, int message);
int requestChannelClose(H245Control* ctrl, int message);
int requestChannelCloseAck(H245Control* ctrl, int message);
int requestChannelCloseReject(H245Control* ctrl, int message);
int requestChannelCloseRelease(H245Control* ctrl, int message);
int maintenanceLoopRequest(H245Control* ctrl, int message);
int maintenanceLoopAck(H245Control* ctrl, int message);
int maintenanceLoopReject(H245Control* ctrl, int message);
int maintenanceLoopOffCommand(H245Control* ctrl, int message);
H245Channel*allocateChannel(HCONTROL ctrl);
void deriveChannels(HCONTROL ctrl);
void closeChannels(HCONTROL ctrl);
int
cmcCallDataTypeHandleCallback(
/* Call the data type handle callback */
IN HAPP hApp,
IN HCHAN hsChan, /* channel protocol */
IN int dataType, /* channel data type node id */
IN confDataType type
);
int
cmcCallChannelParametersCallback(
/* Call the channel parameter callback */
IN HAPP hApp,
IN HCHAN hsChan, /* channel protocol */
IN int dataType, /* channel data type node id */
OUT confDataType* type
);
/************************************************************************
* startEstablishment
* purpose: Start establishing a channel. This function creates an OLC
* message from the channel element and sends it.
* input : app - Stack object
* channel - Channel element to send OLC for
* output : none
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int startEstablishment(IN HAPP hApp, IN HCHAN hChan);
/************************************************************************
* chanGetMibParam
* purpose: Get channel related MIB parameters
* input : hsChan - Channel to check
* type - Parameter type to get
* output : valueSize - Value, if numeric
* String's length if string value type
* value - String value if applicable
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int chanGetMibParam(
IN HCHAN hsChan,
IN mibControlParamTypeT type,
OUT int* valueSize,
OUT RvUint8* value);
#ifdef __cplusplus
}
#endif
#endif /* _RV_CM_CHAN_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -