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"
24 typedef CLASS ResponseHeader* iox_response_header_t;
27 typedef const CLASS ResponseHeader* iox_const_response_header_t;
32 iox_response_header_t iox_response_header_from_payload(
void*
const payload);
37 iox_const_response_header_t iox_response_header_from_payload_const(
const void*
const payload);
41 void iox_response_header_set_server_error(iox_response_header_t
const self);
46 bool iox_response_header_has_server_error(iox_response_header_t
const self);
51 bool iox_response_header_has_server_error_const(iox_const_response_header_t
const self);
56 uint8_t iox_response_header_get_rpc_header_version(iox_response_header_t
const self);
61 uint8_t iox_response_header_get_rpc_header_version_const(iox_const_response_header_t
const self);
66 int64_t iox_response_header_get_sequence_id(iox_response_header_t
const self);
71 int64_t iox_response_header_get_sequence_id_const(iox_const_response_header_t
const self);
76 void* iox_response_header_get_user_payload(iox_response_header_t
const self);
81 const void* iox_response_header_get_user_payload_const(iox_const_response_header_t
const self);
86 iox_chunk_header_t* iox_response_header_get_chunk_header(iox_response_header_t
const self);
91 const iox_chunk_header_t* iox_response_header_get_chunk_header_const(iox_const_response_header_t
const self);