int datatype; int rows=0,cols=0; struct utils_param params[] = { /** allowed types: * bitstream 0 * char 1 * short 2 * int 3 * float 4 */ {"datatype",STAT_TYPE_INT,1,&datatype}, {"cols",STAT_TYPE_INT,1,&cols}, {"rows",STAT_TYPE_INT,1,&rows}, {NULL, 0, 0, 0}}; struct utils_stat stats[] = { {NULL, 0, 0, 0, 0, 0}};