diff options
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index 2c58537..867368b 100644 --- a/src/types.h +++ b/src/types.h @@ -30,6 +30,7 @@ typedef struct recipe_t { int sn; struct recipe_t **r; int rn; + char sha1[41]; } recipe; recipe * new_recipe(); @@ -42,6 +43,7 @@ void free_item(item * i); void free_step(step * s); void pprint_items(recipe * r); +void listing(recipe * r); void show(recipe * r); void tojson(recipe * r); void tohtml(recipe * r); @@ -52,6 +54,11 @@ void torcp(recipe * r); /** * Copy metadata from `src` to `dst` */ +void copy_subrecipes(recipe * dst, recipe * src); + +/** + * Copy metadata from `src` to `dst` + */ void copy_metadata(recipe * dst, recipe * src); /** |