prg_mapping_value_add()

Abstract

Adds a value to the mapping data structure.

Syntax

prg_mapping_value_add (mapping_handle, value)
Argument Type Description
mapping_handle PrgT_Mapping_Handle mapping data structure returned by a prg_mapping_create() call
value void * value to add to the mapping

Return Type

PrgT_Compcode

PrgC_Compcode_Success if the value was successfully added; PrgC_Compcode_Failure otherwise (for example, if the element already exists).

prg_mapping.h

Details

Add the specified value (if its key does not match the key of an existing element) to a mapping data structure created with prg_mapping_create().

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