17#ifndef IOX_BINDING_C_RESPONSE_HEADER_H
18#define IOX_BINDING_C_RESPONSE_HEADER_H
20#include "iceoryx_binding_c/chunk.h"
21#include "iceoryx_binding_c/internal/c2cpp_binding.h"
24typedef CLASS ResponseHeader* iox_response_header_t;
27typedef const CLASS ResponseHeader* iox_const_response_header_t;
32iox_response_header_t iox_response_header_from_payload(
void*
const payload);
37iox_const_response_header_t iox_response_header_from_payload_const(
const void*
const payload);
41void iox_response_header_set_server_error(iox_response_header_t
const self);
46bool iox_response_header_has_server_error(iox_response_header_t
const self);
51bool iox_response_header_has_server_error_const(iox_const_response_header_t
const self);
56uint8_t iox_response_header_get_rpc_header_version(iox_response_header_t
const self);
61uint8_t iox_response_header_get_rpc_header_version_const(iox_const_response_header_t
const self);
66int64_t iox_response_header_get_sequence_id(iox_response_header_t
const self);
71int64_t iox_response_header_get_sequence_id_const(iox_const_response_header_t
const self);
76void* iox_response_header_get_user_payload(iox_response_header_t
const self);
81const void* iox_response_header_get_user_payload_const(iox_const_response_header_t
const self);
86iox_chunk_header_t* iox_response_header_get_chunk_header(iox_response_header_t
const self);
91const iox_chunk_header_t* iox_response_header_get_chunk_header_const(iox_const_response_header_t
const self);