typedef char output1_t; #define OUTPUT_MAX_DATA (100*1024) /*Max Number of data symbols*/ output1_t output_data[OUTPUT_MAX_DATA]; int generate_output(int len); int get_output_length(); /** configure output interfaces */ struct utils_itf output_itfs[] = { {"output", sizeof(output1_t), OUTPUT_MAX_DATA, output_data, get_output_length, generate_output }, {NULL, 0, 0, 0, 0, 0}};