libpressio 0.93.0
|
Pressio compressor loader. More...
Go to the source code of this file.
Functions | |
struct pressio * | pressio_instance () |
void | pressio_release (struct pressio *library) |
struct pressio_compressor * | pressio_get_compressor (struct pressio *library, const char *compressor_id) |
struct pressio_metrics * | pressio_new_metric (struct pressio *library, const char *const metric) |
struct pressio_metrics * | pressio_new_metrics (struct pressio *library, const char *const metrics[], int num_metrics) |
int | pressio_error_code (struct pressio *library) |
const char * | pressio_error_msg (struct pressio *library) |
const char * | pressio_version () |
const char * | pressio_features () |
const char * | pressio_supported_compressors () |
const char * | pressio_supported_metrics () |
unsigned int | pressio_major_version () |
unsigned int | pressio_minor_version () |
unsigned int | pressio_patch_version () |
Pressio compressor loader.
int pressio_error_code | ( | struct pressio * | library | ) |
[in] | library | the pointer to the library |
const char * pressio_error_msg | ( | struct pressio * | library | ) |
[in] | library | the pointer to the library |
const char * pressio_features | ( | ) |
struct pressio_compressor * pressio_get_compressor | ( | struct pressio * | library, |
const char * | compressor_id | ||
) |
[in] | library | the pointer to the library |
[in] | compressor_id | the compressor to use |
struct pressio * pressio_instance | ( | ) |
gets a reference to a new instance of libpressio; initializes the library if necessary
unsigned int pressio_major_version | ( | ) |
unsigned int pressio_minor_version | ( | ) |
struct pressio_metrics * pressio_new_metric | ( | struct pressio * | library, |
const char *const | metric | ||
) |
creates a new metrics structure
[in] | library | the pointer to the library |
[in] | metric | a c-string for the metric requested |
struct pressio_metrics * pressio_new_metrics | ( | struct pressio * | library, |
const char *const | metrics[], | ||
int | num_metrics | ||
) |
creates a composite metrics structure
[in] | library | the pointer to the library |
[in] | metrics | a list of c-strings containing the list of metrics requested |
[in] | num_metrics | the number of metrics requested |
unsigned int pressio_patch_version | ( | ) |
void pressio_release | ( | struct pressio * | library | ) |
[in] | library | the pointer to the library |
const char * pressio_supported_compressors | ( | ) |
const char * pressio_supported_metrics | ( | ) |
const char * pressio_version | ( | ) |
it will not return more information than the tailored functions below