diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-14 21:20:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-14 21:20:30 +0200 |
commit | 0c02df28b5b948072bb377cd8e6305d58790d355 (patch) | |
tree | f180f7861b6d042ac7ea7c4b14c7ea874b2f3498 /src/libcoopgamma.h | |
parent | m + add prototypes for functions for communicating with the server (diff) | |
download | libcoopgamma-0c02df28b5b948072bb377cd8e6305d58790d355.tar.gz libcoopgamma-0c02df28b5b948072bb377cd8e6305d58790d355.tar.bz2 libcoopgamma-0c02df28b5b948072bb377cd8e6305d58790d355.tar.xz |
Implement libcoopgamma_get_methods
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | src/libcoopgamma.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libcoopgamma.h b/src/libcoopgamma.h index 40930b1..720db9d 100644 --- a/src/libcoopgamma.h +++ b/src/libcoopgamma.h @@ -1109,13 +1109,13 @@ int libcoopgamma_get_gamma_info(const char*, libcoopgamma_crtc_info_t* restrict, * * Cannot be used before connecting to the serve * - * @param query The query to send - * @param response Output for the response, must be initialised - * @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 + * @param query The query to send + * @param table Output for the response, must be initialised + * @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_get_gamma(libcoopgamma_filter_query_t* restrict, libcoopgamma_filter_table* restrict, +int libcoopgamma_get_gamma(libcoopgamma_filter_query_t* restrict, libcoopgamma_filter_table_t* restrict, libcoopgamma_context_t* restrict); /** @@ -1126,7 +1126,7 @@ int libcoopgamma_get_gamma(libcoopgamma_filter_query_t* restrict, libcoopgamma_f * @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* restrict, libcoopgamma_context_t* restrict); +int libcoopgamma_set_gamma(libcoopgamma_filter_t* restrict, libcoopgamma_context_t* restrict); |