/** Input is bitstream for modulator, or 2 arrays of shorts (I & Q) for demodulator */ #define INPUT_MAX_DATA 10*1024 /*Max Number of data symbols*/ typedef char input1_t; input1_t input_data[INPUT_MAX_DATA]; int process_data(int len); /** configure input interfaces */ struct utils_itf input_itfs[] = { {"input", sizeof(input1_t), INPUT_MAX_DATA, input_data, NULL, process_data}, {NULL, 0, 0, 0, 0, 0}};