i3ipc++
An C++ implementaiton of the i3 IPC
|
i3 IPC message buffer More...
#include <ipc-util.hpp>
Public Member Functions | |
buf_t (uint32_t payload_size) | |
void | realloc_payload_to_header () |
Resize payload to the payload_size in the header. | |
Public Attributes | |
uint32_t | size |
Size of whole buffer. | |
uint8_t * | data |
Pointer to the message. | |
header_t * | header |
i3 IPC message header More... | |
char * | payload |
Message payload. More... | |
i3 IPC message buffer
header_t* i3ipc::buf_t::header |
i3 IPC message header
Pointing on the begining
char* i3ipc::buf_t::payload |
Message payload.
Pointing on the byte after the header