19 lines
369 B
C
Executable File
19 lines
369 B
C
Executable File
// components/scheduler/include/scheduler.h
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include "scheduler_types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void scheduler_init(void);
|
|
void scheduler_set_config(const sched_config_t *cfg);
|
|
sched_config_t scheduler_get_config(void);
|
|
bool scheduler_is_allowed_now(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|