#ifndef CONTROLLER_CONTROLLER_H #define CONTROLLER_CONTROLLER_H #include #include #include #include typedef struct controller { uuid_t uuid; char name[CONTROLLER_NAME_LENGTH]; uint16_t port; uint8_t relay_count; relay **relays; } controller; controller* controller_create(void); controller* controller_read(void); int controller_save(controller* ci); #endif //CONTROLLER_CONTROLLER_H