43 #ifndef COAP_ENDPOINT_H_ 44 #define COAP_ENDPOINT_H_ 49 #ifndef COAP_ENDPOINT_CUSTOM 102 const coap_endpoint_t *ep);
static uip_ipaddr_t ipaddr
Pointer to prefix information option in uip_buf.
void coap_endpoint_print(const coap_endpoint_t *ep)
Print a CoAP endpoint.
int coap_endpoint_connect(coap_endpoint_t *ep)
Request a connection to a CoAP endpoint.
int coap_endpoint_parse(const char *text, size_t size, coap_endpoint_t *ep)
Parse a CoAP endpoint.
void coap_endpoint_disconnect(coap_endpoint_t *ep)
Request that any connection to a CoAP endpoint is discontinued.
int coap_endpoint_snprint(char *str, size_t size, const coap_endpoint_t *ep)
Print a CoAP endpoint to a string.
void coap_endpoint_log(const coap_endpoint_t *ep)
Print a CoAP endpoint via the logging module.
int coap_endpoint_is_secure(const coap_endpoint_t *ep)
Check if a CoAP endpoint is secure (encrypted).
Header file for the uIP TCP/IP stack.
void coap_endpoint_copy(coap_endpoint_t *dest, const coap_endpoint_t *src)
Copy a CoAP endpoint from one memory area to another.
int coap_endpoint_is_connected(const coap_endpoint_t *ep)
Check if a CoAP endpoint is connected.
int coap_endpoint_cmp(const coap_endpoint_t *e1, const coap_endpoint_t *e2)
Compare two CoAP endpoints.