From 612a29e8557611e241aa38b8af23592a47297b70 Mon Sep 17 00:00:00 2001 From: Cedric Roux Date: Wed, 13 Nov 2013 09:10:24 +0000 Subject: [PATCH] - Inserted macro to retrieve instance from a message git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4377 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- common/utils/itti/intertask_interface_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/utils/itti/intertask_interface_types.h b/common/utils/itti/intertask_interface_types.h index f7c8d4e582..4a41f6d8c0 100644 --- a/common/utils/itti/intertask_interface_types.h +++ b/common/utils/itti/intertask_interface_types.h @@ -57,6 +57,8 @@ /* Defines to extract task ID fields */ #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