From: "Timothy B. Terriberry" <tterribe@xiph.org>
[ccan] / tools / doc_extract.h
1 #ifndef _DOC_EXTRACT_CORE_H
2 #define _DOC_EXTRACT_CORE_H
3 #include <stdbool.h>
4 #include <ccan/list/list.h>
5
6 struct doc_section {
7         struct list_node list;
8         const char *function;
9         const char *type;
10         unsigned int num_lines;
11         char **lines;
12 };
13
14 struct list_head *extract_doc_sections(char **rawlines, unsigned int num);
15 #endif /* _DOC_EXTRACT_CORE_H */