📄 coder.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 CODER_H
#define CODER_H
#include <pvaltree.h>
RVAPI
int RVCALLCONV cmEmEncode(
IN HPVT valH,
IN RvPvtNodeId vNodeId,
OUT RvUint8* buffer,
IN int length,
OUT int* encoded);
RVAPI
int RVCALLCONV cmEmDecode(
IN HPVT valH,
IN RvPvtNodeId vNodeId,
IN RvUint8* buffer,
IN int length,
OUT int* decoded);
/************************************************************************
* cmEmInstall
* purpose: Initialize the encode/decode manager.
* This function should be called by applications that want to
* encode and decode ASN.1 messages, but don't want to initialize
* and use the CM for that purpose.
* input : maxBufSize - Maximum size of buffer supported (messages larger
* than this size in bytes cannot be decoded/encoded).
* output : none
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
RVAPI
int RVCALLCONV cmEmInstall(IN int maxBufSize);
#endif
#ifdef __cplusplus
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -