diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-15 16:53:21 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-15 16:53:21 +0200 |
commit | 3665122b41901328b1c74d1e797bf9d0d5328f3a (patch) | |
tree | a16aa89f64043625b6874df52031a2a90cf2637f /src/libcoopgamma.h | |
parent | Implement libcoopgamma_set_gamma_recv (diff) | |
download | libcoopgamma-3665122b41901328b1c74d1e797bf9d0d5328f3a.tar.gz libcoopgamma-3665122b41901328b1c74d1e797bf9d0d5328f3a.tar.bz2 libcoopgamma-3665122b41901328b1c74d1e797bf9d0d5328f3a.tar.xz |
m + Implement check_error, next_payload, and next_header
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/libcoopgamma.h')
-rw-r--r-- | src/libcoopgamma.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/libcoopgamma.h b/src/libcoopgamma.h index 15636b6..3f9c935 100644 --- a/src/libcoopgamma.h +++ b/src/libcoopgamma.h @@ -666,6 +666,12 @@ typedef struct libcoopgamma_context */ size_t inbound_size; + /** + * The value of 'Length' header in + * the inbound message + */ + size_t length; + } libcoopgamma_context_t; @@ -1285,8 +1291,7 @@ int libcoopgamma_get_gamma_send(libcoopgamma_filter_query_t* restrict, libcoopga * * @param table Output for the response, must be initialised * @param ctx The state of the library, must be connected - * @param async Information about the request, that is needed to - * identify and parse the response, is stored here + * @param async Information about the request * @return Zero on success, -1 on error, in which case `ctx->error` * (rather than `errno`) is read for information about the error */ @@ -1313,8 +1318,7 @@ int libcoopgamma_set_gamma_send(libcoopgamma_filter_t* restrict, libcoopgamma_de * Apply, update, or remove a gamma ramp adjustment, receive response part * * @param ctx The state of the library, must be connected - * @param async Information about the request, that is needed to - * identify and parse the response, is stored here + * @param async Information about the request * @return Zero on success, -1 on error, in which case `ctx->error` * (rather than `errno`) is read for information about the error */ |