seat: Convert client list to linked list

This commit is contained in:
Kenny Levinsen 2020-08-03 02:26:22 +02:00
parent 9b7a12d90a
commit fc7116ffad
3 changed files with 19 additions and 29 deletions

View file

@ -7,11 +7,11 @@
#include "connection.h"
#include "linked_list.h"
#include "list.h"
struct server;
struct client {
struct linked_list link; // seat::clients
struct server *server;
struct event_source_fd *event_source;
struct connection connection;