summaryrefslogtreecommitdiffstats
path: root/types.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2021-11-06 13:01:47 +0200
committergramanas <anastasis.gramm2@gmail.com>2021-11-06 13:01:47 +0200
commit66a86d1b20a1e97b2d008e73db7557887fc44edf (patch)
treed778fa893496fc7d4c3609dc8d3d8f667182217d /types.h
parent9deed51aa2df7ca5979963f7452a6439ad2d3767 (diff)
downloadfoodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.tar.gz
foodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.tar.bz2
foodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.zip
Progress
Diffstat (limited to 'types.h')
-rw-r--r--types.h5
1 files changed, 5 insertions, 0 deletions
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);