ascii-chat
0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
websocket/transport.c
Go to the documentation of this file.
1
29
#include "
network/acip/transport.h
"
30
#include "
log/logging.h
"
31
32
acip_transport_t
*
acip_websocket_transport_create
(
socket_t
sockfd,
crypto_context_t
*crypto_ctx) {
33
(void)sockfd;
34
(void)crypto_ctx;
35
36
log_error
(
"WebSocket transport not yet implemented"
);
37
SET_ERRNO
(
ERROR_INTERNAL
,
"WebSocket transport is not yet implemented"
);
38
39
return
NULL;
40
}
SET_ERRNO
#define SET_ERRNO(code, context_msg,...)
Set error code with custom context message and log it.
Definition
asciichat_errno.h:190
ERROR_INTERNAL
@ ERROR_INTERNAL
Definition
error_codes.h:84
log_error
#define log_error(...)
Log an ERROR message.
Definition
log/logging.h:501
socket_t
int socket_t
Socket handle type (POSIX: int)
Definition
socket.h:50
logging.h
📝 Logging API with multiple log levels and terminal output control
acip_transport
Transport instance structure.
Definition
transport.h:169
crypto_context_t
Cryptographic context structure.
Definition
lib/crypto/crypto.h:260
transport.h
Transport abstraction layer for ACIP protocol.
acip_websocket_transport_create
acip_transport_t * acip_websocket_transport_create(socket_t sockfd, crypto_context_t *crypto_ctx)
Create WebSocket transport from existing socket.
Definition
websocket/transport.c:32
lib
network
websocket
transport.c
Generated by
1.9.8