rvmegacogateway.h

来自「h.248协议源码」· C头文件 代码 · 共 58 行

H
58
字号
/******************************************************************************
Filename:    rvmegacogateway.h
Description: sample gateway class
*******************************************************************************
                Copyright (c) 2001 RADVision Inc.
*******************************************************************************
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 RV_MEGACOGATEWAY_H
#define RV_MEGACOGATEWAY_H

#include "rvmegacosystem.h"
#include "rvmegacostack.h"
#include "rvmegacoentity.h"
#include "rvmegacotermmgr.h"
#include "rtp.h"
#include "rvphonelink.h"
#include "rvphonesim.h"

#if defined(__cplusplus)
extern "C" {
#endif

typedef struct
{
	RvMegacoStack stack;
	RvMegacoEntity mg;
	RvMdmTermMgr termMgr;
	RvMdmTermClass *rtpClass;
	rtpEngine engine;
	RvPhoneMgr phoneMgr;
	RvPhoneSim phoneSim;
	RvBool phoneSimOn;
	RvMdmTermClass *rootClass;
	int startMdmDelay;
} RvMegacoGateway;

RvMegacoGateway *rvMegacoGatewayConstruct(RvMegacoGateway *gw,
	const char *mgName, RvTransportType transportType, RvMegacoEntityAddress *mgc, int startMdmDelay);
void rvMegacoGatewayDestruct(RvMegacoGateway *gw);
void rvMegacoGatewayAddRemote(RvMegacoGateway* gw,	RvMegacoEntityAddress* mgc);
void rvMegacoGatewayStart(RvMegacoGateway* gw);
void rvMegacoGatewayStartSim(RvMegacoGateway* gw, const char *prefix, int numTerms);

#if defined(__cplusplus)
}
#endif

#endif

⌨️ 快捷键说明

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