i3ipc++
An C++ implementaiton of the i3 IPC
 All Classes Functions Variables Enumerations Enumerator Modules
i3ipc::buf_t Struct Reference

i3 IPC message buffer More...

#include <ipc-util.hpp>

Collaboration diagram for i3ipc::buf_t:

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_theader
 i3 IPC message header More...
 
char * payload
 Message payload. More...
 

Detailed Description

i3 IPC message buffer

Member Data Documentation

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


The documentation for this struct was generated from the following file: