Callback Definitions

When defining functions based on these callback definitions, you must put DLLEXPORT in front of the return type. For example:

DLLEXPORT AceT_Decode_Status
op_tcp_decoder_decode (void * state_ptr, AceT_Packet * pk_ptr, int protocol,
	int layer, int offset, int * next_protocol_offset, int * next_protocol_id);

The ACE Decode package defines the following callback types.