diff options
Diffstat (limited to 'method-x-vidmode.h')
-rw-r--r-- | method-x-vidmode.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/method-x-vidmode.h b/method-x-vidmode.h index 0fe3d09..48dec39 100644 --- a/method-x-vidmode.h +++ b/method-x-vidmode.h @@ -12,7 +12,7 @@ * @param this The data structure to fill with the method's capabilities */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__))) -void libgamma_x_vidmode_method_capabilities(libgamma_method_capabilities_t *restrict); +void libgamma_x_vidmode_method_capabilities(struct libgamma_method_capabilities *restrict); /** * Initialise an allocated site state @@ -28,7 +28,7 @@ void libgamma_x_vidmode_method_capabilities(libgamma_method_capabilities_t *rest * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__(1), __warn_unused_result__))) -int libgamma_x_vidmode_site_initialise(libgamma_site_state_t *restrict, char *restrict); +int libgamma_x_vidmode_site_initialise(struct libgamma_site_state *restrict, char *restrict); /** * Release all resources held by a site state @@ -36,7 +36,7 @@ int libgamma_x_vidmode_site_initialise(libgamma_site_state_t *restrict, char *re * @param this The site state */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__))) -void libgamma_x_vidmode_site_destroy(libgamma_site_state_t *restrict); +void libgamma_x_vidmode_site_destroy(struct libgamma_site_state *restrict); /** * Restore the gamma ramps all CRTC:s with a site to the system settings @@ -46,7 +46,7 @@ void libgamma_x_vidmode_site_destroy(libgamma_site_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_x_vidmode_site_restore(libgamma_site_state_t *restrict); +int libgamma_x_vidmode_site_restore(struct libgamma_site_state *restrict); /** @@ -59,7 +59,7 @@ int libgamma_x_vidmode_site_restore(libgamma_site_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_x_vidmode_partition_initialise(libgamma_partition_state_t *restrict, libgamma_site_state_t *restrict, size_t); +int libgamma_x_vidmode_partition_initialise(struct libgamma_partition_state *restrict, struct libgamma_site_state *restrict, size_t); /** * Release all resources held by a partition state @@ -67,7 +67,7 @@ int libgamma_x_vidmode_partition_initialise(libgamma_partition_state_t *restrict * @param this The partition state */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__))) -void libgamma_x_vidmode_partition_destroy(libgamma_partition_state_t *restrict); +void libgamma_x_vidmode_partition_destroy(struct libgamma_partition_state *restrict); /** * Restore the gamma ramps all CRTC:s with a partition to the system settings @@ -77,7 +77,7 @@ void libgamma_x_vidmode_partition_destroy(libgamma_partition_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_x_vidmode_partition_restore(libgamma_partition_state_t *restrict); +int libgamma_x_vidmode_partition_restore(struct libgamma_partition_state *restrict); /** @@ -90,7 +90,7 @@ int libgamma_x_vidmode_partition_restore(libgamma_partition_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__, __const__))) -int libgamma_x_vidmode_crtc_initialise(libgamma_crtc_state_t *restrict, libgamma_partition_state_t *restrict, size_t); +int libgamma_x_vidmode_crtc_initialise(struct libgamma_crtc_state *restrict, struct libgamma_partition_state *restrict, size_t); /** * Release all resources held by a CRTC state @@ -98,7 +98,7 @@ int libgamma_x_vidmode_crtc_initialise(libgamma_crtc_state_t *restrict, libgamma * @param this The CRTC state */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__))) -void libgamma_x_vidmode_crtc_destroy(libgamma_crtc_state_t *restrict); +void libgamma_x_vidmode_crtc_destroy(struct libgamma_crtc_state *restrict); /** * Restore the gamma ramps for a CRTC to the system settings for that CRTC @@ -108,7 +108,7 @@ void libgamma_x_vidmode_crtc_destroy(libgamma_crtc_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_x_vidmode_crtc_restore(libgamma_crtc_state_t *restrict); +int libgamma_x_vidmode_crtc_restore(struct libgamma_crtc_state *restrict); /** @@ -120,8 +120,8 @@ int libgamma_x_vidmode_crtc_restore(libgamma_crtc_state_t *restrict); * @return Zero on success, -1 on error; on error refer to the error reports in `this` */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_x_vidmode_get_crtc_information(libgamma_crtc_information_t *restrict, - libgamma_crtc_state_t *restrict, unsigned long long); +int libgamma_x_vidmode_get_crtc_information(struct libgamma_crtc_information *restrict, + struct libgamma_crtc_state *restrict, unsigned long long); /** * Get the current gamma ramps for a CRTC, 16-bit gamma-depth version @@ -132,7 +132,7 @@ int libgamma_x_vidmode_get_crtc_information(libgamma_crtc_information_t *restric * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_x_vidmode_crtc_get_gamma_ramps16(libgamma_crtc_state_t *restrict, libgamma_gamma_ramps16_t *restrict); +int libgamma_x_vidmode_crtc_get_gamma_ramps16(struct libgamma_crtc_state *restrict, struct libgamma_gamma_ramps16 *restrict); /** * Set the gamma ramps for a CRTC, 16-bit gamma-depth version @@ -143,4 +143,4 @@ int libgamma_x_vidmode_crtc_get_gamma_ramps16(libgamma_crtc_state_t *restrict, l * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_x_vidmode_crtc_set_gamma_ramps16(libgamma_crtc_state_t *restrict, const libgamma_gamma_ramps16_t *restrict); +int libgamma_x_vidmode_crtc_set_gamma_ramps16(struct libgamma_crtc_state *restrict, const struct libgamma_gamma_ramps16 *restrict); |