diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-15 00:07:39 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-15 00:07:39 +0200 |
commit | c78112fecfd48a1b67f87d764997048c4f563f61 (patch) | |
tree | 22882f71d8506718ba48b9fbc59a7f4fb0d6da5e /src/libcoopgamma.h | |
parent | m + Implement libcoopgamma_get_method_and_site and libcoopgamma_get_socket_file (diff) | |
download | libcoopgamma-c78112fecfd48a1b67f87d764997048c4f563f61.tar.gz libcoopgamma-c78112fecfd48a1b67f87d764997048c4f563f61.tar.bz2 libcoopgamma-c78112fecfd48a1b67f87d764997048c4f563f61.tar.xz |
Beginning on communication functions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/libcoopgamma.h')
-rw-r--r-- | src/libcoopgamma.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcoopgamma.h b/src/libcoopgamma.h index 720db9d..3a76b9e 100644 --- a/src/libcoopgamma.h +++ b/src/libcoopgamma.h @@ -1121,12 +1121,14 @@ int libcoopgamma_get_gamma(libcoopgamma_filter_query_t* restrict, libcoopgamma_f /** * Apply, update, or remove a gamma ramp adjustment * - * @param filter The filter to apply, update, or remove + * @param filter The filter to apply, update, or remove, gamma ramp meta-data must match the CRTC's + * @param depth The datatype for the stops in the gamma ramps, must match the CRTC's * @param ctx The state of the library, must be connected * @return Zero on success, -1 on error, in which case `ctx->error` * (rather than `errno`) is read for information about the error */ -int libcoopgamma_set_gamma(libcoopgamma_filter_t* restrict, libcoopgamma_context_t* restrict); +int libcoopgamma_set_gamma(libcoopgamma_filter_t* restrict, libcoopgamma_depth_t, + libcoopgamma_context_t* restrict); |