From 83cd2267b309fa7411acaed356f88101196bb2ad Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Thu, 6 Feb 2020 19:43:57 +0300 Subject: [magi] Broken to become better. --- src/param.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/param.h (limited to 'src/param.h') diff --git a/src/param.h b/src/param.h deleted file mode 100644 index bebacd7..0000000 --- a/src/param.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef MAGI_INCLUDED_PARAM -#define MAGI_INCLUDED_PARAM - - -typedef struct magi_param { - /* All pointers must be valid as 'free' arguments. */ - char *name; - char *data; -} magi_param; - -typedef struct magi_param_list { - struct magi_param_list *next; /* Must be valid as 'free' argument. */ - magi_param item; -} magi_param_list; - - -/* Addition of item to top of list. Null <=> error. */ -int magi_param_list_add(magi_param_list **list, - magi_param *item); - -/* Data of the first node in list: node.name == name; else null. */ -char *magi_param_list_get(magi_param_list *list, const char *name); - -/* Freeing and invalidation of list. */ -void magi_param_list_destroy(magi_param_list *list); - - -#endif -- cgit v1.2.3