|
cwist
Modern C web framework with libttak runtime
|
Represents a file loaded into the fixed memory pool. More...
#include <app.h>
Public Attributes | |
| char * | path |
| Relative path (URL path) | |
| char * | fs_path |
| Full filesystem path. | |
| void * | data |
| Pointer to memory-tracked file contents. | |
| size_t | size |
| Size of the file in bytes. | |
| time_t | last_mod |
| Last modification time. | |
| char | etag [40] |
| Precomputed ETag for conditional requests. | |
| char | last_mod_hdr [30] |
| Precomputed HTTP-date (29 chars + NUL) | |
| ttak_mem_node_t * | node |
| Tracking node for libttak lifecycle. | |
Represents a file loaded into the fixed memory pool.
— Memory Management —
| void* cwist_file_t::data |
| char cwist_file_t::etag[40] |
| char* cwist_file_t::fs_path |
| char cwist_file_t::last_mod_hdr[30] |
| ttak_mem_node_t* cwist_file_t::node |
Tracking node for libttak lifecycle.
Definition at line 238 of file app.h.
Referenced by cwist_app_destroy().
| char* cwist_file_t::path |