⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emanag.h

📁 基于h323协议的软phone
💻 H
字号:
#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 EMANAG_H
#define EMANAG_H

#include <pvaltree.h>

typedef enum {
  emPER,
  emQ931,
  emBER
} emPrivateTags;


typedef struct
{
    int (*Encode)(
    IN  HPVT    valH,
    IN  int     vNodeId,
    IN  RvUint8*buffer,
    IN  int     length,
    OUT int*    encoded);
    int (*Decode)(
    IN  HPVT    valH,
    IN  int     vNodeId,
    IN  RvInt32 filedId,
    OUT RvUint8*buffer,
    IN  int     length,
    OUT int*    decoded);
} emTypeOfEncoding;


int emSetEncoding(
    IN  int                 privateTag,
    IN  emTypeOfEncoding*   encoding);

int emEncode(
    IN  HPVT    valH,
    IN  int     vNodeId,
    IN  RvUint8*buffer,
    IN  int     length,
    OUT int*    encoded);

int emEncodeExt(
    IN  HPVT    valH,
    IN  int     vNodeId,
    IN  RvUint8*buffer,
    IN  int     length,
    OUT int*    encoded);

int emDecode(
    IN  HPVT    valH,
    IN  int     vNodeId,
    OUT RvUint8*buffer,
    IN  int     length,
    OUT int*    decoded);

int emDecodeExt(
    IN  HPVT    valH,
    IN  int     vNodeId,
    IN  RvInt32 fieldId,
    IN  RvUint8*buffer,
    IN  int     length,
    OUT int*    decoded);

#endif
#ifdef __cplusplus
}
#endif



⌨️ 快捷键说明

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