Go to the documentation of this file.
17#ifndef COAP_LIBCOAP_H_
18#define COAP_LIBCOAP_H_
30#if !defined(__MINGW32__)
31#pragma comment(lib,"Ws2_32.lib")
32#ifndef _SSIZE_T_DECLARED
33typedef SSIZE_T ssize_t;
34#define _SSIZE_T_DECLARED
36#ifndef _IN_PORT_T_DECLARED
37typedef USHORT in_port_t;
38#define _IN_PORT_T_DECLARED
41#elif !defined (CONTIKI) && !defined (WITH_LWIP)
42#include <netinet/in.h>
43#include <sys/socket.h>
46#ifndef COAP_STATIC_INLINE
47# if defined(__cplusplus)
48# define COAP_STATIC_INLINE inline
51# define COAP_STATIC_INLINE static __inline
53# define COAP_STATIC_INLINE static inline
57#ifndef COAP_DEPRECATED
59# define COAP_DEPRECATED __declspec(deprecated)
61# define COAP_DEPRECATED __attribute__ ((deprecated))
66# define COAP_UNUSED __attribute__((unused))