aboutsummaryrefslogtreecommitdiff
path: root/src/effect.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-09-21 00:23:25 +0200
committerFederico Angelilli <code@fedang.net>2024-09-21 00:23:25 +0200
commit09190056721872069a82db51d97de6ab60f73a40 (patch)
tree39afa0488d680cfda870a109e5d3d5dbdfa3d684 /src/effect.h
parentae59c294bfd4b73f6e751a3103c2ee7501068492 (diff)
Allow user to specify effect
Diffstat (limited to 'src/effect.h')
-rw-r--r--src/effect.h4
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);