Commit 612a29e8 authored by Cedric Roux's avatar Cedric Roux

- Inserted macro to retrieve instance from a message

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4377 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent bd15c6c2
...@@ -57,6 +57,8 @@ ...@@ -57,6 +57,8 @@
/* Defines to extract task ID fields */ /* Defines to extract task ID fields */
#define TASK_GET_THREAD_ID(tASKiD) (itti_desc.tasks_info[tASKiD].thread) #define TASK_GET_THREAD_ID(tASKiD) (itti_desc.tasks_info[tASKiD].thread)
/* Extract the instance from a message */
#define ITTI_MESSAGE_GET_INSTANCE(mESSAGE) ((mESSAGE)->header.instance)
#include <messages_types.h> #include <messages_types.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment