#ifndef _CDATASINK_H #define _CDATASINK_H //CONTROL DATASINK //////////////////////////////////////////////////////////////////////////////// ///////////////////////DATA CONTROL///////////////////////////////////////////// /*Define the data source control parameters*/ typedef struct //Defined according the control out needs// { int numdatabytes; //Number of data bytes// }CDDataSink; //COntrol Data DataSink// //////////////////////////////////////////////////////////////////////////////// ///////////////////////EXECUTION CONTROL//////////////////////////////////////// /*Define the execution control parameters*/ #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*/ typedef struct //Defined according the control out needs { int status; //Define the status int timeslot; //Define the timeslot to produce the change }CEDataSink; //Control Execution DataSink //////////////////////////////////////////////////////////////////////////////// ///////////////////////CONTROL TYPE///////////////////////////////////////////// typedef struct //Defined according the control out needs { CDDataSink CData; CEDataSink CExec; }CDataSink; //Control Data Sink #endif