|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Man page template parsing and section extraction implementation. More...
Go to the source code of this file.
Functions | |
| asciichat_error_t | manpage_parser_parse_file (FILE *f, parsed_section_t **out_sections, size_t *out_count) |
| asciichat_error_t | manpage_parser_parse_memory (const char *content, size_t content_len, parsed_section_t **out_sections, size_t *out_count) |
| void | manpage_parser_free_sections (parsed_section_t *sections, size_t count) |
| const parsed_section_t * | manpage_parser_find_section (const parsed_section_t *sections, size_t count, const char *section_name) |
Man page template parsing and section extraction implementation.
Parses man page templates to extract sections and detect their types (AUTO-generated, MANUAL, or MERGE sections).
Definition in file parser.c.
| const parsed_section_t * manpage_parser_find_section | ( | const parsed_section_t * | sections, |
| size_t | count, | ||
| const char * | section_name | ||
| ) |
Definition at line 397 of file parser.c.
Referenced by find_section().
| void manpage_parser_free_sections | ( | parsed_section_t * | sections, |
| size_t | count | ||
| ) |
Definition at line 380 of file parser.c.
Referenced by free_parsed_sections().
| asciichat_error_t manpage_parser_parse_file | ( | FILE * | f, |
| parsed_section_t ** | out_sections, | ||
| size_t * | out_count | ||
| ) |
Definition at line 339 of file parser.c.
Referenced by parse_manpage_sections().
| asciichat_error_t manpage_parser_parse_memory | ( | const char * | content, |
| size_t | content_len, | ||
| parsed_section_t ** | out_sections, | ||
| size_t * | out_count | ||
| ) |
Definition at line 347 of file parser.c.
References platform_tmpfile().