Skip to content
Snippets Groups Projects
Forked from oai / openairinterface5G
28483 commits behind the upstream repository.
intertask_interface_dump.h 1.88 KiB
/*******************************************************************************

  Eurecom OpenAirInterface
  Copyright(c) 1999 - 2013 Eurecom

  This program is free software; you can redistribute it and/or modify it
  under the terms and conditions of the GNU General Public License,
  version 2, as published by the Free Software Foundation.

  This program is distributed in the hope it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  more details.

  You should have received a copy of the GNU General Public License along with
  this program; if not, write to the Free Software Foundation, Inc.,
  51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.

  The full GNU General Public License is included in this distribution in
  the file called "COPYING".

  Contact Information
  Openair Admin: openair_admin@eurecom.fr
  Openair Tech : openair_tech@eurecom.fr
  Forums       : http://forums.eurecom.fr/openairinterface
  Address      : EURECOM, Campus SophiaTech, 450 Route des Chappes
                 06410 Biot FRANCE

*******************************************************************************/

#ifndef INTERTASK_INTERFACE_DUMP_H_
#define INTERTASK_INTERFACE_DUMP_H_

int itti_dump_queue_message(message_number_t message_number, MessageDef *message_p, const char *message_name,
                            const uint32_t message_size);

int itti_dump_queue_generic_string_message(message_number_t message_number,
                                           char *string_message,
                                           const uint32_t string_message_length);

int itti_dump_init(const char * const messages_definition_xml, const char * const dump_file_name);

void itti_dump_exit(void);

void itti_dump_thread_use_ring_buffer(void);

#endif /* INTERTASK_INTERFACE_DUMP_H_ */