h4-projekt-gruppe-0-sm/backend/src/http/client_connection.h

16 lines
302 B
C

#pragma once
#include "../collection.h"
#include <netinet/in.h>
#include <sys/socket.h>
typedef struct sockaddr SockAddr;
typedef struct sockaddr_in SockAddrIn;
typedef struct {
int file;
SockAddrIn addr;
} ClientConnection;
DEFINE_STATIC_QUEUE(ClientConnection, ClientQueue, client_queue)