diff options
author | standenboy <standenboy@seacrossedlovers.xyz> | 2024-04-25 08:54:44 +0100 |
---|---|---|
committer | standenboy <standenboy@seacrossedlovers.xyz> | 2024-04-25 08:54:44 +0100 |
commit | 2e239a4ed2265f7c7dc2aabedfdb7d7b011704cb (patch) | |
tree | acfef7d709d4e09cbc05a368b5a30047147c69cf /comp/cw/code/ads/ll/ll.h | |
parent | b1c4f3c2d2a567601d2cb6aee65bb0d81320dfba (diff) |
dll wasn't working and prob wasn't needed so i removed it
Diffstat (limited to 'comp/cw/code/ads/ll/ll.h')
-rw-r--r-- | comp/cw/code/ads/ll/ll.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/comp/cw/code/ads/ll/ll.h b/comp/cw/code/ads/ll/ll.h new file mode 100644 index 0000000..30830b1 --- /dev/null +++ b/comp/cw/code/ads/ll/ll.h @@ -0,0 +1,15 @@ +#include <stdlib.h> +#include <string.h> + +typedef struct ll_t ll_t; + +typedef struct ll_t { + void *data; + ll_t *next; +} ll_t; + +ll_t *llalloc(); +void llsetdata(ll_t *node, void *data); +void llsetnext(ll_t *node, ll_t *next); +void *llgetat(ll_t *head, int index); +void llfreeall(ll_t *head); |