rveppserver.h
来自「h.248协议源码」· C头文件 代码 · 共 75 行
H
75 行
#if (0)
******************************************************************************
Filename :
Description:
******************************************************************************
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:$
$Author: S. Cipolli$
******************************************************************************
#endif
#ifndef RV_EPPSERVER_H
#define RV_EPPSERVER_H
#include "rvtypes.h"
#include "rvthread.h"
#include "rvsocket.h"
#include "rvepp.h"
/* Server */
struct RvEppServer_;
typedef RvEppConnId (*RvEppServerOpen)(struct RvEppServer_* es, char* termId,
const RvEppConnParameters* params);
typedef RvBool (*RvEppServerModify)(struct RvEppServer_* es,
RvEppConnId connId, const RvEppConnParameters* params);
typedef RvBool (*RvEppServerQuery)(struct RvEppServer_* es, char* termConnId,
const char* propertyName, OUT char* propertyValue);
typedef RvBool (*RvEppServerSet)(struct RvEppServer_* es, char* termId, const char* propertyName,
char* propertyParam);
typedef RvBool (*RvEppServerClose)(struct RvEppServer_* es, RvEppConnId connId);
typedef RvBool (*RvEppServerStart)(struct RvEppServer_* es, char* termId, const char* signal);
typedef RvBool (*RvEppServerStop)(struct RvEppServer_* es, char* termId, const char* signal);
typedef struct RvEppServer_ {
RvHost host;
RvSocket s;
RvThread thread;
RvBool done;
const char* endpointName;
const char* mgIp;
RvInetPort mgPort;
RvEppServerOpen eOpen;
RvEppServerModify eModify;
RvEppServerQuery eQuery;
RvEppServerClose eClose;
RvEppServerStart eStart;
RvEppServerStop eStop;
RvEppServerSet eSet;
} RvEppServer;
RvEppServer* rvEppServerConstruct(RvEppServer* es,
const char* endpointName, const char* packageList,
const char* mgIp, RvInetPort mgPort,
RvEppServerOpen eOpen, RvEppServerModify eModify, RvEppServerClose eClose,
RvEppServerQuery eQuery, RvEppServerStart eStart, RvEppServerStop eStop, RvEppServerSet eSet);
void rvEppServerDestruct(RvEppServer* es);
void rvEppServerEvent(RvEppServer* es, const char* eventName);
#define rvEppServerGetName(es) ((es)->endpointName)
#define rvEppServerGetPort(es) ((rvSocketGetPort(&es->s))
#define rvEppServerGetMgIp(es) ((es)->mgIp)
#define rvEppServerGetMgPort(es) ((es)->mgPort)
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?