summaryrefslogtreecommitdiffstats
path: root/types.h
diff options
context:
space:
mode:
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);