]> git.ozlabs.org Git - ccan/blob - tools/doc_extract.h
tally: Fix a c++ warning
[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         /* Where did I come from? */
11         unsigned int srcline;
12         unsigned int num_lines;
13         char **lines;
14 };
15
16 struct list_head *extract_doc_sections(char **rawlines);
17 #endif /* _DOC_EXTRACT_CORE_H */