X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fapi.git;a=blobdiff_plain;f=list%2Flist.c;fp=list%2Flist.c;h=681db539924fb7242d4f3cbca58bdc18a8cd57ce;hp=0000000000000000000000000000000000000000;hb=040060604e2dc08d17d900825072aad88206ae3b;hpb=24edc387e6e88c32c6142f397ee891746eed62e3 diff --git a/list/list.c b/list/list.c new file mode 100644 index 0000000..681db53 --- /dev/null +++ b/list/list.c @@ -0,0 +1,12 @@ +/* list.c -- list management szuff + * + * author: hackbard@hackdaworld.dyndns.org + * + */ + +#include "list.h" + +int list_init(t_list *list) { + + if(list->type==SINGLE) { + list->start