|
ZXC 0.15.0
High-performance asymmetric lossless compression library
|
Runtime-queryable library metadata. More...
Functions | |
| int | zxc_min_level (void) |
| Minimum supported compression level. | |
| int | zxc_max_level (void) |
| Maximum supported compression level. | |
| int | zxc_default_level (void) |
| Default compression level. | |
| const char * | zxc_version_string (void) |
| Library version string, "MAJOR.MINOR.PATCH". | |
Runtime-queryable library metadata.
Lets callers (filesystem integrations, bindings) discover the supported level range and the version at runtime instead of from compile-time constants alone.
| int zxc_default_level | ( | void | ) |
Default compression level.
Default compression level.
Returns the value of ZXC_LEVEL_DEFAULT (currently 3).
Definition at line 1172 of file zxc_common.c.
References ZXC_LEVEL_DEFAULT.
| int zxc_max_level | ( | void | ) |
Maximum supported compression level.
Maximum supported compression level.
Returns the value of ZXC_LEVEL_ULTRA (currently 7).
Definition at line 1165 of file zxc_common.c.
References ZXC_LEVEL_ULTRA.
| int zxc_min_level | ( | void | ) |
Minimum supported compression level.
Minimum supported compression level.
Returns the value of ZXC_LEVEL_FASTEST (currently 1). This allows integrators to discover the level range at runtime without relying on compile-time macros alone.
Definition at line 1158 of file zxc_common.c.
References ZXC_LEVEL_FASTEST.
| const char * zxc_version_string | ( | void | ) |
Library version string, "MAJOR.MINOR.PATCH".
Library version string, "MAJOR.MINOR.PATCH".
The returned pointer is a compile-time constant and must not be freed. Format: "MAJOR.MINOR.PATCH".
Definition at line 1180 of file zxc_common.c.
References ZXC_LIB_VERSION_STR.