#ifndef _MY_PROG_H #define _MY_PROG_H #include "itf_types.h" #define PROCESSINGTYPEIN TYPE_BITSTREAM /** Change according your needs*/ #define PROCESSINGTYPEOUT TYPE_BITSTREAM /** Change according your needs*/ void init_my_prog(); int my_prog(void *pdatain, void *pdataout,\ int processingtypeIN, int processingtypeOUT,\ int inputlength, ControlMODULENAME_h myctrl); //Compare_data: Compare the received data with the original one. //When length of data received is equal to the file length outputs the BER int compare_data(unsigned char *data_in,\ unsigned char *file,\ int numchars, int file_length); #endif