Ets_Output_Value_Cache_Row_Entry_Add()

Abstract

Adds an entry that associates a given row index with a specific object name.

Syntax

Ets_Output_Value_Cache_Row_Entry_Add (cache_ptr, obj_name, row_idx)
Argument Type Description
cache_ptr EtsT_Output_Value_Cache * Output cache containing the registered value of interest.
obj_name const char * Hierarchical name (without top subnet). Owned by caller.
row_idx long Row in which the object is found for this value.

Return Type

EtsT_Compcode

EtsC_Compcode_Success if successful (even if the row is already present); EtsC_Compcode_Failure otherwise.

ets_api_output.h

Details

If there is already a row for obj_name, the original row_idx is kept in the hash table unless discontiguous rows are supported. In that case, the new row_idx is added to the list of row indices.

If there are multiple connected rows for the same object, this function should be called for the first row only.

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