WIP: ready to work (2)
This commit is contained in:
parent
4214fc2502
commit
f4a730109d
|
@ -62,3 +62,13 @@ struct arrow_t {
|
|||
uint y;
|
||||
uint z;
|
||||
};
|
||||
|
||||
struct model_t {
|
||||
int id;
|
||||
}
|
||||
|
||||
struct scheduler_t
|
||||
{
|
||||
int id;
|
||||
struct model_t *models;
|
||||
};
|
||||
|
|
|
@ -48,6 +48,17 @@
|
|||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
bool model_init(const char *content, size_t length, const char *basename);
|
||||
bool model_shutdown(void);
|
||||
|
||||
char model_get_dim(void);
|
||||
long model_get_dim_value(const char *axis);
|
||||
char model_get_multiplicity(void);
|
||||
bool model_get_next_state(char *new_state_id);
|
||||
bool model_get_next_arrow(struct arrow_t *new_arrow,
|
||||
const char *state_id,
|
||||
char dimension);
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
// Model init function (and model discovery) //
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// -------------------------------------------------------------------------- //
|
||||
// Scheduler init function //
|
||||
// -------------------------------------------------------------------------- //
|
||||
//void sched_init(scheduler_t *scheduler);
|
||||
void sched_init(struct scheduler_t *scheduler);
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
// Scheduler content destructor function //
|
||||
|
|
Loading…
Reference in New Issue