AceT_Decoder_Delete_Proc

摘要

回调:用于销毁由 load_proc 分配的内存。

语法

<delete_proc> (state_ptr)
参数 类型 说明
state_ptr void * 状态信息。

返回类型

void

无返回值。

头文件

ace_client_api.h

示例

void
op_ica_ace_decoder_delete (void * state_ptr)
	{
	OpT_Ica_Decoder_State   * decoder_state_ptr;
	FIN (op_ica_ace_decoder_load);

	if (state_ptr)
		{
		decoder_state_ptr = (OpT_Ica_Decoder_State *)state_ptr;

		// Destroy the "deep" items
		op_ica_connections_destroy (decoder_state_ptr);

		// Destroy the state itself
		prg_mem_free (decoder_state_ptr);
		}

	FOUT;
	}

详情

当 Transaction Analyzer 关闭时会调用该回调。如果客户端在 AceT_Decoder_Plugin_Load_Proc 中分配了任何内存,应当在该回调中释放这些内存。

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