IRCWebHooks
Barry Adding files 3f04e22 (3 years, 3 months ago)diff --git a/src/list.h b/src/list.h new file mode 100644 index 0000000..413235d --- /dev/null +++ b/src/list.h @@ -0,0 +1,18 @@ +#ifndef LIST_H +#define LIST_H + +#include <stdbool.h> + +struct Node { + char data[32]; + struct Node *next; +}; + +void insert_first(char *data); +struct Node *delete_first(void); +bool is_empty(void); +int length(void); +struct Node *find(char *data); +struct Node *delete(char *data); + +#endif