comment.h (440B)
1 /* This work is in the public domain. See COPYING file for details. */ 2 3 #ifndef COMMENT_H 4 #define COMMENT_H 5 6 struct input_list; 7 8 struct comment_list { 9 char *name; 10 char *email; 11 char *body; 12 struct comment_list *next; 13 }; 14 15 struct comment_list * 16 comment_list_new(char *); 17 void comment_list_free(struct comment_list *); 18 void comment_list_print(struct comment_list *); 19 void comment_write(struct input_list *, char *); 20 21 #endif /* COMMENT_H */