From 66a86d1b20a1e97b2d008e73db7557887fc44edf Mon Sep 17 00:00:00 2001 From: gramanas Date: Sat, 6 Nov 2021 13:01:47 +0200 Subject: Progress --- types.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'types.h') diff --git a/types.h b/types.h index 788a767..ea8fa47 100644 --- a/types.h +++ b/types.h @@ -9,6 +9,7 @@ typedef struct item_t { enum step_type { PREP = 0, COOK, + SERVE, }; typedef struct step_t { @@ -22,13 +23,17 @@ typedef struct recipe_t { char * filename; char * path; char * title; + int n; item **i; int in; step **s; int sn; + struct recipe_t **r; + int rn; } recipe; recipe * new_recipe(); +void new_subrecipe(recipe * r, recipe * src); void new_item(recipe * r); void new_step(recipe * r); -- cgit v1.2.3