ws server +proto
This commit is contained in:
18
inc/client.h
Normal file
18
inc/client.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef __CLIENT_H__
|
||||
#define __CLIENT_H__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wsServer/include/ws.h"
|
||||
#include "ptQueue/inc/ptQueue.h"
|
||||
|
||||
typedef struct {
|
||||
ws_cli_conn_t clientId;
|
||||
uint8_t isAuthed;
|
||||
ptQueue* incomeQ;
|
||||
ptQueue* outcomeQ;
|
||||
uint64_t connectedAt;
|
||||
uint32_t streamRegIterator;
|
||||
} ClientContext;
|
||||
|
||||
#endif //ifndef __CLIENT_H__
|
||||
Reference in New Issue
Block a user