#ifndef CONTROLLER_SCHEDULE_H #define CONTROLLER_SCHEDULE_H #include #include #include typedef struct { uuid_t id; uint16_t length; period_t **periods; } schedule_t; schedule_t* schedule_create(uuid_t id, uint16_t length, uint16_t *periods_blob); uint16_t* schedule_periods_to_blob(schedule_t *schedule); void schedule_free(schedule_t *schedule); void schedule_debug(schedule_t *schedule); #endif /* CONTROLLER_SCHEDULE_H */