oms_data_def_entry_access()

Abstract

Retrieves data from the attribute database.

Syntax

oms_data_def_entry_access (category_name, entry_name)

Argument Type Description
category_name char * Category name of interest.
entry_name char * Entry name of interest.

Return Type

void *

The pointer stored under the specified category and entry names.

If either the category or the entry under it does not exist, the function returns OPC_NIL.

Details

Each category name is unique within the network-wide database, and each entry name is unique within the category. This two-level classification scheme simplifies the classification and shortens storage and retrieval time.

In many cases, the value of category_name is the high-level attribute name (for example IP Compression Info) and the value of entry_name is the value of the Name given to the value combination.

Example

Excerpt from exit execs of wait state, ip_rte_v4 process model.

/* Retrieve the information about the compression scheme*/
/* used for this interface from the network-wide attribute*/
/* database. Use the comp_info_str (name) as the reference.*/
iface_info_ptr->comp_info = oms_data_def_entry_access ("IP Compression Information", comp_info_str);

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