/** receives 8-bit integer samples */ #define INPUT_MAX_DATA (100*1024) /*Max Number of data symbols*/ typedef char input1_t; input1_t input_data[INPUT_MAX_DATA]; int process_input(int len); struct viterbi_h ctrlpkt; int process_control(int len); /** configure input interfaces */ struct utils_itf input_itfs[] = { {"control", sizeof(struct viterbi_h), 1, &ctrlpkt, NULL, process_control }, {"input", sizeof(input1_t), INPUT_MAX_DATA, input_data, NULL, process_input }, {NULL, 0, 0, 0, 0, 0}}; /** =============== End ================ */