#define _PCILIB_VIEW_ENUM_C #include #include #include #include #include "version.h" #include "model.h" #include "enum.h" static void pcilib_enum_view_free(pcilib_t *ctx, pcilib_view_context_t *view) { } static int pcilib_enum_view_read(pcilib_t *ctx, pcilib_view_context_t *view, const pcilib_register_value_t *regval, pcilib_data_type_t viewval_type, size_t viewval_size, void *viewval) { /* for(j=0; ((pcilib_enum_t*)(params))[j].name; j++) { if (*regval<=((pcilib_enum_t*)(params))[j].max && *regval>=((pcilib_enum_t*)(params))[j].min) { if(viewval_size