PatchworkOS
Loading...
Searching...
No Matches
client.h File Reference
#include "surface.h"
#include <libpatchwork/cmd.h>
#include <libpatchwork/event.h>
#include <sys/io.h>
#include <sys/list.h>

Go to the source code of this file.

Data Structures

struct  client_t
 

Macros

#define CLIENT_RECV_BUFFER_SIZE   (sizeof(cmd_buffer_t) + 128)
 

Functions

client_tclient_new (fd_t fd)
 
void client_free (client_t *client)
 
uint64_t client_receive_cmds (client_t *client)
 
uint64_t client_send_event (client_t *client, surface_id_t target, event_type_t type, void *data, uint64_t size)
 

Macro Definition Documentation

◆ CLIENT_RECV_BUFFER_SIZE

#define CLIENT_RECV_BUFFER_SIZE   (sizeof(cmd_buffer_t) + 128)

Definition at line 10 of file client.h.

Function Documentation

◆ client_free()

◆ client_new()

◆ client_receive_cmds()

◆ client_send_event()