cmchangetbyxxx.h

来自「基于h323协议的软phone」· C头文件 代码 · 共 60 行

H
60
字号
#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.

    */


#ifndef _CMCHANGETBYXXX_
#define _CMCHANGETBYXXX_
#include <cmControl.h>

/* Return the channel by LCN. The reverse direction of the bidirectional channel is not considered separate channel */
H245Channel* getInChanByLCN(HCONTROL ctrl,int lcn);
H245Channel* getOutChanByLCN(HCONTROL ctrl,int lcn);

/* Return the channel by LCN. The reverse direction of the bidirectional channel is considered separate channel */
H245Channel* getInSubChanByLCN(HCONTROL ctrl,int lcn);
H245Channel* getOutSubChanByLCN(HCONTROL ctrl,int lcn);
H245Channel* getOutChanBySID(HCONTROL ctrl,int sid);
H245Channel* getInChanBySID(HCONTROL ctrl,int sid);
H245Channel* getNextOutChanByBase(HCONTROL ctrl,H245Channel* channel, void** ptr);

H245Channel* getNextOutChan(HCONTROL ctrl, void** ptr);
H245Channel* getNextInChan(HCONTROL ctrl, void** ptr);

/************************************************************************
 * getNextChan
 * purpose: Get the next channel for a given control object.
 *          This function can be used to perform a single task on all
 *          the channels.
 * input  : ctrl            - Control object
 *          currentH245Channel  - Current channel we have.
 *                            If the contents of this pointer is NULL, then the
 *                            first channel will be returned
 * output : currentH245Channel  - Next channel in list
 * return : Next channel in list on success
 *          NULL when there are no more channels
 ************************************************************************/
H245Channel* getNextChan(IN HCONTROL ctrl, INOUT void** currentH245Channel);

RvBool checkChanSIDConsistency(HCONTROL ctrl,H245Channel* channel);
int getFreeSID(HCONTROL ctrl);

#endif
#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?