prg_profile_lib_profile_add()

Abstract

Adds a profile to a profile library.

Syntax

prg_profile_lib_profile_add (lib_handle, profile_handle)
Argument Type Description
lib_handle PrgT_Profile_Lib_Handle Handle to a public profile library to which the profile is to be added, or PRGC_LOCAL_PROFILE_LIB_HANDLE.
profile_handle PrgT_Profile_Handle Handle to the profile to be added.

Return Type

PrgT_Compcode

PrgC_Compcode_Failure if the profile is already attached to a profile library; PrgC_Compcode_Success otherwise.

prg_profile_funcs.h

Details

The profile to be added must not be owned by any profile library.

The profile name might be modified if the profile library already contains a profile with the same name. (The profile's base name is specified with prg_profile_create_bt().)

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