#ifndef _STATS_H #define _STATS_H int stat_mode; int reference_mode=-1; #define UECTRL_MODE_RX 0 #define UECTRL_MODE_TX 1 int mode; struct utils_param params[] = { {"mode",STAT_TYPE_INT,1,&mode}, {"reference_mode",STAT_TYPE_INT,1,&reference_mode}, {NULL, 0, 0, 0}}; struct utils_stat stats[] = { {"ReferenceMode", STAT_TYPE_INT, 1, &stat_mode, (void*)&reference_mode, READ}, {NULL, 0, 0, 0, 0, 0}}; #endif /* _STATS_H */