O2
2.0
A communication protocol for interactive music and media applications.
src
hostip.h
1
// room for IP address in dot notation and terminating EOS
2
#ifdef __cplusplus
3
extern
"C"
{
4
#endif
5
6
#include <stdbool.h>
7
8
#define O2N_IP_LEN 16
9
10
extern
bool
o2n_internet_enabled;
11
extern
bool
o2n_network_enabled;
12
extern
bool
o2n_network_found;
13
extern
char
o2n_internal_ip[O2N_IP_LEN];
14
15
void
o2n_get_internal_ip(
char
*internal_ip);
16
void
o2_hex_to_dot
(
const
char
*hex,
char
*dot);
17
int
o2_hex_to_byte(
const
char
*hex);
18
19
20
#ifdef __cplusplus
21
}
22
#endif
o2_hex_to_dot
void o2_hex_to_dot(const char *hex, char *dot)
Convert from hex format to dot format IP address.
Definition:
hostipimpl.h:156
Generated by
1.9.2