ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
connection_endpoint.h
Go to the documentation of this file.
1
9#pragma once
10
12
13#include <stdbool.h>
14#include <stdint.h>
15
16#include "../asciichat_errno.h"
17
23
33
48asciichat_error_t connection_endpoint_resolve(const char *input, uint16_t default_port,
49 connection_endpoint_t *endpoint_out);
50
Synchronized per-thread pending error stacks and value snapshots. SET_ERRNO pushes,...
Application limits and constraints.
connection_endpoint_protocol_t
@ CONNECTION_ENDPOINT_TCP
@ CONNECTION_ENDPOINT_QUIC
@ CONNECTION_ENDPOINT_WEBSOCKET
asciichat_error_t connection_endpoint_resolve(const char *input, uint16_t default_port, connection_endpoint_t *endpoint_out)
For connection endpoint, this is the live record that ties protocol, port, has_explicit_port together...
const char * connection_endpoint_protocol_name(connection_endpoint_protocol_t protocol)
unsigned short uint16_t
Definition common.h:61
asciichat_error_t
Error and exit codes - unified status values (0-255).
Definition error_codes.h:44
#define URL_BUFFER_SIZE
#define HOSTNAME_BUFFER_SIZE
connection_endpoint_protocol_t protocol