libpressio 0.93.0
|
An iterator for a set of options for a compressor. More...
#include <stdbool.h>
Go to the source code of this file.
Functions | |
struct pressio_options_iter * | pressio_options_get_iter (struct pressio_options const *options) |
bool | pressio_options_iter_has_value (struct pressio_options_iter *iter) |
void | pressio_options_iter_next (struct pressio_options_iter *iter) |
char const * | pressio_options_iter_get_key (struct pressio_options_iter *const iter) |
struct pressio_option * | pressio_options_iter_get_value (struct pressio_options_iter *const iter) |
void | pressio_options_iter_free (struct pressio_options_iter *const iter) |
An iterator for a set of options for a compressor.
struct pressio_options_iter * pressio_options_get_iter | ( | struct pressio_options const * | options | ) |
Get an iterator over all keys the use of any of the pressio_options_set* functions invalidates the iterator
void pressio_options_iter_free | ( | struct pressio_options_iter *const | iter | ) |
[in] | iter | the iterator to free frees memory associated with the iterator |
char const * pressio_options_iter_get_key | ( | struct pressio_options_iter *const | iter | ) |
get the key for the current position of the iterator
[in] | iter | the iterator to get the current value for |
struct pressio_option * pressio_options_iter_get_value | ( | struct pressio_options_iter *const | iter | ) |
get the value for the current position of the iterator
[in] | iter | the iterator to get the current value for |
bool pressio_options_iter_has_value | ( | struct pressio_options_iter * | iter | ) |
Returns true if the current position has a value
[in] | iter | to check if it has a next value |
void pressio_options_iter_next | ( | struct pressio_options_iter * | iter | ) |
advances the iterator to the next entry
[in] | iter | the iterator to advance |