libpressio 0.93.0
Loading...
Searching...
No Matches
pressio.h
Go to the documentation of this file.
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#ifndef LIBPRESSIO_H
6#define LIBPRESSIO_H
7
12struct pressio;
14struct pressio_metrics;
15
21
22
27void pressio_release(struct pressio* library);
28
35struct pressio_compressor* pressio_get_compressor(struct pressio* library, const char* compressor_id);
36
44struct pressio_metrics* pressio_new_metric(struct pressio* library, const char* const metric);
45
54struct pressio_metrics* pressio_new_metrics(struct pressio* library, const char* const metrics[], int num_metrics);
55
60int pressio_error_code(struct pressio* library);
61
66const char* pressio_error_msg(struct pressio* library);
67
72const char* pressio_version();
77const char* pressio_features();
90unsigned int pressio_major_version();
94unsigned int pressio_minor_version();
98unsigned int pressio_patch_version();
99#endif
100
101#ifdef __cplusplus
102}
103#endif
void pressio_release(struct pressio *library)
const char * pressio_supported_metrics()
const char * pressio_version()
int pressio_error_code(struct pressio *library)
const char * pressio_features()
const char * pressio_supported_compressors()
struct pressio_metrics * pressio_new_metrics(struct pressio *library, const char *const metrics[], int num_metrics)
struct pressio_metrics * pressio_new_metric(struct pressio *library, const char *const metric)
unsigned int pressio_patch_version()
unsigned int pressio_major_version()
struct pressio_compressor * pressio_get_compressor(struct pressio *library, const char *compressor_id)
struct pressio * pressio_instance()
const char * pressio_error_msg(struct pressio *library)
unsigned int pressio_minor_version()
Definition: compressor.h:307
Definition: metrics.h:270
Definition: pressio.h:137