C Configuration Space and Tuning Library (CCS)
Loading...
Searching...
No Matches
configuration.h
Go to the documentation of this file.
1#ifndef _CCS_CONFIGURATION_H
2#define _CCS_CONFIGURATION_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
42extern ccs_result_t
44 ccs_configuration_space_t configuration_space,
45 ccs_features_t features,
46 size_t num_values,
47 ccs_datum_t *values,
48 ccs_configuration_t *configuration_ret);
49
62extern ccs_result_t
64 ccs_configuration_t configuration,
65 ccs_configuration_space_t *configuration_space_ret);
66
80extern ccs_result_t
82 ccs_configuration_t configuration,
83 ccs_features_t *features_ret);
84
85#ifdef __cplusplus
86}
87#endif
88
89#endif //_CCS_CONFIGURATION_H
struct _ccs_configuration_s * ccs_configuration_t
An opaque type defining a CCS configuration.
Definition base.h:127
struct _ccs_features_s * ccs_features_t
An opaque type defining a CCS features.
Definition base.h:135
struct _ccs_configuration_space_s * ccs_configuration_space_t
An opaque type defining a CCS configuration space.
Definition base.h:115
enum ccs_result_e ccs_result_t
A commodity type to represent CCS errors and returned by most functions.
Definition base.h:247
ccs_result_t ccs_configuration_get_configuration_space(ccs_configuration_t configuration, ccs_configuration_space_t *configuration_space_ret)
Get the associated configuration space.
ccs_result_t ccs_create_configuration(ccs_configuration_space_t configuration_space, ccs_features_t features, size_t num_values, ccs_datum_t *values, ccs_configuration_t *configuration_ret)
Create a new instance of a configuration on a given configuration space.
ccs_result_t ccs_configuration_get_features(ccs_configuration_t configuration, ccs_features_t *features_ret)
Get the associated features.
A Structure containing a CCS datum.
Definition base.h:494