AceT_Decoder_Delete_Proc

Abstract

Callback: Used to destroy memory allocated by the load_proc.

Syntax

<delete_proc> (state_ptr)
Argument Type Description
state_ptr void * State information.

Return Type

void

No return value.

ace_client_api.h

Example

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;
	}

Details

This callback is invoked when Transaction Analyzer is closed. If the client allocates any memory in AceT_Decoder_Plugin_Load_Proc, it should free that memory in this callback.

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