4 // Fraunhofer Institute for Open Communication Systems (FOKUS)
5 // Competence Center NETwork research (NET), St. Augustin, GERMANY
6 // Stefan Bund <g0dil@berlios.de>
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the
20 // Free Software Foundation, Inc.,
21 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 \brief config public header */
30 #include <boost/cstdint.hpp>
33 //-/////////////////////////////////////////////////////////////////////////////////////////////////
38 typedef boost::int_fast64_t time_type;
42 # include "autoconf.hh"
43 # include "local_config.hh"
45 # ifndef SENF_ABSOLUTE_INCLUDE_PATH
46 # define SENF_ABSOLUTE_INCLUDE_PATH(senf_relative_include_file_path) \
47 <senf/senf_relative_include_file_path>
51 # ifdef HAVE_GNUCXX_COPYN
52 # include <ext/algorithm>
53 namespace senf { namespace config { using __gnu_cxx::copy_n; }}
55 # ifdef HAVE_STD_COPYN
57 namespace senf { namespace config { using std::copy_n; }}
61 # ifndef SENF_MPL_RV_ALIGNMENT
62 # define SENF_MPL_RV_ALIGNMENT 16
65 # if !defined(SENF_BUFFER_USE_LOCALS) \
66 && !defined(SENF_BUFFER_USE_ALLOCA) \
67 && !defined(SENF_BUFFER_USE_NEW)
68 # define SENF_BUFFER_USE_NEW 1
71 # ifndef SENF_SENFLOG_LIMIT
73 # define SENF_SENFLOG_LIMIT senf::log::IMPORTANT
75 # define SENF_SENFLOG_LIMIT senf::log::NOTICE
79 # ifndef SENF_DEBUG_BACKTRACE_NUMCALLERS
80 # define SENF_DEBUG_BACKTRACE_NUMCALLERS 64
83 # ifndef SENF_CONSOLE_MAX_COMMAND_ARITY
84 # define SENF_CONSOLE_MAX_COMMAND_ARITY 6
87 # ifndef PHOENIX_LIMIT
88 # define PHOENIX_LIMIT 6
91 # ifndef SENF_PACKET_ANNOTATION_SLOTS
92 # define SENF_PACKET_ANNOTATION_SLOTS 8
95 # ifndef SENF_PACKET_ANNOTATION_SLOTSIZE
96 # define SENF_PACKET_ANNOTATION_SLOTSIZE 16
100 # ifdef HAVE_EXECINFO_H
101 # define SENF_BACKTRACE
104 //-/////////////////////////////////////////////////////////////////////////////////////////////////
111 // comment-column: 40
112 // c-file-style: "senf"
113 // indent-tabs-mode: nil
114 // ispell-local-dictionary: "american"
115 // compile-command: "scons -u all_tests"