ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
manpage_resources_t Struct Reference

Man page resource container. More...

#include <include/ascii-chat/options/manpage/resources.h>

Data Fields

const char * template_content
 Template file content (.1.in)
 
size_t template_len
 Length of template_content.
 
const char * content_sections
 Content sections file (.1.content)
 
size_t content_len
 Length of content_sections.
 
bool is_embedded
 True if resources from embedded binary.
 
bool allocated
 True if resources were allocated (need freeing)
 

Detailed Description

Man page resource container.

Holds loaded man page resources with metadata about their origin and lifecycle management.

Definition at line 22 of file resources.h.

Field Documentation

◆ allocated

bool manpage_resources_t::allocated

True if resources were allocated (need freeing)

Definition at line 28 of file resources.h.

Referenced by manpage_resources_destroy(), and manpage_resources_load().

◆ content_len

size_t manpage_resources_t::content_len

Length of content_sections.

Definition at line 26 of file resources.h.

Referenced by manpage_resources_destroy(), and manpage_resources_load().

◆ content_sections

const char* manpage_resources_t::content_sections

Content sections file (.1.content)

Definition at line 25 of file resources.h.

Referenced by manpage_resources_destroy(), and manpage_resources_load().

◆ is_embedded

bool manpage_resources_t::is_embedded

True if resources from embedded binary.

Definition at line 27 of file resources.h.

Referenced by manpage_resources_destroy(), and manpage_resources_load().

◆ template_content

const char* manpage_resources_t::template_content

◆ template_len

size_t manpage_resources_t::template_len

Length of template_content.

Definition at line 24 of file resources.h.

Referenced by manpage_resources_destroy(), manpage_resources_is_valid(), and manpage_resources_load().


The documentation for this struct was generated from the following file: