prg_profile_lib_open()

摘要

打开一个公共 profile 库。

语法

prg_profile_lib_open (lib_name, options)
参数 类型 说明
lib_name const char * profile 库的模型名。
options int 包含打开 profile 库方式标志的整数(见详情)。

返回类型

PrgT_Profile_Lib_Handle

已打开的 profile 库的句柄。

头文件

prg_profile_funcs.h

详情

此函数为 profile 库分配内存并从存储中读入。当不再需要该 profile 库时,使用 prg_profile_lib_close()。

只有一个可用选项:PRGC_PROFILE_LIB_OPT_ALLOW_MODS 表示应以读/写模式打开 profile 库。若不设置该选项,profile 库以只读方式打开。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com