rvsocketengine.h
来自「h.248协议源码」· C头文件 代码 · 共 57 行
H
57 行
#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_SOCKETENGINE_H
#define RV_SOCKETENGINE_H
#include "rvalloc.h"
#include "rvthread.h"
#include "rvmutex.h"
#include "rvsocketselect.h"
typedef struct {
RvSocketSelect socketSelect;
RvBool stopped;
RvThread thread;
RvMutex lock;
} RvSocketEngine;
#if defined(__cplusplus)
extern "C" {
#endif
RvSocketEngine* rvSocketEngineConstruct(RvSocketEngine* se,
int priority, RvAlloc* a);
void rvSocketEngineDestruct(RvSocketEngine* se);
void rvSocketEngineStart(RvSocketEngine* se);
void rvSocketEngineStop(RvSocketEngine* se);
void rvSocketEngineRegisterListener(RvSocketEngine* se,
RvSocketListener* sl);
void rvSocketEngineUnregisterListener(RvSocketEngine* se,
RvSocketListener* sl);
#define rvSocketEngineUnregisterSocket(se, socket) rvSocketSelectUnregisterSocket(&(se)->socketSelect, (socket))
#if defined(__cplusplus)
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?