Contiki-NG
sixtop-conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016, Yasuyuki Tanaka
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  * 1. Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  * 2. Redistributions in binary form must reproduce the above copyright
11  * notice, this list of conditions and the following disclaimer in the
12  * documentation and/or other materials provided with the distribution.
13  *
14  * 3. Neither the name of the copyright holder nor the names of its
15  * contributors may be used to endorse or promote products derived
16  * from this software without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22  * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
27  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
29  * OF THE POSSIBILITY OF SUCH DAMAGE.
30  */
31 /**
32  * \addtogroup sixtop
33  * @{
34  */
35 /**
36  * \file
37  * 6top Configuration
38  * \author
39  * Yasuyuki Tanaka <yasuyuki.tanaka@inf.ethz.ch>
40  */
41 
42 #ifndef __SIXTOP_CONF_H__
43 #define __SIXTOP_CONF_H__
44 
45 /**
46  * \brief The maximum number of Scheduling Functions in the system.
47  */
48 #ifdef SIXTOP_CONF_MAX_SCHEDULING_FUNCTIONS
49 #define SIXTOP_MAX_SCHEDULING_FUNCTIONS SIXTOP_CONF_MAX_SCHEDULING_FUNCTIONS
50 #else
51 #define SIXTOP_MAX_SCHEDULING_FUNCTIONS 1
52 #endif
53 
54 /**
55  * \brief The maximum number of transactions which the sixtop module can handle
56  * at the same time.
57  */
58 #ifdef SIXTOP_CONF_MAX_TRANSACTIONS
59 #define SIXTOP_MAX_TRANSACTIONS SIXTOP_CONF_MAX_TRANSACTIONS
60 #else
61 #define SIXTOP_MAX_TRANSACTIONS 1
62 #endif
63 
64 #endif /* !__SIXTOP_CONF_H__ */
65 /** @} */