Hcon_Library_Nth_Level_Device_Declare()

Abstract

Declares the specified device to have a special property.

Syntax

Hcon_Library_Nth_Level_Device_Declare (library_ptr, level, vendor, model, declaration_flags)
Argument Type Description
library_ptr HconT_Library * the device library to examine
level int the device level
vendor const char * device vendor name
model const char * device model name
declaration_flags int flag indicating the property to declare for the device

Return Type

PrgT_Compcode

PrgC_Compcode_Failure if library_ptr is not valid, the device is not found at the specified level, or the device is already on the requested list (legacy or non-legacy); PrgC_Compcode_Success otherwise.

hcon.h

Details

The available declaration_flags are:

  • HCONC_LIBRARY_DEVICE_DECLARE_LEGACY—device is “legacy” (not available for allocation, but usable if pre-existing on a site)
  • HCONC_LIBRARY_DEVICE_DECLARE_NONLEGACY—device is “active” or “non-legacy” (available for allocation)

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