rvmegacotermevent.h

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

H
59
字号
/******************************************************************************
Filename   : rvmegacotermevent.h
Description: Event-processing MEGACO Termination Functions
******************************************************************************
                Copyright (c) 1999 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.
******************************************************************************
$Revision:$
$Date:11.15.00$
$Author: D.Elbert$
******************************************************************************/
#ifndef RV_MEGACOTERMEVENT_H
#define RV_MEGACOTERMEVENT_H

#include "rvmegacoterm.h"

#define RV_MDMTERMEVENT_IGNORE			-1	 /* digitmap event is to be ignored*/
#define RV_MDMTERMEVENT_NOTFOUND		0	 /* digitmap event could not be translated */	

RvBool rvMegacoTermProcessObsEvent(RvMdmTerm* mdmTerm,const char* pkg,const char* id,
						  RvMdmMediaStream* media,RvMegacoParameterList * args);

void  rvMegacoDigitMapBuildDDEvComplete(RvMegacoParameterList *parameters,
										const char * digitString,
										RvMegacoDigitMapMatchType matchType,
										void* userData);
char rvMegacoDigitMapTranslateDDEvent(const char * eventName, const RvMegacoParameterList* args);

void rvMegacoTermDigitMapTimerProcess(RvMegacoTerm * x);

void rvMegacoTermProcessEvents(RvMegacoTerm * x,const RvMegacoEventsDescriptor * eventsDescr,RvMegacoCommandReply * commReply);
void rvMegacoTermProcessEventBuffer(RvMegacoTerm * x,const RvMegacoEventBufferDescriptor * eventBufferDescr,RvMegacoCommandReply * commReply);

void rvMegacoTermSetLockStep(RvMegacoTerm * x,RvBool newMode);

RvBool rvMegacoTermQueueObsEvent(RvMdmTerm* mdmTerm,const char* pkg,const char* id,
						  RvMdmMediaStream* media,RvMegacoParameterList * args);

void rvMegacoTermProcessBlockedEvent(RvMegacoTerm* x);
void rvMegacoTermPostEvent(RvTimer* t,void* data) ;

void rvMegacoTermProcessEventQueue(RvThread* t,void * data);

/* Use for audit */
void rvMegTermEventPushAuditDMEventCompletion(RvMegacoTerm * x);
void rvMegTermEventPopAuditDMEventCompletion(RvMegacoTerm * x);


#endif /* RV_MEGTERMEVENT_H */

⌨️ 快捷键说明

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