/* Routine used to register record end routine. The routine should only be registered when the dissector is used in the record, not in the proto_register_XXX function.  */
void register_file_record_end_routine(packet_info *pinfo, void(*func)(void))
/* Routine used to register record end routine. The routine should only be registered when the dissector is used in the record, not in the proto_register_XXX function.  */
void register_file_record_end_routine(packet_info *pinfo, void(*func)(void))
{
	pinfo->frame_end_routines = g_slist_append(pinfo->frame_end_routines, (gpointer)func);
}