#ifndef _ITF_TYPES #define _ITF_TYPES //CONTROL GENERIC //////////////////////////////////////////////////////////////////////////////// ///////////////////////DATA CONTROL///////////////////////////////////////////// /*Define the module control parameters*/ /*Values for "status"*/ #define NONACTIVE 0 #define ACTIVE 1 /*Defines a module as active*/ #define TEST_FLOW 2 /*Test flows: Bypass data flow mode*/ #define TEST_PROCESS 3 /*Test Module Process*/ /*Control STRUCT */ typedef struct { /*Defined according the control out needs*/ int status; int time_slot; int inputdatalength; int outputdatalength; int transporttypeIN; int transporttypeOUT; /** <----------------- Additional module control variables here*/ }ControlMODULENAME_h; /** MODULENAME to be modified according name of * the module * It is needed when a module controlling the * other ones is used */ #endif