#include "brightness.h" #include #define VALUE_SIZE 5 struct brightness { char value[VALUE_SIZE]; }; struct brightness * brightness_new() { struct brightness * b = malloc(sizeof(struct brightness)); return b; } void brightness_free(struct brightness * b) { free(b); } void brightness_update(struct brightness * b) { } const char * brightness_get_val(struct brightness * b) { return b->value; }