libcoap
4.1.2
include
coap
libcoap.h
Go to the documentation of this file.
1
/*
2
* libcoap.h -- platform specific header file for CoAP stack
3
*
4
* Copyright (C) 2015 Carsten Schoenert <c.schoenert@t-online.de>
5
*
6
* This file is part of the CoAP library libcoap. Please see README for terms
7
* of use.
8
*/
9
10
#ifndef _LIBCOAP_H_
11
#define _LIBCOAP_H_
12
13
/* The non posix embedded platforms like Contiki, TinyOS, RIOT, ... doesn't have
14
* a POSIX compatible header structure so we have to slightly do some platform
15
* related things. Currently there is only Contiki available so we check for a
16
* CONTIKI environment and do *not* include the POSIX related network stuff. If
17
* there are other platforms in future there need to be analogous environments.
18
*
19
* The CONTIKI variable is within the Contiki build environment! */
20
21
#if !defined (CONTIKI)
22
#include <netinet/in.h>
23
#include <sys/socket.h>
24
#endif
/* CONTIKI */
25
26
#endif
/* _LIBCOAP_H_ */
Generated on Tue Jan 17 2017 09:09:22 for libcoap by
1.8.12