typedef char output1_t; #define OUTPUT_MAX_DATA INPUT_MAX_DATA output1_t output_data[OUTPUT_MAX_DATA]; int output_ready(); int output_process(int len); /** configure output interfaces */ struct utils_itf output_itfs[] = { {"output", sizeof(output1_t), OUTPUT_MAX_DATA, output_data, output_ready, output_process }, {NULL, 0, 0, 0, 0, 0}};