diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2021-11-06 13:01:47 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2021-11-06 13:01:47 +0200 |
commit | 66a86d1b20a1e97b2d008e73db7557887fc44edf (patch) | |
tree | d778fa893496fc7d4c3609dc8d3d8f667182217d /types.h | |
parent | 9deed51aa2df7ca5979963f7452a6439ad2d3767 (diff) | |
download | foodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.tar.gz foodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.tar.bz2 foodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.zip |
Progress
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); |