diff options
| -rw-r--r-- | main.c | 7 | ||||
| -rw-r--r-- | main.h | 11 |
2 files changed, 12 insertions, 6 deletions
@@ -1,13 +1,8 @@ -#include "list.h" +#include "main.h" #include <stdio.h> #include <stdlib.h> #include <string.h> -struct student { - char *name; - struct list_elem elem; -}; - // Read a line from stdin, strip the eventual newline and return a pointer // to the string. Remember to free the pointer. char *read_input() { @@ -0,0 +1,11 @@ +#include "list.h" + +struct student { + char *name; + struct list_elem elem; +}; + +void insert(struct list *student_list); +void delete(struct list *student_list); +void list(struct list *student_list); +void quit(struct list *student_list); |
