ascii-chat
0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
stun.h
Go to the documentation of this file.
1
34
#pragma once
35
36
#include <stdint.h>
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
41
42
// Pack network protocol structures tightly for wire format
43
#ifdef _WIN32
44
#pragma pack(push, 1)
45
#endif
46
72
typedef
struct
__attribute__
((packed)) {
73
uint8_t
host_len;
74
char
host[64];
75
}
stun_server_t
;
76
84
#define STUN_DEFAULT_PORT 3478
85
87
#define STUN_TLS_DEFAULT_PORT 5349
88
90
#define STUN_MAX_URL_LEN 64
91
94
#ifdef _WIN32
95
#pragma pack(pop)
96
#endif
97
98
#ifdef __cplusplus
99
}
100
#endif
101
/* stun */
uint8_t
unsigned char uint8_t
Definition
common.h:56
stun_server_t
stun_server_t
Definition
stun.h:75
__attribute__
RGB pixel structure.
Definition
video/image.h:80
lib
network
webrtc
stun.h
Generated by
1.9.8