diff options
| author | Federico Angelilli <code@fedang.net> | 2024-09-21 00:23:25 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-09-21 00:23:25 +0200 |
| commit | 09190056721872069a82db51d97de6ab60f73a40 (patch) | |
| tree | 39afa0488d680cfda870a109e5d3d5dbdfa3d684 /src/effect.h | |
| parent | ae59c294bfd4b73f6e751a3103c2ee7501068492 (diff) | |
Allow user to specify effect
Diffstat (limited to 'src/effect.h')
| -rw-r--r-- | src/effect.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/effect.h b/src/effect.h index 980d339..b5f4b32 100644 --- a/src/effect.h +++ b/src/effect.h @@ -34,11 +34,13 @@ struct effect_info { }; struct effect { - effect_info_t *info; + const effect_info_t *info; struct timespec start; struct effect *next; }; +void effect_init(effect_t *effect, const effect_info_t *info); + void effect_info_free(effect_info_t *info); void effect_free(effect_t *effect); |
