doc_extract.h 398 B

1234567891011121314151617
  1. #ifndef _DOC_EXTRACT_CORE_H
  2. #define _DOC_EXTRACT_CORE_H
  3. #include <stdbool.h>
  4. #include <ccan/list/list.h>
  5. struct doc_section {
  6. struct list_node list;
  7. const char *function;
  8. const char *type;
  9. /* Where did I come from? */
  10. unsigned int srcline;
  11. unsigned int num_lines;
  12. char **lines;
  13. };
  14. struct list_head *extract_doc_sections(char **rawlines, const char *file);
  15. #endif /* _DOC_EXTRACT_CORE_H */