4 // Fraunhofer Institute for Open Communication Systems (FOKUS)
6 // The contents of this file are subject to the Fraunhofer FOKUS Public License
7 // Version 1.0 (the "License"); you may not use this file except in compliance
8 // with the License. You may obtain a copy of the License at
9 // http://senf.berlios.de/license.html
11 // The Fraunhofer FOKUS Public License Version 1.0 is based on,
12 // but modifies the Mozilla Public License Version 1.1.
13 // See the full license text for the amendments.
15 // Software distributed under the License is distributed on an "AS IS" basis,
16 // WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
17 // for the specific language governing rights and limitations under the License.
19 // The Original Code is Fraunhofer FOKUS code.
21 // The Initial Developer of the Original Code is Fraunhofer-Gesellschaft e.V.
22 // (registered association), Hansastraße 27 c, 80686 Munich, Germany.
23 // All Rights Reserved.
26 // Stefan Bund <g0dil@berlios.de>
29 \brief config public header */
35 #include <boost/cstdint.hpp>
38 //-/////////////////////////////////////////////////////////////////////////////////////////////////
43 typedef boost::int_fast64_t time_type;
47 # include "autoconf.hh"
48 # include "local_config.hh"
50 # ifndef SENF_ABSOLUTE_INCLUDE_PATH
51 # define SENF_ABSOLUTE_INCLUDE_PATH(senf_relative_include_file_path) \
52 <senf/senf_relative_include_file_path>
56 # ifdef HAVE_GNUCXX_COPYN
57 # include <ext/algorithm>
58 namespace senf { namespace config { using __gnu_cxx::copy_n; }}
60 # ifdef HAVE_STD_COPYN
62 namespace senf { namespace config { using std::copy_n; }}
66 # ifndef SENF_MPL_RV_ALIGNMENT
67 # define SENF_MPL_RV_ALIGNMENT 16
70 # if !defined(SENF_BUFFER_USE_LOCALS) \
71 && !defined(SENF_BUFFER_USE_ALLOCA) \
72 && !defined(SENF_BUFFER_USE_NEW)
73 # define SENF_BUFFER_USE_NEW 1
76 # ifndef SENF_SENFLOG_LIMIT
78 # define SENF_SENFLOG_LIMIT senf::log::IMPORTANT
80 # define SENF_SENFLOG_LIMIT senf::log::NOTICE
84 # ifndef SENF_DEBUG_BACKTRACE_NUMCALLERS
85 # define SENF_DEBUG_BACKTRACE_NUMCALLERS 64
88 # ifndef SENF_CONSOLE_MAX_COMMAND_ARITY
89 # define SENF_CONSOLE_MAX_COMMAND_ARITY 6
92 # ifndef PHOENIX_LIMIT
93 # define PHOENIX_LIMIT 6
96 # ifndef SENF_PACKET_ANNOTATION_SLOTS
97 # define SENF_PACKET_ANNOTATION_SLOTS 8
100 # ifndef SENF_PACKET_ANNOTATION_SLOTSIZE
101 # define SENF_PACKET_ANNOTATION_SLOTSIZE 16
105 # ifdef HAVE_EXECINFO_H
106 # define SENF_BACKTRACE
109 //-/////////////////////////////////////////////////////////////////////////////////////////////////
116 // comment-column: 40
117 // c-file-style: "senf"
118 // indent-tabs-mode: nil
119 // ispell-local-dictionary: "american"
120 // compile-command: "scons -u all_tests"