ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
embedded_resources.h
Go to the documentation of this file.
1
46#pragma once
47
48#include <stddef.h>
49#include <stdio.h>
50
51// =============================================================================
52// Build Type Detection
53// =============================================================================
54
63// =============================================================================
64// External Declarations for Embedded Data
65// =============================================================================
66
72extern const char embedded_manpage_template[];
73
79extern const size_t embedded_manpage_template_size;
80
81// =============================================================================
82// Resource Access Functions
83// =============================================================================
84
108int get_manpage_template(FILE **out_file, const char **out_content, size_t *out_len);
109
123int get_manpage_content(FILE **out_file, const char **out_content, size_t *out_len);
124
139void release_manpage_resources(FILE *file);
140
int get_manpage_template(FILE **out_file, const char **out_content, size_t *out_len)
Get man page template source (embedded or filesystem)
Definition embedded.c:22
int get_manpage_content(FILE **out_file, const char **out_content, size_t *out_len)
Get man page content source (embedded or filesystem)
Definition embedded.c:75
const size_t embedded_manpage_template_size
Size of embedded_manpage_template (excluding null terminator)
void release_manpage_resources(FILE *file)
Release resources obtained from get_manpage_*.
Definition embedded.c:91
const char embedded_manpage_template[]
Behavior based on build type.