PrgT_Graph_Destroy_Proc

Abstract

Callback: Destroys all the elements in a graph.

Syntax

PrgT_Graph_Destroy_Proc (elem_ptr, elem_type)
Argument Type Description
elem_ptr void * Pointer to an element in the graph.
elem_type PrgT_Graph_Element_Type Type of element being pointed to (one of the values in Table 4 Graph Package Symbolic Constants).

Return Type

PrgT_Compcode

PrgC_Compcode_Success if success, else PrgC_Compcode_Failure

prg_graph.h

Details

For each element in the graph, this procedure is called whenever a graph is destroyed. It is registered by prg_graph_state_handler_register().

This callback type is the original (and less flexible) version of PrgT_Graph_Ext_Destroy_Proc. It is supported for backward compatibility; the extended version is recommended for new code. Use only one of these two callback types; do not mix them.

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