diff options
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |