diff options
| author | gramanas <anastasis.gramm2@gmail.com> | 2021-11-13 21:05:38 +0200 | 
|---|---|---|
| committer | gramanas <anastasis.gramm2@gmail.com> | 2021-11-14 11:07:42 +0200 | 
| commit | 382da0ada99a2874052f0e6ccb2c25e012d47fc9 (patch) | |
| tree | a92357f558dab48f376e666594da4aa6576f4861 /types.h | |
| parent | 2e00a24994e094efc47fce4501b134caa801ea2c (diff) | |
| download | foodtools-382da0ada99a2874052f0e6ccb2c25e012d47fc9.tar.gz foodtools-382da0ada99a2874052f0e6ccb2c25e012d47fc9.tar.bz2 foodtools-382da0ada99a2874052f0e6ccb2c25e012d47fc9.zip | |
Update Makefile and add list ingredients draft
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 51 | 
1 files changed, 0 insertions, 51 deletions
| diff --git a/types.h b/types.h deleted file mode 100644 index ea8fa47..0000000 --- a/types.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef __TYPES_H -#define __TYPES_H - -typedef struct item_t { -  char *name; -  char *qty; -} item; - -enum step_type { -  PREP = 0, -  COOK, -  SERVE, -}; - -typedef struct step_t { -  char *inst; -  char *duration; -  char *result; -  enum step_type type; -} step; - -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); - -void free_recipe(recipe * r); -void free_item(item * i); -void free_step(step * s); - -void show(recipe * r); -void tojson(recipe * r); -void tohtml(recipe * r); -void torcp(recipe * r); - -void copy_items(recipe * dst, recipe * src); - -#endif /* __TYPES_H */ | 
