Go to the documentation of this file.
17#ifndef COAP_LIBCOAP_H_
18#define COAP_LIBCOAP_H_
29#pragma comment(lib,"Ws2_32.lib")
31typedef SSIZE_T ssize_t;
32typedef USHORT in_port_t;
33#elif !defined (CONTIKI)
34#include <netinet/in.h>
35#include <sys/socket.h>
38#ifndef COAP_STATIC_INLINE
39# if defined(__cplusplus)
40# define COAP_STATIC_INLINE inline
43# define COAP_STATIC_INLINE static __inline
45# define COAP_STATIC_INLINE static inline
49#ifndef COAP_DEPRECATED
51# define COAP_DEPRECATED __declspec(deprecated)
53# define COAP_DEPRECATED __attribute__ ((deprecated))
58# define COAP_UNUSED __attribute__((unused))