asfur/client.h
2026-01-08 14:37:28 +01:00

20 lines
288 B
C

#ifndef CLIENT_H
#define CLIENT_H
#include <uv.h>
#include <openssl/ssl.h>
#include <stdint.h>
#include <stdbool.h>
struct client {
uv_tcp_t handle;
SSL *ssl;
BIO *rbio;
BIO *wbio;
uint32_t user_id;
uint32_t current_room_id;
bool is_authenticated;
char username[32];
};
#endif