cmconfig.h

来自「基于h323协议的软phone」· C头文件 代码 · 共 69 行

H
69
字号
/*

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 _CMLOG_H
#define _CMLOG_H

#ifdef __cplusplus
extern "C" {
#endif

#include <cmintr.h>
#include <ci.h>
#include <pvaltree.h>


/************************************************************************
 * cmiCreateLog
 * purpose: Create a log manager for use by a stack instance
 *          This function reads the information from a configuration
 *          manager and initializes the log manager with it.
 * input  : app     - Stack's application handle
 * output : none
 * return : none
 ************************************************************************/
void cmiCreateLog(IN cmElem* app);


/************************************************************************
 * cmiDestroyLog
 * purpose: Destroy a log manager and the CM's sources
 * input  : app     - Stack's application handle
 * output : none
 * return : none
 ************************************************************************/
void RVCALLCONV cmiDestroyLog(IN cmElem* app);


/************************************************************************
 * pvtLoadFromConfig
 * purpose: Convert information from a configuration instance (HCFG) to
 *          a value tree of a given syntax.
 * input  : hCfg        - Configuration instance handle
 *          hVal        - Value tree handle
 *          name        - Name of root from configuration to convert
 *          rootNodeId  - Syntax of configuration
 *          log         - Log handle to use for debug messages
 * output : none
 * return : Root ID of configuration created on success
 *          Negative value on failure
 ************************************************************************/
int pvtLoadFromConfig(HCFG hCfg, HPVT hVal, char* name, int rootNodeId, RvLogSource * log);


#ifdef __cplusplus
}
#endif

#endif  /* _CMLOG_H */

⌨️ 快捷键说明

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