aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2022-01-25 10:42:22 -0500
committerjvech <jmvalenciae@unal.edu.co>2022-01-25 10:42:22 -0500
commitc3ebe7fe98668098f610b2e38461496f8987aca9 (patch)
tree9eec0e5eeb1de8f40050c8e72405cc30cf9652f7 /main.h
parent2c7d72db92a00f653b5f5db77b1ce5bc22800a07 (diff)
LICENSE and README added
Diffstat (limited to 'main.h')
-rw-r--r--main.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.h b/main.h
index ccc9ae1..f7ac7b0 100644
--- a/main.h
+++ b/main.h
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
#define TITLE_LENGTH 200
#define ID_LENGTH 12
@@ -6,3 +8,11 @@ typedef struct list {
char name[101];
struct list *next;
} list;
+
+void error(char *c);
+list *list_create(char title[], char id[]);
+void list_free(list *start);
+void list_append(list *list_first, char title[], char id[]);
+void list_print_item(list *x, int i);
+list *list_get_node(list *x, int index);
+list *parse_stream(FILE *file);
Feel free to download, copy and edit any repo