prg_profile_lib_write()

摘要

将公共 profile 库保存到磁盘。

语法

prg_profile_lib_write (lib_handle, lib_name)
参数 类型 说明
lib_handle PrgT_Profile_Lib_Handle 目标 profile 库的句柄。
lib_name const char * profile 库的模型名(若该 profile 库此前已保存过,可省略)。

返回类型

PrgT_Compcode

若未指定 profile 库、profile 库为本地库、profile 库为只读,或保存操作失败,则返回 PrgC_Compcode_Failure;否则返回 PrgC_Compcode_Success。

头文件

prg_profile_funcs.h

详情

此函数将指定的公共 profile 库写入磁盘存储。

符号常量

表 4:Profile 包/库子包符号常量

说明 类型 符号常量
无效 profile 句柄 PrgT_Profile_Handle PRGC_NIL_PROFILE_HANDLE
profile 库句柄 PrgT_Profile_Lib_Handle PRGC_NIL_PROFILE_LIB_HANDLE
PRGC_LOCAL_PROFILE_LIB_HANDLE
profile 库选项 int PRGC_PROFILE_LIB_OPT_ALLOW_MODS

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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