PSync: initial commit
refs: #4641
Change-Id: Iabed3ad7632544d97559e6798547b7972b416784
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e75e96c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,32 @@
+# Emacs
+*~
+\#*\#
+/.emacs.desktop
+/.emacs.desktop.lock
+*.elc
+.\#*
+
+# Visual Studio Code
+.vscode/
+
+# KDevelop
+*.kdev*
+
+# macOS
+.DS_Store
+.AppleDouble
+.LSOverride
+._*
+
+# Waf build system
+/build/
+.waf-*-*/
+.waf3-*-*/
+.lock-waf*
+
+# Compiled python code
+__pycache__/
+*.py[cod]
+
+# Other
+/VERSION
\ No newline at end of file
diff --git a/.jenkins b/.jenkins
new file mode 100755
index 0000000..674d751
--- /dev/null
+++ b/.jenkins
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+set -e
+
+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+
+for file in "$DIR"/.jenkins.d/*; do
+ [[ -f $file && -x $file ]] || continue
+ echo "Run: $file"
+ "$file"
+done
diff --git a/.jenkins.d/00-deps.sh b/.jenkins.d/00-deps.sh
new file mode 100755
index 0000000..95c2447
--- /dev/null
+++ b/.jenkins.d/00-deps.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+set -e
+
+JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+source "$JDIR"/util.sh
+
+set -x
+
+if has OSX $NODE_LABELS; then
+ FORMULAE=(boost openssl pkg-config)
+ brew update
+ if [[ -n $TRAVIS ]]; then
+ # travis images come with a large number of brew packages
+ # pre-installed, don't waste time upgrading all of them
+ for FORMULA in "${FORMULAE[@]}"; do
+ brew outdated $FORMULA || brew upgrade $FORMULA
+ done
+ else
+ brew upgrade
+ fi
+ brew install "${FORMULAE[@]}"
+ brew cleanup
+fi
+
+if has Ubuntu $NODE_LABELS; then
+ sudo apt-get -qq update
+ sudo apt-get -qy install build-essential pkg-config libboost-all-dev \
+ libsqlite3-dev libssl-dev
+fi
diff --git a/.jenkins.d/01-ndn-cxx.sh b/.jenkins.d/01-ndn-cxx.sh
new file mode 100755
index 0000000..c9e2a63
--- /dev/null
+++ b/.jenkins.d/01-ndn-cxx.sh
@@ -0,0 +1,56 @@
+#!/usr/bin/env bash
+set -e
+
+JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+source "$JDIR"/util.sh
+
+set -x
+
+pushd "${CACHE_DIR:-/tmp}" >/dev/null
+
+INSTALLED_VERSION=
+if has OSX $NODE_LABELS; then
+ BOOST=$(brew ls --versions boost)
+ OLD_BOOST=$(cat boost.txt || :)
+ if [[ $OLD_BOOST != $BOOST ]]; then
+ echo "$BOOST" > boost.txt
+ INSTALLED_VERSION=NONE
+ fi
+fi
+
+if [[ -z $INSTALLED_VERSION ]]; then
+ INSTALLED_VERSION=$(git -C ndn-cxx rev-parse HEAD 2>/dev/null || echo NONE)
+fi
+
+sudo rm -Rf ndn-cxx-latest
+
+git clone --depth 1 git://github.com/named-data/ndn-cxx ndn-cxx-latest
+
+LATEST_VERSION=$(git -C ndn-cxx-latest rev-parse HEAD 2>/dev/null || echo UNKNOWN)
+
+if [[ $INSTALLED_VERSION != $LATEST_VERSION ]]; then
+ sudo rm -Rf ndn-cxx
+ mv ndn-cxx-latest ndn-cxx
+else
+ sudo rm -Rf ndn-cxx-latest
+fi
+
+sudo rm -f /usr/local/bin/ndnsec*
+sudo rm -fr /usr/local/include/ndn-cxx
+sudo rm -f /usr/local/lib/libndn-cxx*
+sudo rm -f /usr/local/lib/pkgconfig/libndn-cxx.pc
+
+pushd ndn-cxx >/dev/null
+
+./waf configure --color=yes --enable-shared --disable-static --without-osx-keychain
+./waf build --color=yes -j${WAF_JOBS:-1}
+sudo env "PATH=$PATH" ./waf install --color=yes
+
+popd >/dev/null
+popd >/dev/null
+
+if has Linux $NODE_LABELS; then
+ sudo ldconfig
+elif has FreeBSD10 $NODE_LABELS; then
+ sudo ldconfig -m
+fi
diff --git a/.jenkins.d/10-build.sh b/.jenkins.d/10-build.sh
new file mode 100755
index 0000000..9ee5a78
--- /dev/null
+++ b/.jenkins.d/10-build.sh
@@ -0,0 +1,46 @@
+#!/usr/bin/env bash
+set -e
+
+JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+source "$JDIR"/util.sh
+
+set -x
+
+# Cleanup
+sudo env "PATH=$PATH" ./waf --color=yes distclean
+
+if [[ $JOB_NAME != *"code-coverage" && $JOB_NAME != *"limited-build" ]]; then
+ # Configure/build in optimized mode with tests
+ ./waf --color=yes configure --with-tests
+ ./waf --color=yes build -j${WAF_JOBS:-1}
+
+ # Cleanup
+ sudo env "PATH=$PATH" ./waf --color=yes distclean
+
+ # Configure/build in optimized mode without tests
+ ./waf --color=yes configure
+ ./waf --color=yes build -j${WAF_JOBS:-1}
+
+ # Cleanup
+ sudo env "PATH=$PATH" ./waf --color=yes distclean
+fi
+
+# Configure/build in debug mode with tests
+if [[ $JOB_NAME == *"code-coverage" ]]; then
+ COVERAGE="--with-coverage"
+elif [[ -n $BUILD_WITH_ASAN || -z $TRAVIS ]]; then
+ ASAN="--with-sanitizer=address"
+fi
+./waf --color=yes configure --debug --with-tests $COVERAGE $ASAN
+./waf --color=yes build -j${WAF_JOBS:-1}
+
+# (tests will be run against debug version)
+
+# Install
+sudo env "PATH=$PATH" ./waf --color=yes install
+
+if has Linux $NODE_LABELS; then
+ sudo ldconfig
+elif has FreeBSD $NODE_LABELS; then
+ sudo ldconfig -a
+fi
diff --git a/.jenkins.d/20-tests.sh b/.jenkins.d/20-tests.sh
new file mode 100755
index 0000000..2541866
--- /dev/null
+++ b/.jenkins.d/20-tests.sh
@@ -0,0 +1,47 @@
+#!/usr/bin/env bash
+set -e
+
+JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+source "$JDIR"/util.sh
+
+set -x
+
+# Prepare environment
+rm -Rf ~/.ndn
+
+if has OSX $NODE_LABELS; then
+ security unlock-keychain -p named-data
+fi
+
+ndnsec-keygen "/tmp/jenkins/$NODE_NAME" | ndnsec-install-cert -
+
+BOOST_VERSION=$(python -c "import sys; sys.path.append('build/c4che'); import _cache; print(_cache.BOOST_VERSION_NUMBER);")
+
+ut_log_args() {
+ if (( BOOST_VERSION >= 106200 )); then
+ echo --logger=HRF,test_suite,stdout:XML,all,build/xunit-${1:-report}.xml
+ else
+ if [[ -n $XUNIT ]]; then
+ echo --log_level=all $( (( BOOST_VERSION >= 106000 )) && echo -- ) \
+ --log_format2=XML --log_sink2=build/xunit-${1:-report}.xml
+ else
+ echo --log_level=test_suite
+ fi
+ fi
+}
+
+ASAN_OPTIONS="color=always"
+ASAN_OPTIONS+=":detect_stack_use_after_return=true"
+ASAN_OPTIONS+=":check_initialization_order=true"
+ASAN_OPTIONS+=":strict_init_order=true"
+ASAN_OPTIONS+=":detect_invalid_pointer_pairs=1"
+ASAN_OPTIONS+=":detect_container_overflow=false"
+ASAN_OPTIONS+=":strict_string_checks=true"
+ASAN_OPTIONS+=":strip_path_prefix=${PWD}/"
+export ASAN_OPTIONS
+
+export BOOST_TEST_COLOR_OUTPUT="yes"
+export NDN_LOG="*=DEBUG"
+
+# Run unit tests
+./build/unit-tests $(ut_log_args)
diff --git a/.jenkins.d/README.md b/.jenkins.d/README.md
new file mode 100644
index 0000000..39fa40b
--- /dev/null
+++ b/.jenkins.d/README.md
@@ -0,0 +1,36 @@
+CONTINUOUS INTEGRATION SCRIPTS
+==============================
+
+Environment Variables Used in Build Scripts
+-------------------------------------------
+
+- `NODE_LABELS`: the variable defines a list of OS properties. The set values are used by the
+ build scripts to select proper behavior for different OS.
+
+ The list should include at least `[OS_TYPE]`, `[DISTRO_TYPE]`, and `[DISTRO_VERSION]`.
+
+ Possible values for Linux:
+
+ * `[OS_TYPE]`: `Linux`
+ * `[DISTRO_TYPE]`: `Ubuntu`
+ * `[DISTRO_VERSION]`: `Ubuntu-16.04`, `Ubuntu-18.04`
+
+ Possible values for OS X / macOS:
+
+ * `[OS_TYPE]`: `OSX`
+ * `[DISTRO_TYPE]`: `OSX` (can be absent)
+ * `[DISTRO_VERSION]`: `OSX-10.11`, `OSX-10.12`, `OSX-10.13`
+
+- `JOB_NAME`: optional variable to define type of the job. Depending on the defined job type,
+ the build scripts can perform different tasks.
+
+ Possible values:
+
+ * empty: default build process
+ * `code-coverage` (Linux OS is assumed): debug build with tests and code coverage analysis
+ * `limited-build`: only a single debug build with tests
+
+- `CACHE_DIR`: the variable defines a path to folder containing cached files from previous builds,
+ e.g., a compiled version of ndn-cxx library. If not set, `/tmp` is used.
+
+- `WAF_JOBS`: number of parallel build jobs used by waf, defaults to 1.
diff --git a/.jenkins.d/util.sh b/.jenkins.d/util.sh
new file mode 100644
index 0000000..a89bc27
--- /dev/null
+++ b/.jenkins.d/util.sh
@@ -0,0 +1,18 @@
+has() {
+ local saved_xtrace
+ [[ $- == *x* ]] && saved_xtrace=-x || saved_xtrace=+x
+ set +x
+
+ local p=$1
+ shift
+ local i ret=1
+ for i in "$@"; do
+ if [[ "${i}" == "${p}" ]]; then
+ ret=0
+ break
+ fi
+ done
+
+ set ${saved_xtrace}
+ return ${ret}
+}
diff --git a/.waf-tools/boost.py b/.waf-tools/boost.py
new file mode 100644
index 0000000..dfcccf3
--- /dev/null
+++ b/.waf-tools/boost.py
@@ -0,0 +1,522 @@
+#!/usr/bin/env python
+# encoding: utf-8
+#
+# partially based on boost.py written by Gernot Vormayr
+# written by Ruediger Sonderfeld <ruediger@c-plusplus.de>, 2008
+# modified by Bjoern Michaelsen, 2008
+# modified by Luca Fossati, 2008
+# rewritten for waf 1.5.1, Thomas Nagy, 2008
+# rewritten for waf 1.6.2, Sylvain Rouquette, 2011
+
+'''
+
+This is an extra tool, not bundled with the default waf binary.
+To add the boost tool to the waf file:
+$ ./waf-light --tools=compat15,boost
+ or, if you have waf >= 1.6.2
+$ ./waf update --files=boost
+
+When using this tool, the wscript will look like:
+
+ def options(opt):
+ opt.load('compiler_cxx boost')
+
+ def configure(conf):
+ conf.load('compiler_cxx boost')
+ conf.check_boost(lib='system filesystem')
+
+ def build(bld):
+ bld(source='main.cpp', target='app', use='BOOST')
+
+Options are generated, in order to specify the location of boost includes/libraries.
+The `check_boost` configuration function allows to specify the used boost libraries.
+It can also provide default arguments to the --boost-mt command-line arguments.
+Everything will be packaged together in a BOOST component that you can use.
+
+When using MSVC, a lot of compilation flags need to match your BOOST build configuration:
+ - you may have to add /EHsc to your CXXFLAGS or define boost::throw_exception if BOOST_NO_EXCEPTIONS is defined.
+ Errors: C4530
+ - boost libraries will try to be smart and use the (pretty but often not useful) auto-linking feature of MSVC
+ So before calling `conf.check_boost` you might want to disabling by adding
+ conf.env.DEFINES_BOOST += ['BOOST_ALL_NO_LIB']
+ Errors:
+ - boost might also be compiled with /MT, which links the runtime statically.
+ If you have problems with redefined symbols,
+ self.env['DEFINES_%s' % var] += ['BOOST_ALL_NO_LIB']
+ self.env['CXXFLAGS_%s' % var] += ['/MD', '/EHsc']
+Passing `--boost-linkage_autodetect` might help ensuring having a correct linkage in some basic cases.
+
+'''
+
+import sys
+import re
+from waflib import Utils, Logs, Errors
+from waflib.Configure import conf
+from waflib.TaskGen import feature, after_method
+
+BOOST_LIBS = ['/usr/lib', '/usr/local/lib', '/opt/local/lib', '/sw/lib', '/lib']
+BOOST_INCLUDES = ['/usr/include', '/usr/local/include', '/opt/local/include', '/sw/include']
+BOOST_VERSION_FILE = 'boost/version.hpp'
+BOOST_VERSION_CODE = '''
+#include <iostream>
+#include <boost/version.hpp>
+int main() { std::cout << BOOST_LIB_VERSION << ":" << BOOST_VERSION << std::endl; }
+'''
+
+BOOST_ERROR_CODE = '''
+#include <boost/system/error_code.hpp>
+int main() { boost::system::error_code c; }
+'''
+
+PTHREAD_CODE = '''
+#include <pthread.h>
+static void* f(void*) { return 0; }
+int main() {
+ pthread_t th;
+ pthread_attr_t attr;
+ pthread_attr_init(&attr);
+ pthread_create(&th, &attr, &f, 0);
+ pthread_join(th, 0);
+ pthread_cleanup_push(0, 0);
+ pthread_cleanup_pop(0);
+ pthread_attr_destroy(&attr);
+}
+'''
+
+BOOST_THREAD_CODE = '''
+#include <boost/thread.hpp>
+int main() { boost::thread t; }
+'''
+
+BOOST_LOG_CODE = '''
+#include <boost/log/trivial.hpp>
+#include <boost/log/utility/setup/console.hpp>
+#include <boost/log/utility/setup/common_attributes.hpp>
+int main() {
+ using namespace boost::log;
+ add_common_attributes();
+ add_console_log(std::clog, keywords::format = "%Message%");
+ BOOST_LOG_TRIVIAL(debug) << "log is working" << std::endl;
+}
+'''
+
+# toolsets from {boost_dir}/tools/build/v2/tools/common.jam
+PLATFORM = Utils.unversioned_sys_platform()
+detect_intel = lambda env: (PLATFORM == 'win32') and 'iw' or 'il'
+detect_clang = lambda env: (PLATFORM == 'darwin') and 'clang-darwin' or 'clang'
+detect_mingw = lambda env: (re.search('MinGW', env.CXX[0])) and 'mgw' or 'gcc'
+BOOST_TOOLSETS = {
+ 'borland': 'bcb',
+ 'clang': detect_clang,
+ 'como': 'como',
+ 'cw': 'cw',
+ 'darwin': 'xgcc',
+ 'edg': 'edg',
+ 'g++': detect_mingw,
+ 'gcc': detect_mingw,
+ 'icpc': detect_intel,
+ 'intel': detect_intel,
+ 'kcc': 'kcc',
+ 'kylix': 'bck',
+ 'mipspro': 'mp',
+ 'mingw': 'mgw',
+ 'msvc': 'vc',
+ 'qcc': 'qcc',
+ 'sun': 'sw',
+ 'sunc++': 'sw',
+ 'tru64cxx': 'tru',
+ 'vacpp': 'xlc'
+}
+
+
+def options(opt):
+ opt = opt.add_option_group('Boost Options')
+ opt.add_option('--boost-includes', type='string',
+ default='', dest='boost_includes',
+ help='''path to the directory where the boost includes are,
+ e.g., /path/to/boost_1_55_0/stage/include''')
+ opt.add_option('--boost-libs', type='string',
+ default='', dest='boost_libs',
+ help='''path to the directory where the boost libs are,
+ e.g., path/to/boost_1_55_0/stage/lib''')
+ opt.add_option('--boost-mt', action='store_true',
+ default=False, dest='boost_mt',
+ help='select multi-threaded libraries')
+ opt.add_option('--boost-abi', type='string', default='', dest='boost_abi',
+ help='''select libraries with tags (gd for debug, static is automatically added),
+ see doc Boost, Getting Started, chapter 6.1''')
+ opt.add_option('--boost-linkage_autodetect', action="store_true", dest='boost_linkage_autodetect',
+ help="auto-detect boost linkage options (don't get used to it / might break other stuff)")
+ opt.add_option('--boost-toolset', type='string',
+ default='', dest='boost_toolset',
+ help='force a toolset e.g. msvc, vc90, \
+ gcc, mingw, mgw45 (default: auto)')
+ py_version = '%d%d' % (sys.version_info[0], sys.version_info[1])
+ opt.add_option('--boost-python', type='string',
+ default=py_version, dest='boost_python',
+ help='select the lib python with this version \
+ (default: %s)' % py_version)
+
+
+@conf
+def __boost_get_version_file(self, d):
+ if not d:
+ return None
+ dnode = self.root.find_dir(d)
+ if dnode:
+ return dnode.find_node(BOOST_VERSION_FILE)
+ return None
+
+@conf
+def boost_get_version(self, d):
+ """silently retrieve the boost version number"""
+ node = self.__boost_get_version_file(d)
+ if node:
+ try:
+ txt = node.read()
+ except EnvironmentError:
+ Logs.error("Could not read the file %r" % node.abspath())
+ else:
+ re_but1 = re.compile('^#define\\s+BOOST_LIB_VERSION\\s+"(.+)"', re.M)
+ m1 = re_but1.search(txt)
+ re_but2 = re.compile('^#define\\s+BOOST_VERSION\\s+(\\d+)', re.M)
+ m2 = re_but2.search(txt)
+ if m1 and m2:
+ return (m1.group(1), m2.group(1))
+ return self.check_cxx(fragment=BOOST_VERSION_CODE, includes=[d], execute=True, define_ret=True).split(":")
+
+@conf
+def boost_get_includes(self, *k, **kw):
+ includes = k and k[0] or kw.get('includes', None)
+ if includes and self.__boost_get_version_file(includes):
+ return includes
+ for d in self.environ.get('INCLUDE', '').split(';') + BOOST_INCLUDES:
+ if self.__boost_get_version_file(d):
+ return d
+ if includes:
+ self.end_msg('headers not found in %s' % includes)
+ self.fatal('The configuration failed')
+ else:
+ self.end_msg('headers not found, please provide a --boost-includes argument (see help)')
+ self.fatal('The configuration failed')
+
+
+@conf
+def boost_get_toolset(self, cc):
+ toolset = cc
+ if not cc:
+ build_platform = Utils.unversioned_sys_platform()
+ if build_platform in BOOST_TOOLSETS:
+ cc = build_platform
+ else:
+ cc = self.env.CXX_NAME
+ if cc in BOOST_TOOLSETS:
+ toolset = BOOST_TOOLSETS[cc]
+ return isinstance(toolset, str) and toolset or toolset(self.env)
+
+
+@conf
+def __boost_get_libs_path(self, *k, **kw):
+ ''' return the lib path and all the files in it '''
+ if 'files' in kw:
+ return self.root.find_dir('.'), Utils.to_list(kw['files'])
+ libs = k and k[0] or kw.get('libs', None)
+ if libs:
+ path = self.root.find_dir(libs)
+ files = path.ant_glob('*boost_*')
+ if not libs or not files:
+ for d in self.environ.get('LIB', '').split(';') + BOOST_LIBS:
+ if not d:
+ continue
+ path = self.root.find_dir(d)
+ if path:
+ files = path.ant_glob('*boost_*')
+ if files:
+ break
+ path = self.root.find_dir(d + '64')
+ if path:
+ files = path.ant_glob('*boost_*')
+ if files:
+ break
+ if not path:
+ if libs:
+ self.end_msg('libs not found in %s' % libs)
+ self.fatal('The configuration failed')
+ else:
+ self.end_msg('libs not found, please provide a --boost-libs argument (see help)')
+ self.fatal('The configuration failed')
+
+ self.to_log('Found the boost path in %r with the libraries:' % path)
+ for x in files:
+ self.to_log(' %r' % x)
+ return path, files
+
+@conf
+def boost_get_libs(self, *k, **kw):
+ '''
+ return the lib path and the required libs
+ according to the parameters
+ '''
+ path, files = self.__boost_get_libs_path(**kw)
+ files = sorted(files, key=lambda f: (len(f.name), f.name), reverse=True)
+ toolset = self.boost_get_toolset(kw.get('toolset', ''))
+ toolset_pat = '(-%s[0-9]{0,3})' % toolset
+ version = '-%s' % self.env.BOOST_VERSION
+
+ def find_lib(re_lib, files):
+ for file in files:
+ if re_lib.search(file.name):
+ self.to_log('Found boost lib %s' % file)
+ return file
+ return None
+
+ def format_lib_name(name):
+ if name.startswith('lib') and self.env.CC_NAME != 'msvc':
+ name = name[3:]
+ return name[:name.rfind('.')]
+
+ def match_libs(lib_names, is_static):
+ libs = []
+ lib_names = Utils.to_list(lib_names)
+ if not lib_names:
+ return libs
+ t = []
+ if kw.get('mt', False):
+ t.append('-mt')
+ if kw.get('abi', None):
+ t.append('%s%s' % (is_static and '-s' or '-', kw['abi']))
+ elif is_static:
+ t.append('-s')
+ tags_pat = t and ''.join(t) or ''
+ ext = is_static and self.env.cxxstlib_PATTERN or self.env.cxxshlib_PATTERN
+ ext = ext.partition('%s')[2] # remove '%s' or 'lib%s' from PATTERN
+
+ for lib in lib_names:
+ if lib == 'python':
+ # for instance, with python='27',
+ # accepts '-py27', '-py2', '27' and '2'
+ # but will reject '-py3', '-py26', '26' and '3'
+ tags = '({0})?((-py{2})|(-py{1}(?=[^0-9]))|({2})|({1}(?=[^0-9]))|(?=[^0-9])(?!-py))'.format(tags_pat, kw['python'][0], kw['python'])
+ else:
+ tags = tags_pat
+ # Trying libraries, from most strict match to least one
+ for pattern in ['boost_%s%s%s%s%s$' % (lib, toolset_pat, tags, version, ext),
+ 'boost_%s%s%s%s$' % (lib, tags, version, ext),
+ # Give up trying to find the right version
+ 'boost_%s%s%s%s$' % (lib, toolset_pat, tags, ext),
+ 'boost_%s%s%s$' % (lib, tags, ext),
+ 'boost_%s%s$' % (lib, ext),
+ 'boost_%s' % lib]:
+ self.to_log('Trying pattern %s' % pattern)
+ file = find_lib(re.compile(pattern), files)
+ if file:
+ libs.append(format_lib_name(file.name))
+ break
+ else:
+ self.end_msg('lib %s not found in %s' % (lib, path.abspath()))
+ self.fatal('The configuration failed')
+ return libs
+
+ return path.abspath(), match_libs(kw.get('lib', None), False), match_libs(kw.get('stlib', None), True)
+
+@conf
+def _check_pthread_flag(self, *k, **kw):
+ '''
+ Computes which flags should be added to CXXFLAGS and LINKFLAGS to compile in multi-threading mode
+
+ Yes, we *need* to put the -pthread thing in CPPFLAGS because with GCC3,
+ boost/thread.hpp will trigger a #error if -pthread isn't used:
+ boost/config/requires_threads.hpp:47:5: #error "Compiler threading support
+ is not turned on. Please set the correct command line options for
+ threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)"
+
+ Based on _BOOST_PTHREAD_FLAG(): https://github.com/tsuna/boost.m4/blob/master/build-aux/boost.m4
+ '''
+
+ var = kw.get('uselib_store', 'BOOST')
+
+ self.start_msg('Checking the flags needed to use pthreads')
+
+ # The ordering *is* (sometimes) important. Some notes on the
+ # individual items follow:
+ # (none): in case threads are in libc; should be tried before -Kthread and
+ # other compiler flags to prevent continual compiler warnings
+ # -lpthreads: AIX (must check this before -lpthread)
+ # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
+ # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
+ # -llthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
+ # -pthread: GNU Linux/GCC (kernel threads), BSD/GCC (userland threads)
+ # -pthreads: Solaris/GCC
+ # -mthreads: MinGW32/GCC, Lynx/GCC
+ # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
+ # doesn't hurt to check since this sometimes defines pthreads too;
+ # also defines -D_REENTRANT)
+ # ... -mt is also the pthreads flag for HP/aCC
+ # -lpthread: GNU Linux, etc.
+ # --thread-safe: KAI C++
+ if Utils.unversioned_sys_platform() == "sunos":
+ # On Solaris (at least, for some versions), libc contains stubbed
+ # (non-functional) versions of the pthreads routines, so link-based
+ # tests will erroneously succeed. (We need to link with -pthreads/-mt/
+ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
+ # a function called by this macro, so we could check for that, but
+ # who knows whether they'll stub that too in a future libc.) So,
+ # we'll just look for -pthreads and -lpthread first:
+ boost_pthread_flags = ["-pthreads", "-lpthread", "-mt", "-pthread"]
+ else:
+ boost_pthread_flags = ["", "-lpthreads", "-Kthread", "-kthread", "-llthread", "-pthread",
+ "-pthreads", "-mthreads", "-lpthread", "--thread-safe", "-mt"]
+
+ for boost_pthread_flag in boost_pthread_flags:
+ try:
+ self.env.stash()
+ self.env['CXXFLAGS_%s' % var] += [boost_pthread_flag]
+ self.env['LINKFLAGS_%s' % var] += [boost_pthread_flag]
+ self.check_cxx(code=PTHREAD_CODE, msg=None, use=var, execute=False)
+
+ self.end_msg(boost_pthread_flag)
+ return
+ except self.errors.ConfigurationError:
+ self.env.revert()
+ self.end_msg('None')
+
+@conf
+def check_boost(self, *k, **kw):
+ """
+ Initialize boost libraries to be used.
+
+ Keywords: you can pass the same parameters as with the command line (without "--boost-").
+ Note that the command line has the priority, and should preferably be used.
+ """
+ if not self.env['CXX']:
+ self.fatal('load a c++ compiler first, conf.load("compiler_cxx")')
+
+ params = {
+ 'lib': k and k[0] or kw.get('lib', None),
+ 'stlib': kw.get('stlib', None)
+ }
+ for key, value in self.options.__dict__.items():
+ if not key.startswith('boost_'):
+ continue
+ key = key[len('boost_'):]
+ params[key] = value and value or kw.get(key, '')
+
+ var = kw.get('uselib_store', 'BOOST')
+
+ self.find_program('dpkg-architecture', var='DPKG_ARCHITECTURE', mandatory=False)
+ if self.env.DPKG_ARCHITECTURE:
+ deb_host_multiarch = self.cmd_and_log([self.env.DPKG_ARCHITECTURE[0], '-qDEB_HOST_MULTIARCH'])
+ BOOST_LIBS.insert(0, '/usr/lib/%s' % deb_host_multiarch.strip())
+
+ self.start_msg('Checking boost includes')
+ self.env['INCLUDES_%s' % var] = inc = self.boost_get_includes(**params)
+ versions = self.boost_get_version(inc)
+ self.env.BOOST_VERSION = versions[0]
+ self.env.BOOST_VERSION_NUMBER = int(versions[1])
+ self.end_msg("%d.%d.%d" % (int(versions[1]) / 100000,
+ int(versions[1]) / 100 % 1000,
+ int(versions[1]) % 100))
+ if Logs.verbose:
+ Logs.pprint('CYAN', ' path : %s' % self.env['INCLUDES_%s' % var])
+
+ if not params['lib'] and not params['stlib']:
+ return
+ if 'static' in kw or 'static' in params:
+ Logs.warn('boost: static parameter is deprecated, use stlib instead.')
+ self.start_msg('Checking boost libs')
+ path, libs, stlibs = self.boost_get_libs(**params)
+ self.env['LIBPATH_%s' % var] = [path]
+ self.env['STLIBPATH_%s' % var] = [path]
+ self.env['LIB_%s' % var] = libs
+ self.env['STLIB_%s' % var] = stlibs
+ self.end_msg('ok')
+ if Logs.verbose:
+ Logs.pprint('CYAN', ' path : %s' % path)
+ Logs.pprint('CYAN', ' shared libs : %s' % libs)
+ Logs.pprint('CYAN', ' static libs : %s' % stlibs)
+
+ def has_shlib(lib):
+ return params['lib'] and lib in params['lib']
+ def has_stlib(lib):
+ return params['stlib'] and lib in params['stlib']
+ def has_lib(lib):
+ return has_shlib(lib) or has_stlib(lib)
+ if has_lib('thread'):
+ # not inside try_link to make check visible in the output
+ self._check_pthread_flag(k, kw)
+
+ def try_link():
+ if has_lib('system'):
+ self.check_cxx(fragment=BOOST_ERROR_CODE, use=var, execute=False)
+ if has_lib('thread'):
+ self.check_cxx(fragment=BOOST_THREAD_CODE, use=var, execute=False)
+ if has_lib('log'):
+ if not has_lib('thread'):
+ self.env['DEFINES_%s' % var] += ['BOOST_LOG_NO_THREADS']
+ if has_shlib('log'):
+ self.env['DEFINES_%s' % var] += ['BOOST_LOG_DYN_LINK']
+ self.check_cxx(fragment=BOOST_LOG_CODE, use=var, execute=False)
+
+ if params.get('linkage_autodetect', False):
+ self.start_msg("Attempting to detect boost linkage flags")
+ toolset = self.boost_get_toolset(kw.get('toolset', ''))
+ if toolset in ('vc',):
+ # disable auto-linking feature, causing error LNK1181
+ # because the code wants to be linked against
+ self.env['DEFINES_%s' % var] += ['BOOST_ALL_NO_LIB']
+
+ # if no dlls are present, we guess the .lib files are not stubs
+ has_dlls = False
+ for x in Utils.listdir(path):
+ if x.endswith(self.env.cxxshlib_PATTERN % ''):
+ has_dlls = True
+ break
+ if not has_dlls:
+ self.env['STLIBPATH_%s' % var] = [path]
+ self.env['STLIB_%s' % var] = libs
+ del self.env['LIB_%s' % var]
+ del self.env['LIBPATH_%s' % var]
+
+ # we attempt to play with some known-to-work CXXFLAGS combinations
+ for cxxflags in (['/MD', '/EHsc'], []):
+ self.env.stash()
+ self.env["CXXFLAGS_%s" % var] += cxxflags
+ try:
+ try_link()
+ self.end_msg("ok: winning cxxflags combination: %s" % (self.env["CXXFLAGS_%s" % var]))
+ exc = None
+ break
+ except Errors.ConfigurationError as e:
+ self.env.revert()
+ exc = e
+
+ if exc is not None:
+ self.end_msg("Could not auto-detect boost linking flags combination, you may report it to boost.py author", ex=exc)
+ self.fatal('The configuration failed')
+ else:
+ self.end_msg("Boost linkage flags auto-detection not implemented (needed ?) for this toolchain")
+ self.fatal('The configuration failed')
+ else:
+ self.start_msg('Checking for boost linkage')
+ try:
+ try_link()
+ except Errors.ConfigurationError as e:
+ self.end_msg("Could not link against boost libraries using supplied options")
+ self.fatal('The configuration failed')
+ self.end_msg('ok')
+
+
+@feature('cxx')
+@after_method('apply_link')
+def install_boost(self):
+ if install_boost.done or not Utils.is_win32 or not self.bld.cmd.startswith('install'):
+ return
+ install_boost.done = True
+ inst_to = getattr(self, 'install_path', '${BINDIR}')
+ for lib in self.env.LIB_BOOST:
+ try:
+ file = self.bld.find_file(self.env.cxxshlib_PATTERN % lib, self.env.LIBPATH_BOOST)
+ self.bld.install_files(inst_to, self.bld.root.find_node(file))
+ except:
+ continue
+install_boost.done = False
diff --git a/.waf-tools/coverage.py b/.waf-tools/coverage.py
new file mode 100644
index 0000000..cc58165
--- /dev/null
+++ b/.waf-tools/coverage.py
@@ -0,0 +1,22 @@
+# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
+
+from waflib import TaskGen
+
+def options(opt):
+ opt.add_option('--with-coverage', action='store_true', default=False,
+ help='Add compiler flags to enable code coverage information')
+
+def configure(conf):
+ if conf.options.with_coverage:
+ if not conf.options.debug:
+ conf.fatal('Code coverage flags require debug mode compilation (add --debug)')
+ conf.check_cxx(cxxflags=['-fprofile-arcs', '-ftest-coverage', '-fPIC'],
+ linkflags=['-fprofile-arcs'], uselib_store='GCOV', mandatory=True)
+
+@TaskGen.feature('cxx','cc')
+@TaskGen.after('process_source')
+def add_coverage(self):
+ if getattr(self, 'use', ''):
+ self.use += ' GCOV'
+ else:
+ self.use = 'GCOV'
diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py
new file mode 100644
index 0000000..e690290
--- /dev/null
+++ b/.waf-tools/default-compiler-flags.py
@@ -0,0 +1,210 @@
+# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
+
+from waflib import Configure, Logs, Utils
+
+def options(opt):
+ opt.add_option('--debug', '--with-debug', action='store_true', default=False,
+ help='Compile in debugging mode with minimal optimizations (-O0 or -Og)')
+
+def configure(conf):
+ conf.start_msg('Checking C++ compiler version')
+
+ cxx = conf.env.CXX_NAME # generic name of the compiler
+ ccver = tuple(int(i) for i in conf.env.CC_VERSION)
+ ccverstr = '.'.join(conf.env.CC_VERSION)
+ errmsg = ''
+ warnmsg = ''
+ if cxx == 'gcc':
+ if ccver < (5, 3, 0):
+ errmsg = ('The version of gcc you are using is too old.\n'
+ 'The minimum supported gcc version is 5.3.0.')
+ conf.flags = GccFlags()
+ elif cxx == 'clang':
+ if ccver < (3, 5, 0):
+ errmsg = ('The version of clang you are using is too old.\n'
+ 'The minimum supported clang version is 3.5.0.')
+ conf.flags = ClangFlags()
+ else:
+ warnmsg = 'Note: %s compiler is unsupported' % cxx
+ conf.flags = CompilerFlags()
+
+ if errmsg:
+ conf.end_msg(ccverstr, color='RED')
+ conf.fatal(errmsg)
+ elif warnmsg:
+ conf.end_msg(ccverstr, color='YELLOW')
+ Logs.warn(warnmsg)
+ else:
+ conf.end_msg(ccverstr)
+
+ conf.areCustomCxxflagsPresent = (len(conf.env.CXXFLAGS) > 0)
+
+ # General flags are always applied (e.g., selecting C++ language standard)
+ generalFlags = conf.flags.getGeneralFlags(conf)
+ conf.add_supported_cxxflags(generalFlags['CXXFLAGS'])
+ conf.add_supported_linkflags(generalFlags['LINKFLAGS'])
+ conf.env.DEFINES += generalFlags['DEFINES']
+
+@Configure.conf
+def check_compiler_flags(conf):
+ # Debug or optimized CXXFLAGS and LINKFLAGS are applied only if the
+ # corresponding environment variables are not set.
+ # DEFINES are always applied.
+ if conf.options.debug:
+ extraFlags = conf.flags.getDebugFlags(conf)
+ if conf.areCustomCxxflagsPresent:
+ missingFlags = [x for x in extraFlags['CXXFLAGS'] if x not in conf.env.CXXFLAGS]
+ if missingFlags:
+ Logs.warn('Selected debug mode, but CXXFLAGS is set to a custom value "%s"'
+ % ' '.join(conf.env.CXXFLAGS))
+ Logs.warn('Default flags "%s" will not be used' % ' '.join(missingFlags))
+ else:
+ extraFlags = conf.flags.getOptimizedFlags(conf)
+
+ if not conf.areCustomCxxflagsPresent:
+ conf.add_supported_cxxflags(extraFlags['CXXFLAGS'])
+ conf.add_supported_linkflags(extraFlags['LINKFLAGS'])
+
+ conf.env.DEFINES += extraFlags['DEFINES']
+
+@Configure.conf
+def add_supported_cxxflags(self, cxxflags):
+ """
+ Check which cxxflags are supported by compiler and add them to env.CXXFLAGS variable
+ """
+ if len(cxxflags) == 0:
+ return
+
+ self.start_msg('Checking supported CXXFLAGS')
+
+ supportedFlags = []
+ for flags in cxxflags:
+ flags = Utils.to_list(flags)
+ if self.check_cxx(cxxflags=['-Werror'] + flags, mandatory=False):
+ supportedFlags += flags
+
+ self.end_msg(' '.join(supportedFlags))
+ self.env.prepend_value('CXXFLAGS', supportedFlags)
+
+@Configure.conf
+def add_supported_linkflags(self, linkflags):
+ """
+ Check which linkflags are supported by compiler and add them to env.LINKFLAGS variable
+ """
+ if len(linkflags) == 0:
+ return
+
+ self.start_msg('Checking supported LINKFLAGS')
+
+ supportedFlags = []
+ for flags in linkflags:
+ flags = Utils.to_list(flags)
+ if self.check_cxx(linkflags=['-Werror'] + flags, mandatory=False):
+ supportedFlags += flags
+
+ self.end_msg(' '.join(supportedFlags))
+ self.env.prepend_value('LINKFLAGS', supportedFlags)
+
+
+class CompilerFlags(object):
+ def getCompilerVersion(self, conf):
+ return tuple(int(i) for i in conf.env.CC_VERSION)
+
+ def getGeneralFlags(self, conf):
+ """Get dict of CXXFLAGS, LINKFLAGS, and DEFINES that are always needed"""
+ return {'CXXFLAGS': [], 'LINKFLAGS': [], 'DEFINES': []}
+
+ def getDebugFlags(self, conf):
+ """Get dict of CXXFLAGS, LINKFLAGS, and DEFINES that are needed only in debug mode"""
+ return {'CXXFLAGS': [], 'LINKFLAGS': [], 'DEFINES': ['_DEBUG']}
+
+ def getOptimizedFlags(self, conf):
+ """Get dict of CXXFLAGS, LINKFLAGS, and DEFINES that are needed only in optimized mode"""
+ return {'CXXFLAGS': [], 'LINKFLAGS': [], 'DEFINES': ['NDEBUG']}
+
+class GccBasicFlags(CompilerFlags):
+ """
+ This class defines basic flags that work for both gcc and clang compilers
+ """
+ def getGeneralFlags(self, conf):
+ flags = super(GccBasicFlags, self).getGeneralFlags(conf)
+ flags['CXXFLAGS'] += ['-std=c++14']
+ return flags
+
+ def getDebugFlags(self, conf):
+ flags = super(GccBasicFlags, self).getDebugFlags(conf)
+ flags['CXXFLAGS'] += ['-O0',
+ '-Og', # gcc >= 4.8, clang >= 4.0
+ '-g3',
+ '-pedantic',
+ '-Wall',
+ '-Wextra',
+ '-Werror',
+ '-Wnon-virtual-dtor',
+ '-Wno-error=deprecated-declarations', # Bug #3795
+ '-Wno-error=maybe-uninitialized', # Bug #1615
+ '-Wno-unused-parameter',
+ ]
+ flags['LINKFLAGS'] += ['-fuse-ld=gold', '-Wl,-O1']
+ return flags
+
+ def getOptimizedFlags(self, conf):
+ flags = super(GccBasicFlags, self).getOptimizedFlags(conf)
+ flags['CXXFLAGS'] += ['-O2',
+ '-g',
+ '-pedantic',
+ '-Wall',
+ '-Wextra',
+ '-Wnon-virtual-dtor',
+ '-Wno-unused-parameter',
+ ]
+ flags['LINKFLAGS'] += ['-fuse-ld=gold', '-Wl,-O1']
+ return flags
+
+class GccFlags(GccBasicFlags):
+ def getDebugFlags(self, conf):
+ flags = super(GccFlags, self).getDebugFlags(conf)
+ flags['CXXFLAGS'] += ['-fdiagnostics-color']
+ return flags
+
+ def getOptimizedFlags(self, conf):
+ flags = super(GccFlags, self).getOptimizedFlags(conf)
+ flags['CXXFLAGS'] += ['-fdiagnostics-color']
+ return flags
+
+class ClangFlags(GccBasicFlags):
+ def getGeneralFlags(self, conf):
+ flags = super(ClangFlags, self).getGeneralFlags(conf)
+ if Utils.unversioned_sys_platform() == 'darwin' and self.getCompilerVersion(conf) >= (9, 0, 0):
+ # Bug #4296
+ flags['CXXFLAGS'] += [['-isystem', '/usr/local/include'], # for Homebrew
+ ['-isystem', '/opt/local/include']] # for MacPorts
+ return flags
+
+ def getDebugFlags(self, conf):
+ flags = super(ClangFlags, self).getDebugFlags(conf)
+ flags['CXXFLAGS'] += ['-fcolor-diagnostics',
+ '-Wextra-semi',
+ '-Wundefined-func-template',
+ '-Wno-error=deprecated-register',
+ '-Wno-error=infinite-recursion', # Bug #3358
+ '-Wno-error=keyword-macro', # Bug #3235
+ '-Wno-error=unneeded-internal-declaration', # Bug #1588
+ '-Wno-unused-local-typedef', # Bugs #2657 and #3209
+ ]
+ version = self.getCompilerVersion(conf)
+ if version < (3, 9, 0) or (Utils.unversioned_sys_platform() == 'darwin' and version < (8, 1, 0)):
+ flags['CXXFLAGS'] += ['-Wno-unknown-pragmas']
+ return flags
+
+ def getOptimizedFlags(self, conf):
+ flags = super(ClangFlags, self).getOptimizedFlags(conf)
+ flags['CXXFLAGS'] += ['-fcolor-diagnostics',
+ '-Wextra-semi',
+ '-Wundefined-func-template',
+ '-Wno-unused-local-typedef', # Bugs #2657 and #3209
+ ]
+ version = self.getCompilerVersion(conf)
+ if version < (3, 9, 0) or (Utils.unversioned_sys_platform() == 'darwin' and version < (8, 1, 0)):
+ flags['CXXFLAGS'] += ['-Wno-unknown-pragmas']
+ return flags
diff --git a/.waf-tools/dependency-checker.py b/.waf-tools/dependency-checker.py
new file mode 100644
index 0000000..629fbfd
--- /dev/null
+++ b/.waf-tools/dependency-checker.py
@@ -0,0 +1,28 @@
+# encoding: utf-8
+
+from waflib import Options, Logs
+from waflib.Configure import conf
+
+def addDependencyOptions(self, opt, name, extraHelp=''):
+ opt.add_option('--with-%s' % name, type='string', default=None,
+ dest='with_%s' % name,
+ help='Path to %s, e.g., /usr/local %s' % (name, extraHelp))
+setattr(Options.OptionsContext, "addDependencyOptions", addDependencyOptions)
+
+@conf
+def checkDependency(self, name, **kw):
+ root = kw.get('path', getattr(Options.options, 'with_%s' % name))
+ kw['msg'] = kw.get('msg', 'Checking for %s library' % name)
+ kw['uselib_store'] = kw.get('uselib_store', name.upper())
+ kw['define_name'] = kw.get('define_name', 'HAVE_%s' % kw['uselib_store'])
+ kw['mandatory'] = kw.get('mandatory', True)
+
+ if root:
+ isOk = self.check_cxx(includes="%s/include" % root,
+ libpath="%s/lib" % root,
+ **kw)
+ else:
+ isOk = self.check_cxx(**kw)
+
+ if isOk:
+ self.env[kw['define_name']] = True
diff --git a/.waf-tools/doxygen.py b/.waf-tools/doxygen.py
new file mode 100644
index 0000000..6d8066b
--- /dev/null
+++ b/.waf-tools/doxygen.py
@@ -0,0 +1,214 @@
+#! /usr/bin/env python
+# encoding: UTF-8
+# Thomas Nagy 2008-2010 (ita)
+
+"""
+
+Doxygen support
+
+Variables passed to bld():
+* doxyfile -- the Doxyfile to use
+
+When using this tool, the wscript will look like:
+
+ def options(opt):
+ opt.load('doxygen')
+
+ def configure(conf):
+ conf.load('doxygen')
+ # check conf.env.DOXYGEN, if it is mandatory
+
+ def build(bld):
+ if bld.env.DOXYGEN:
+ bld(features="doxygen", doxyfile='Doxyfile', ...)
+
+ def doxygen(bld):
+ if bld.env.DOXYGEN:
+ bld(features="doxygen", doxyfile='Doxyfile', ...)
+"""
+
+from fnmatch import fnmatchcase
+import os, os.path, re, stat
+from waflib import Task, Utils, Node, Logs, Errors, Build
+from waflib.TaskGen import feature
+
+DOXY_STR = '"${DOXYGEN}" - '
+DOXY_FMTS = 'html latex man rft xml'.split()
+DOXY_FILE_PATTERNS = '*.' + ' *.'.join('''
+c cc cxx cpp c++ java ii ixx ipp i++ inl h hh hxx hpp h++ idl odl cs php php3
+inc m mm py f90c cc cxx cpp c++ java ii ixx ipp i++ inl h hh hxx
+'''.split())
+
+re_rl = re.compile('\\\\\r*\n', re.MULTILINE)
+re_nl = re.compile('\r*\n', re.M)
+def parse_doxy(txt):
+ tbl = {}
+ txt = re_rl.sub('', txt)
+ lines = re_nl.split(txt)
+ for x in lines:
+ x = x.strip()
+ if not x or x.startswith('#') or x.find('=') < 0:
+ continue
+ if x.find('+=') >= 0:
+ tmp = x.split('+=')
+ key = tmp[0].strip()
+ if key in tbl:
+ tbl[key] += ' ' + '+='.join(tmp[1:]).strip()
+ else:
+ tbl[key] = '+='.join(tmp[1:]).strip()
+ else:
+ tmp = x.split('=')
+ tbl[tmp[0].strip()] = '='.join(tmp[1:]).strip()
+ return tbl
+
+class doxygen(Task.Task):
+ vars = ['DOXYGEN', 'DOXYFLAGS']
+ color = 'BLUE'
+
+ def runnable_status(self):
+ '''
+ self.pars are populated in runnable_status - because this function is being
+ run *before* both self.pars "consumers" - scan() and run()
+
+ set output_dir (node) for the output
+ '''
+
+ for x in self.run_after:
+ if not x.hasrun:
+ return Task.ASK_LATER
+
+ if not getattr(self, 'pars', None):
+ txt = self.inputs[0].read()
+ self.pars = parse_doxy(txt)
+ if not self.pars.get('OUTPUT_DIRECTORY'):
+ self.pars['OUTPUT_DIRECTORY'] = self.inputs[0].parent.get_bld().abspath()
+
+ # Override with any parameters passed to the task generator
+ if getattr(self.generator, 'pars', None):
+ for k, v in self.generator.pars.items():
+ self.pars[k] = v
+
+ self.doxy_inputs = getattr(self, 'doxy_inputs', [])
+ if not self.pars.get('INPUT'):
+ self.doxy_inputs.append(self.inputs[0].parent)
+ else:
+ for i in self.pars.get('INPUT').split():
+ if os.path.isabs(i):
+ node = self.generator.bld.root.find_node(i)
+ else:
+ node = self.generator.path.find_node(i)
+ if not node:
+ self.generator.bld.fatal('Could not find the doxygen input %r' % i)
+ self.doxy_inputs.append(node)
+
+ if not getattr(self, 'output_dir', None):
+ bld = self.generator.bld
+ # First try to find an absolute path, then find or declare a relative path
+ self.output_dir = bld.root.find_dir(self.pars['OUTPUT_DIRECTORY'])
+ if not self.output_dir:
+ self.output_dir = bld.path.find_or_declare(self.pars['OUTPUT_DIRECTORY'])
+
+ self.signature()
+ return Task.Task.runnable_status(self)
+
+ def scan(self):
+ exclude_patterns = self.pars.get('EXCLUDE_PATTERNS','').split()
+ file_patterns = self.pars.get('FILE_PATTERNS','').split()
+ if not file_patterns:
+ file_patterns = DOXY_FILE_PATTERNS
+ if self.pars.get('RECURSIVE') == 'YES':
+ file_patterns = ["**/%s" % pattern for pattern in file_patterns]
+ nodes = []
+ names = []
+ for node in self.doxy_inputs:
+ if os.path.isdir(node.abspath()):
+ for m in node.ant_glob(incl=file_patterns, excl=exclude_patterns):
+ nodes.append(m)
+ else:
+ nodes.append(node)
+ return (nodes, names)
+
+ def run(self):
+ dct = self.pars.copy()
+ dct['INPUT'] = ' '.join(['"%s"' % x.abspath() for x in self.doxy_inputs])
+ code = '\n'.join(['%s = %s' % (x, dct[x]) for x in self.pars])
+ code = code.encode() # for python 3
+ #fmt = DOXY_STR % (self.inputs[0].parent.abspath())
+ cmd = Utils.subst_vars(DOXY_STR, self.env)
+ env = self.env.env or None
+ proc = Utils.subprocess.Popen(cmd, shell=True, stdin=Utils.subprocess.PIPE, env=env, cwd=self.generator.bld.path.get_bld().abspath())
+ proc.communicate(code)
+ return proc.returncode
+
+ def post_run(self):
+ nodes = self.output_dir.ant_glob('**/*', quiet=True)
+ for x in nodes:
+ x.sig = Utils.h_file(x.abspath())
+ self.outputs += nodes
+ return Task.Task.post_run(self)
+
+class tar(Task.Task):
+ "quick tar creation"
+ run_str = '${TAR} ${TAROPTS} ${TGT} ${SRC}'
+ color = 'RED'
+ after = ['doxygen']
+ def runnable_status(self):
+ for x in getattr(self, 'input_tasks', []):
+ if not x.hasrun:
+ return Task.ASK_LATER
+
+ if not getattr(self, 'tar_done_adding', None):
+ # execute this only once
+ self.tar_done_adding = True
+ for x in getattr(self, 'input_tasks', []):
+ self.set_inputs(x.outputs)
+ if not self.inputs:
+ return Task.SKIP_ME
+ return Task.Task.runnable_status(self)
+
+ def __str__(self):
+ tgt_str = ' '.join([a.nice_path(self.env) for a in self.outputs])
+ return '%s: %s\n' % (self.__class__.__name__, tgt_str)
+
+@feature('doxygen')
+def process_doxy(self):
+ if not getattr(self, 'doxyfile', None):
+ self.generator.bld.fatal('no doxyfile??')
+
+ node = self.doxyfile
+ if not isinstance(node, Node.Node):
+ node = self.path.find_resource(node)
+ if not node:
+ raise ValueError('doxygen file not found')
+
+ # the task instance
+ dsk = self.create_task('doxygen', node)
+
+ if getattr(self, 'doxy_tar', None):
+ tsk = self.create_task('tar')
+ tsk.input_tasks = [dsk]
+ tsk.set_outputs(self.path.find_or_declare(self.doxy_tar))
+ if self.doxy_tar.endswith('bz2'):
+ tsk.env['TAROPTS'] = ['cjf']
+ elif self.doxy_tar.endswith('gz'):
+ tsk.env['TAROPTS'] = ['czf']
+ else:
+ tsk.env['TAROPTS'] = ['cf']
+
+def configure(conf):
+ '''
+ Check if doxygen and tar commands are present in the system
+
+ If the commands are present, then conf.env.DOXYGEN and conf.env.TAR
+ variables will be set. Detection can be controlled by setting DOXYGEN and
+ TAR environmental variables.
+ '''
+
+ conf.find_program('doxygen', var='DOXYGEN', mandatory=False)
+ conf.find_program('tar', var='TAR', mandatory=False)
+
+# doxygen docs
+from waflib.Build import BuildContext
+class doxy(BuildContext):
+ cmd = "doxygen"
+ fun = "doxygen"
diff --git a/.waf-tools/pch.py b/.waf-tools/pch.py
new file mode 100644
index 0000000..3df299f
--- /dev/null
+++ b/.waf-tools/pch.py
@@ -0,0 +1,153 @@
+#! /usr/bin/env python
+# encoding: utf-8
+# Alexander Afanasyev (UCLA), 2014
+
+"""
+Enable precompiled C++ header support (currently only clang++ and g++ are supported)
+
+To use this tool, wscript should look like:
+
+ def options(opt):
+ opt.load('pch')
+ # This will add `--with-pch` configure option.
+ # Unless --with-pch during configure stage specified, the precompiled header support is disabled
+
+ def configure(conf):
+ conf.load('pch')
+ # this will set conf.env.WITH_PCH if --with-pch is specified and the supported compiler is used
+ # Unless conf.env.WITH_PCH is set, the precompiled header support is disabled
+
+ def build(bld):
+ bld(features='cxx pch',
+ target='precompiled-headers',
+ name='precompiled-headers',
+ headers='a.h b.h c.h', # headers to pre-compile into `precompiled-headers`
+
+ # Other parameters to compile precompiled headers
+ # includes=...,
+ # export_includes=...,
+ # use=...,
+ # ...
+
+ # Exported parameters will be propagated even if precompiled headers are disabled
+ )
+
+ bld(
+ target='test',
+ features='cxx cxxprogram',
+ source='a.cpp b.cpp d.cpp main.cpp',
+ use='precompiled-headers',
+ )
+
+ # or
+
+ bld(
+ target='test',
+ features='pch cxx cxxprogram',
+ source='a.cpp b.cpp d.cpp main.cpp',
+ headers='a.h b.h c.h',
+ )
+
+Note that precompiled header must have multiple inclusion guards. If the guards are missing, any benefit of precompiled header will be voided and compilation may fail in some cases.
+"""
+
+import os
+from waflib import Task, TaskGen, Logs, Utils
+from waflib.Tools import c_preproc, cxx
+
+
+PCH_COMPILER_OPTIONS = {
+ 'clang++': [['-include'], '.pch', ['-x', 'c++-header']],
+ 'g++': [['-include'], '.gch', ['-x', 'c++-header']],
+}
+
+
+def options(opt):
+ opt.add_option('--without-pch', action='store_false', default=True, dest='with_pch', help='''Try to use precompiled header to speed up compilation (only g++ and clang++)''')
+
+def configure(conf):
+ if (conf.options.with_pch and conf.env['COMPILER_CXX'] in PCH_COMPILER_OPTIONS.keys()):
+ if Utils.unversioned_sys_platform() == "darwin" and conf.env['CXX_NAME'] == 'clang':
+ version = tuple(int(i) for i in conf.env['CC_VERSION'])
+ if version < (6, 1, 0):
+ # Issue #2804
+ return
+ conf.env.WITH_PCH = True
+ flags = PCH_COMPILER_OPTIONS[conf.env['COMPILER_CXX']]
+ conf.env.CXXPCH_F = flags[0]
+ conf.env.CXXPCH_EXT = flags[1]
+ conf.env.CXXPCH_FLAGS = flags[2]
+
+
+@TaskGen.feature('pch')
+@TaskGen.before('process_source')
+def apply_pch(self):
+ if not self.env.WITH_PCH:
+ return
+
+ if getattr(self.bld, 'pch_tasks', None) is None:
+ self.bld.pch_tasks = {}
+
+ if getattr(self, 'headers', None) is None:
+ return
+
+ self.headers = self.to_nodes(self.headers)
+
+ if getattr(self, 'name', None):
+ try:
+ task = self.bld.pch_tasks[self.name]
+ self.bld.fatal("Duplicated 'pch' task with name %r" % self.name)
+ except KeyError:
+ pass
+
+ out = '%s.%d%s' % (self.target, self.idx, self.env['CXXPCH_EXT'])
+ out = self.path.find_or_declare(out)
+ task = self.create_task('gchx', self.headers, out)
+
+ # target should be an absolute path of `out`, but without precompiled header extension
+ task.target = out.abspath()[:-len(out.suffix())]
+
+ self.pch_task = task
+ if getattr(self, 'name', None):
+ self.bld.pch_tasks[self.name] = task
+
+@TaskGen.feature('cxx')
+@TaskGen.after_method('process_source', 'propagate_uselib_vars')
+def add_pch(self):
+ if not (self.env['WITH_PCH'] and getattr(self, 'use', None) and getattr(self, 'compiled_tasks', None) and getattr(self.bld, 'pch_tasks', None)):
+ return
+
+ pch = None
+ # find pch task, if any
+
+ if getattr(self, 'pch_task', None):
+ pch = self.pch_task
+ else:
+ for use in Utils.to_list(self.use):
+ try:
+ pch = self.bld.pch_tasks[use]
+ except KeyError:
+ pass
+
+ if pch:
+ for x in self.compiled_tasks:
+ x.env.append_value('CXXFLAGS', self.env['CXXPCH_F'] + [pch.target])
+
+class gchx(Task.Task):
+ run_str = '${CXX} ${ARCH_ST:ARCH} ${CXXFLAGS} ${CPPFLAGS} ${CXXPCH_FLAGS} ${FRAMEWORKPATH_ST:FRAMEWORKPATH} ${CPPPATH_ST:INCPATHS} ${DEFINES_ST:DEFINES} ${CXXPCH_F:SRC} ${CXX_SRC_F}${SRC[0].abspath()} ${CXX_TGT_F}${TGT[0].abspath()}'
+ scan = c_preproc.scan
+ color = 'BLUE'
+ ext_out=['.h']
+
+ def runnable_status(self):
+ try:
+ node_deps = self.generator.bld.node_deps[self.uid()]
+ except KeyError:
+ node_deps = []
+ ret = Task.Task.runnable_status(self)
+ if ret == Task.SKIP_ME and self.env.CXX_NAME == 'clang':
+ t = os.stat(self.outputs[0].abspath()).st_mtime
+ for n in self.inputs + node_deps:
+ if os.stat(n.abspath()).st_mtime > t:
+ return Task.RUN_ME
+ return ret
diff --git a/.waf-tools/sanitizers.py b/.waf-tools/sanitizers.py
new file mode 100644
index 0000000..a8fe55d
--- /dev/null
+++ b/.waf-tools/sanitizers.py
@@ -0,0 +1,22 @@
+# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
+
+def options(opt):
+ opt.add_option('--with-sanitizer', action='store', default='', dest='sanitizers',
+ help='Comma-separated list of compiler sanitizers to enable [default=none]')
+
+def configure(conf):
+ for san in conf.options.sanitizers.split(','):
+ if not san:
+ continue
+
+ sanflag = '-fsanitize=%s' % san
+ conf.start_msg('Checking if compiler supports %s' % sanflag)
+
+ if conf.check_cxx(cxxflags=['-Werror', sanflag, '-fno-omit-frame-pointer'],
+ linkflags=[sanflag], mandatory=False):
+ conf.end_msg('yes')
+ conf.env.append_unique('CXXFLAGS', [sanflag, '-fno-omit-frame-pointer'])
+ conf.env.append_unique('LINKFLAGS', [sanflag])
+ else:
+ conf.end_msg('no', color='RED')
+ conf.fatal('%s sanitizer is not supported by the current compiler' % san)
diff --git a/.waf-tools/sphinx_build.py b/.waf-tools/sphinx_build.py
new file mode 100644
index 0000000..e61da6e
--- /dev/null
+++ b/.waf-tools/sphinx_build.py
@@ -0,0 +1,79 @@
+#!/usr/bin/env python
+# encoding: utf-8
+
+# inspired by code by Hans-Martin von Gaudecker, 2012
+
+import os
+from waflib import Node, Task, TaskGen, Errors, Logs, Build, Utils
+
+class sphinx_build(Task.Task):
+ color = 'BLUE'
+ run_str = '${SPHINX_BUILD} -D ${VERSION} -D ${RELEASE} -q -b ${BUILDERNAME} -d ${DOCTREEDIR} ${SRCDIR} ${OUTDIR}'
+
+ def __str__(self):
+ env = self.env
+ src_str = ' '.join([a.path_from(a.ctx.launch_node()) for a in self.inputs])
+ tgt_str = ' '.join([a.path_from(a.ctx.launch_node()) for a in self.outputs])
+ if self.outputs: sep = ' -> '
+ else: sep = ''
+ return'%s [%s]: %s%s%s\n'%(self.__class__.__name__.replace('_task',''),
+ self.env['BUILDERNAME'], src_str, sep, tgt_str)
+
+@TaskGen.extension('.py', '.rst')
+def sig_hook(self, node):
+ node.sig=Utils.h_file(node.abspath())
+
+@TaskGen.feature("sphinx")
+@TaskGen.before_method("process_source")
+def apply_sphinx(self):
+ """Set up the task generator with a Sphinx instance and create a task."""
+
+ inputs = []
+ for i in Utils.to_list(self.source):
+ if not isinstance(i, Node.Node):
+ node = self.path.find_node(node)
+ else:
+ node = i
+ if not node:
+ raise ValueError('[%s] file not found' % i)
+ inputs.append(node)
+
+ task = self.create_task('sphinx_build', inputs)
+
+ conf = self.path.find_node(self.config)
+ task.inputs.append(conf)
+
+ confdir = conf.parent.abspath()
+ buildername = getattr(self, "builder", "html")
+ srcdir = getattr(self, "srcdir", confdir)
+ outdir = self.path.find_or_declare(getattr(self, "outdir", buildername)).get_bld()
+ doctreedir = getattr(self, "doctreedir", os.path.join(outdir.abspath(), ".doctrees"))
+
+ task.env['BUILDERNAME'] = buildername
+ task.env['SRCDIR'] = srcdir
+ task.env['DOCTREEDIR'] = doctreedir
+ task.env['OUTDIR'] = outdir.abspath()
+ task.env['VERSION'] = "version=%s" % self.VERSION
+ task.env['RELEASE'] = "release=%s" % self.VERSION
+
+ import imp
+ confData = imp.load_source('sphinx_conf', conf.abspath())
+
+ if buildername == "man":
+ for i in confData.man_pages:
+ target = outdir.find_or_declare('%s.%d' % (i[1], i[4]))
+ task.outputs.append(target)
+
+ if self.install_path:
+ self.bld.install_files("%s/man%d/" % (self.install_path, i[4]), target)
+ else:
+ task.outputs.append(outdir)
+
+def configure(conf):
+ conf.find_program('sphinx-build', var='SPHINX_BUILD', mandatory=False)
+
+# sphinx docs
+from waflib.Build import BuildContext
+class sphinx(BuildContext):
+ cmd = "sphinx"
+ fun = "sphinx"
diff --git a/AUTHORS.md b/AUTHORS.md
new file mode 100644
index 0000000..63d1877
--- /dev/null
+++ b/AUTHORS.md
@@ -0,0 +1,15 @@
+PSync authors
+=============
+
+## Author(s):
+
+* Ashlesh Gawande <https://www.linkedin.com/in/agawande>
+* Minsheng Zhang <https://www.linkedin.com/in/minsheng-zhang-032023a1>
+
+## Technical advisor(s):
+
+* Lan Wang <http://www.cs.memphis.edu/~lanwang/>
+
+## Special thanks to:
+
+* Davide Pesavento <https://www.linkedin.com/in/davidepesavento>
diff --git a/COPYING.md b/COPYING.md
new file mode 100644
index 0000000..9811dd5
--- /dev/null
+++ b/COPYING.md
@@ -0,0 +1,860 @@
+PSync is licensed under the terms of the GNU Lesser General Public License,
+version 3 or later.
+
+PSync relies on third-party software, licensed under the following licenses:
+
+- The Boost libraries are licensed under the terms of the
+ [Boost Software License, Version 1.0](https://www.boost.org/users/license.html)
+
+- ndn-cxx is licensed under the conditions of
+ [LGPL 3.0](https://github.com/named-data/ndn-cxx/blob/master/COPYING.md)
+
+- The waf build system is licensed under the terms of the
+ [BSD license](https://github.com/named-data/ndn-cxx/blob/master/waf)
+
+- IBLT (Invertible Bloom Lookup Table) is licensed under the terms of the
+ [MIT license](https://github.com/gavinandresen/IBLT_Cplusplus/blob/master/LICENSE)
+
+- Bloom is licensed under the terms of the
+ [MIT license](http://www.partow.net/programming/bloomfilter/index.html)
+
+The LGPL and GPL licenses are provided below in this file. For more information
+about these licenses, see https://www.gnu.org/licenses/
+
+--------------------------------------------------------------------------------
+
+### GNU LESSER GENERAL PUBLIC LICENSE
+
+Version 3, 29 June 2007
+
+Copyright (C) 2007 Free Software Foundation, Inc.
+<https://fsf.org/>
+
+Everyone is permitted to copy and distribute verbatim copies of this
+license document, but changing it is not allowed.
+
+This version of the GNU Lesser General Public License incorporates the
+terms and conditions of version 3 of the GNU General Public License,
+supplemented by the additional permissions listed below.
+
+#### 0. Additional Definitions.
+
+As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the
+GNU General Public License.
+
+"The Library" refers to a covered work governed by this License, other
+than an Application or a Combined Work as defined below.
+
+An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+#### 1. Exception to Section 3 of the GNU GPL.
+
+You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+#### 2. Conveying Modified Versions.
+
+If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+- a) under this License, provided that you make a good faith effort
+ to ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+- b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+#### 3. Object Code Incorporating Material from Library Header Files.
+
+The object code form of an Application may incorporate material from a
+header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+- a) Give prominent notice with each copy of the object code that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+- b) Accompany the object code with a copy of the GNU GPL and this
+ license document.
+
+#### 4. Combined Works.
+
+You may convey a Combined Work under terms of your choice that, taken
+together, effectively do not restrict modification of the portions of
+the Library contained in the Combined Work and reverse engineering for
+debugging such modifications, if you also do each of the following:
+
+- a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+- b) Accompany the Combined Work with a copy of the GNU GPL and this
+ license document.
+- c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+- d) Do one of the following:
+ - 0) Convey the Minimal Corresponding Source under the terms of
+ this License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+ - 1) Use a suitable shared library mechanism for linking with
+ the Library. A suitable mechanism is one that (a) uses at run
+ time a copy of the Library already present on the user's
+ computer system, and (b) will operate properly with a modified
+ version of the Library that is interface-compatible with the
+ Linked Version.
+- e) Provide Installation Information, but only if you would
+ otherwise be required to provide such information under section 6
+ of the GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the Application
+ with a modified version of the Linked Version. (If you use option
+ 4d0, the Installation Information must accompany the Minimal
+ Corresponding Source and Corresponding Application Code. If you
+ use option 4d1, you must provide the Installation Information in
+ the manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.)
+
+#### 5. Combined Libraries.
+
+You may place library facilities that are a work based on the Library
+side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+- a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities, conveyed under the terms of this License.
+- b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+#### 6. Revised Versions of the GNU Lesser General Public License.
+
+The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+as you received it specifies that a certain numbered version of the
+GNU Lesser General Public License "or any later version" applies to
+it, you have the option of following the terms and conditions either
+of that published version or of any later version published by the
+Free Software Foundation. If the Library as you received it does not
+specify a version number of the GNU Lesser General Public License, you
+may choose any version of the GNU Lesser General Public License ever
+published by the Free Software Foundation.
+
+If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
+--------------------------------------------------------------------------------
+
+### GNU GENERAL PUBLIC LICENSE
+
+Version 3, 29 June 2007
+
+Copyright (C) 2007 Free Software Foundation, Inc.
+<https://fsf.org/>
+
+Everyone is permitted to copy and distribute verbatim copies of this
+license document, but changing it is not allowed.
+
+### Preamble
+
+The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom
+to share and change all versions of a program--to make sure it remains
+free software for all its users. We, the Free Software Foundation, use
+the GNU General Public License for most of our software; it applies
+also to any other work released this way by its authors. You can apply
+it to your programs, too.
+
+When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you
+have certain responsibilities if you distribute copies of the
+software, or if you modify it: responsibilities to respect the freedom
+of others.
+
+For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the
+manufacturer can do so. This is fundamentally incompatible with the
+aim of protecting users' freedom to change the software. The
+systematic pattern of such abuse occurs in the area of products for
+individuals to use, which is precisely where it is most unacceptable.
+Therefore, we have designed this version of the GPL to prohibit the
+practice for those products. If such problems arise substantially in
+other domains, we stand ready to extend this provision to those
+domains in future versions of the GPL, as needed to protect the
+freedom of users.
+
+Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish
+to avoid the special danger that patents applied to a free program
+could make it effectively proprietary. To prevent this, the GPL
+assures that patents cannot be used to render the program non-free.
+
+The precise terms and conditions for copying, distribution and
+modification follow.
+
+### TERMS AND CONDITIONS
+
+#### 0. Definitions.
+
+"This License" refers to version 3 of the GNU General Public License.
+
+"Copyright" also means copyright-like laws that apply to other kinds
+of works, such as semiconductor masks.
+
+"The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of
+an exact copy. The resulting work is called a "modified version" of
+the earlier work or a work "based on" the earlier work.
+
+A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user
+through a computer network, with no transfer of a copy, is not
+conveying.
+
+An interactive user interface displays "Appropriate Legal Notices" to
+the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+#### 1. Source Code.
+
+The "source code" for a work means the preferred form of the work for
+making modifications to it. "Object code" means any non-source form of
+a work.
+
+A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+The Corresponding Source need not include anything that users can
+regenerate automatically from other parts of the Corresponding Source.
+
+The Corresponding Source for a work in source code form is that same
+work.
+
+#### 2. Basic Permissions.
+
+All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+You may make, run and propagate covered works that you do not convey,
+without conditions so long as your license otherwise remains in force.
+You may convey covered works to others for the sole purpose of having
+them make modifications exclusively for you, or provide you with
+facilities for running those works, provided that you comply with the
+terms of this License in conveying all material for which you do not
+control copyright. Those thus making or running the covered works for
+you must do so exclusively on your behalf, under your direction and
+control, on terms that prohibit them from making any copies of your
+copyrighted material outside their relationship with you.
+
+Conveying under any other circumstances is permitted solely under the
+conditions stated below. Sublicensing is not allowed; section 10 makes
+it unnecessary.
+
+#### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such
+circumvention is effected by exercising rights under this License with
+respect to the covered work, and you disclaim any intention to limit
+operation or modification of the work as a means of enforcing, against
+the work's users, your or third parties' legal rights to forbid
+circumvention of technological measures.
+
+#### 4. Conveying Verbatim Copies.
+
+You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+#### 5. Conveying Modified Source Versions.
+
+You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these
+conditions:
+
+- a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+- b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under
+ section 7. This requirement modifies the requirement in section 4
+ to "keep intact all notices".
+- c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+- d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+#### 6. Conveying Non-Source Forms.
+
+You may convey a covered work in object code form under the terms of
+sections 4 and 5, provided that you also convey the machine-readable
+Corresponding Source under the terms of this License, in one of these
+ways:
+
+- a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+- b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the Corresponding
+ Source from a network server at no charge.
+- c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+- d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+- e) Convey the object code using peer-to-peer transmission,
+ provided you inform other peers where the object code and
+ Corresponding Source of the work are being offered to the general
+ public at no charge under subsection 6d.
+
+A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal,
+family, or household purposes, or (2) anything designed or sold for
+incorporation into a dwelling. In determining whether a product is a
+consumer product, doubtful cases shall be resolved in favor of
+coverage. For a particular product received by a particular user,
+"normally used" refers to a typical or common use of that class of
+product, regardless of the status of the particular user or of the way
+in which the particular user actually uses, or expects or is expected
+to use, the product. A product is a consumer product regardless of
+whether the product has substantial commercial, industrial or
+non-consumer uses, unless such uses represent the only significant
+mode of use of the product.
+
+"Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to
+install and execute modified versions of a covered work in that User
+Product from a modified version of its Corresponding Source. The
+information must suffice to ensure that the continued functioning of
+the modified object code is in no case prevented or interfered with
+solely because modification has been made.
+
+If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or
+updates for a work that has been modified or installed by the
+recipient, or for the User Product in which it has been modified or
+installed. Access to a network may be denied when the modification
+itself materially and adversely affects the operation of the network
+or violates the rules and protocols for communication across the
+network.
+
+Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+#### 7. Additional Terms.
+
+"Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders
+of that material) supplement the terms of this License with terms:
+
+- a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+- b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+- c) Prohibiting misrepresentation of the origin of that material,
+ or requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+- d) Limiting the use for publicity purposes of names of licensors
+ or authors of the material; or
+- e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+- f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions
+ of it) with contractual assumptions of liability to the recipient,
+ for any liability that these contractual assumptions directly
+ impose on those licensors and authors.
+
+All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions; the
+above requirements apply either way.
+
+#### 8. Termination.
+
+You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+However, if you cease all violation of this License, then your license
+from a particular copyright holder is reinstated (a) provisionally,
+unless and until the copyright holder explicitly and finally
+terminates your license, and (b) permanently, if the copyright holder
+fails to notify you of the violation by some reasonable means prior to
+60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+#### 9. Acceptance Not Required for Having Copies.
+
+You are not required to accept this License in order to receive or run
+a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+#### 10. Automatic Licensing of Downstream Recipients.
+
+Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+#### 11. Patents.
+
+A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+A contributor's "essential patent claims" are all patent claims owned
+or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+A patent license is "discriminatory" if it does not include within the
+scope of its coverage, prohibits the exercise of, or is conditioned on
+the non-exercise of one or more of the rights that are specifically
+granted under this License. You may not convey a covered work if you
+are a party to an arrangement with a third party that is in the
+business of distributing software, under which you make payment to the
+third party based on the extent of your activity of conveying the
+work, and under which the third party grants, to any of the parties
+who would receive the covered work from you, a discriminatory patent
+license (a) in connection with copies of the covered work conveyed by
+you (or copies made from those copies), or (b) primarily for and in
+connection with specific products or compilations that contain the
+covered work, unless you entered into that arrangement, or that patent
+license was granted, prior to 28 March 2007.
+
+Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+#### 12. No Surrender of Others' Freedom.
+
+If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under
+this License and any other pertinent obligations, then as a
+consequence you may not convey it at all. For example, if you agree to
+terms that obligate you to collect a royalty for further conveying
+from those to whom you convey the Program, the only way you could
+satisfy both those terms and this License would be to refrain entirely
+from conveying the Program.
+
+#### 13. Use with the GNU Affero General Public License.
+
+Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+#### 14. Revised Versions of this License.
+
+The Free Software Foundation may publish revised and/or new versions
+of the GNU General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in
+detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies that a certain numbered version of the GNU General Public
+License "or any later version" applies to it, you have the option of
+following the terms and conditions either of that numbered version or
+of any later version published by the Free Software Foundation. If the
+Program does not specify a version number of the GNU General Public
+License, you may choose any version ever published by the Free
+Software Foundation.
+
+If the Program specifies that a proxy can decide which future versions
+of the GNU General Public License can be used, that proxy's public
+statement of acceptance of a version permanently authorizes you to
+choose that version for the Program.
+
+Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+#### 15. Disclaimer of Warranty.
+
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
+WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
+PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
+DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
+CORRECTION.
+
+#### 16. Limitation of Liability.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
+CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
+ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
+NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
+LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
+TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
+PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+#### 17. Interpretation of Sections 15 and 16.
+
+If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+END OF TERMS AND CONDITIONS
+
+### How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively state
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper
+mail.
+
+If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands \`show w' and \`show c' should show the
+appropriate parts of the General Public License. Of course, your
+program's commands might be different; for a GUI interface, you would
+use an "about box".
+
+You should also get your employer (if you work as a programmer) or
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. For more information on this, and how to apply and follow
+the GNU GPL, see <https://www.gnu.org/licenses/>.
+
+The GNU General Public License does not permit incorporating your
+program into proprietary programs. If your program is a subroutine
+library, you may consider it more useful to permit linking proprietary
+applications with the library. If this is what you want to do, use the
+GNU Lesser General Public License instead of this License. But first,
+please read <https://www.gnu.org/licenses/why-not-lgpl.html>.
diff --git a/PSync.pc.in b/PSync.pc.in
new file mode 100644
index 0000000..b50c7ac
--- /dev/null
+++ b/PSync.pc.in
@@ -0,0 +1,10 @@
+prefix=@PREFIX@
+libdir=@LIBDIR@
+includedir=@INCLUDEDIR@
+
+Name: PSync
+Description: PSync library
+Version: @VERSION@
+Libs: -L${libdir} -lPSync -lndn-cxx
+Cflags: -I${includedir}
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a8e8790
--- /dev/null
+++ b/README.md
@@ -0,0 +1,47 @@
+PSYNC - Partial and Full Synchronization Library for NDN
+========================================================
+
+If you are new to the NDN community of software generally, read the
+[Contributor's Guide](https://github.com/named-data/NFD/blob/master/CONTRIBUTING.md).
+
+PSync library implements the [PSync protocol](https://named-data.net/wp-content/uploads/2017/05/scalable_name-based_data_synchronization.pdf). It uses Invertible
+Bloom Lookup Table (IBLT), also known as Invertible Bloom Filter (IBF), to represent the state
+of a producer in partial sync mode and the state of a node in full sync mode. An IBF is a compact data
+structure where difference of two IBFs can be computed efficiently.
+In partial sync, PSync uses a Bloom Filter to represent the subscription of list of the consumer.
+PSync uses [ndn-cxx](https://github.com/named-data/ndn-cxx) library as NDN development
+library.
+
+PSync is an open source project licensed under GPL 3.0 (see `COPYING.md` for more
+detail). We highly welcome all contributions to the PSync code base, provided that
+they can licensed under GPL 3.0+ or other compatible license.
+
+Feedback
+--------
+
+Please submit any bugs or issues to the **PSync** issue tracker:
+
+* https://redmine.named-data.net/projects/psync
+
+Installation instructions
+-------------------------
+
+### Prerequisites
+
+Required:
+
+* [ndn-cxx and its dependencies](https://named-data.net/doc/ndn-cxx/)
+
+### Build
+
+To build PSync from the source:
+
+ ./waf configure
+ ./waf
+ sudo ./waf install
+
+To build on memory constrained platform, please use `./waf -j1` instead of `./waf`. The
+command will disable parallel compilation.
+
+If configured with tests: `./waf configure --with-tests`), the above commands will also
+generate unit tests in `./build/unit-tests`
\ No newline at end of file
diff --git a/docs/conf.py b/docs/conf.py
new file mode 100644
index 0000000..f27bd34
--- /dev/null
+++ b/docs/conf.py
@@ -0,0 +1,259 @@
+# -*- coding: utf-8 -*-
+#
+# PSync - Named Data Networking Forwarding Daemon documentation build configuration file, created by
+# sphinx-quickstart on Sun Apr 6 19:58:22 2014.
+#
+# This file is execfile()d with the current directory set to its
+# containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import sys
+import os
+import re
+import datetime
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+#sys.path.insert(0, os.path.abspath('.'))
+
+# -- General configuration ------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+# ones.
+extensions = [
+ 'sphinx.ext.todo',
+]
+
+def addExtensionIfExists(extension):
+ try:
+ __import__(extension)
+ extensions.append(extension)
+ except ImportError:
+ sys.stderr.write("Extension '%s' in not available. "
+ "Some documentation may not build correctly.\n" % extension)
+ sys.stderr.write("To install, use \n"
+ " sudo pip install %s\n" % extension.replace('.', '-'))
+
+if sys.version_info[0] >= 3:
+ addExtensionIfExists('sphinxcontrib.doxylink')
+
+# sphinxcontrib.googleanalytics is currently not working with the latest version of sphinx
+# if os.getenv('GOOGLE_ANALYTICS', None):
+# addExtensionIfExists('sphinxcontrib.googleanalytics')
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+#source_encoding = 'utf-8-sig'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'PSync: A Synchronization Protocol in NDN'
+copyright = u'{}, Named Data Networking Project'.format(datetime.date.today().year)
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+#today = ''
+# Else, today_fmt is used as the format for a strftime call.
+#today_fmt = '%B %d, %Y'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+exclude_patterns = []
+
+# The reST default role (used for this markup: `text`) to use for all
+# documents.
+#default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+#add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+#add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+#show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# A list of ignored prefixes for module index sorting.
+#modindex_common_prefix = []
+
+# If true, keep warnings as "system message" paragraphs in the built documents.
+#keep_warnings = False
+
+
+# -- Options for HTML output ----------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+# html_theme = 'default'
+html_theme = 'named_data_theme'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+#html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+html_theme_path = ['./']
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# "<project> v<release> documentation".
+#html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+#html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+#html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+#html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+# html_static_path = ['_static']
+
+# Add any extra paths that contain custom files (such as robots.txt or
+# .htaccess) here, relative to this directory. These files are copied
+# directly to the root of the documentation.
+#html_extra_path = []
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+#html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+#html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+#html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+#html_additional_pages = {}
+
+# If false, no module index is generated.
+#html_domain_indices = True
+
+# If false, no index is generated.
+#html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+#html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+#html_show_sourcelink = True
+
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
+#html_show_sphinx = True
+
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
+#html_show_copyright = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+#html_use_opensearch = ''
+
+# This is the file name suffix for HTML files (e.g. ".xhtml").
+html_file_suffix = ".html"
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'PSync-docs'
+
+
+# -- Options for LaTeX output ---------------------------------------------
+
+latex_elements = {
+# The paper size ('letterpaper' or 'a4paper').
+#'papersize': 'letterpaper',
+
+# The font size ('10pt', '11pt' or '12pt').
+#'pointsize': '10pt',
+
+# Additional stuff for the LaTeX preamble.
+#'preamble': '',
+}
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title,
+# author, documentclass [howto, manual, or own class]).
+latex_documents = [
+ ('index', 'PSync-docs.tex', u'Full/Partial Synchronization Protocol in NDN',
+ u'Named Data Networking Project', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+#latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+#latex_use_parts = False
+
+# If true, show page references after internal links.
+#latex_show_pagerefs = False
+
+# If true, show URL addresses after external links.
+#latex_show_urls = False
+
+# Documents to append as an appendix to all manuals.
+#latex_appendices = []
+
+# If false, no module index is generated.
+#latex_domain_indices = True
+
+
+# -- Options for manual page output ---------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+]
+
+
+# If true, show URL addresses after external links.
+man_show_urls = True
+
+
+# ---- Custom options --------
+
+doxylink = {
+ 'PSync' : ('PSync.tag', 'doxygen/'),
+}
+
+if os.getenv('GOOGLE_ANALYTICS', None):
+ googleanalytics_id = os.environ['GOOGLE_ANALYTICS']
+ googleanalytics_enabled = True
+
+exclude_patterns = ['RELEASE_NOTES.rst']
diff --git a/docs/doxygen.conf.in b/docs/doxygen.conf.in
new file mode 100644
index 0000000..44453eb
--- /dev/null
+++ b/docs/doxygen.conf.in
@@ -0,0 +1,2446 @@
+# Doxyfile 1.8.13
+
+# This file describes the settings to be used by the documentation system
+# doxygen (www.doxygen.org) for a project.
+#
+# All text after a double hash (##) is considered a comment and is placed in
+# front of the TAG it is preceding.
+#
+# All text after a single hash (#) is considered a comment and will be ignored.
+# The format is:
+# TAG = value [value, ...]
+# For lists, items can also be appended using:
+# TAG += value [value, ...]
+# Values that contain spaces should be placed between quotes (\" \").
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+
+# This tag specifies the encoding used for all characters in the config file
+# that follow. The default is UTF-8 which is also the encoding used for all text
+# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
+# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
+# for the list of possible encodings.
+# The default value is: UTF-8.
+
+DOXYFILE_ENCODING = UTF-8
+
+# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
+# double-quotes, unless you are using Doxywizard) that should identify the
+# project for which the documentation is generated. This name is used in the
+# title of most generated pages and in a few other places.
+# The default value is: My Project.
+
+PROJECT_NAME = "PSync"
+
+# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
+# could be handy for archiving the generated documentation or if some version
+# control system is used.
+
+PROJECT_NUMBER = @VERSION@
+
+# Using the PROJECT_BRIEF tag one can provide an optional one line description
+# for a project that appears at the top of each page and should give viewer a
+# quick idea about the purpose of the project. Keep the description short.
+
+PROJECT_BRIEF =
+
+# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
+# in the documentation. The maximum height of the logo should not exceed 55
+# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
+# the logo to the output directory.
+
+PROJECT_LOGO =
+
+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
+# into which the generated documentation will be written. If a relative path is
+# entered, it will be relative to the location where doxygen was started. If
+# left blank the current directory will be used.
+
+OUTPUT_DIRECTORY = docs/doxygen
+
+# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
+# directories (in 2 levels) under the output directory of each output format and
+# will distribute the generated files over these directories. Enabling this
+# option can be useful when feeding doxygen a huge amount of source files, where
+# putting all generated files in the same directory would otherwise causes
+# performance problems for the file system.
+# The default value is: NO.
+
+CREATE_SUBDIRS = YES
+
+# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
+# characters to appear in the names of generated files. If set to NO, non-ASCII
+# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
+# U+3044.
+# The default value is: NO.
+
+ALLOW_UNICODE_NAMES = NO
+
+# The OUTPUT_LANGUAGE tag is used to specify the language in which all
+# documentation generated by doxygen is written. Doxygen will use this
+# information to generate all constant output in the proper language.
+# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
+# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
+# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
+# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
+# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
+# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
+# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
+# Ukrainian and Vietnamese.
+# The default value is: English.
+
+OUTPUT_LANGUAGE = English
+
+# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
+# descriptions after the members that are listed in the file and class
+# documentation (similar to Javadoc). Set to NO to disable this.
+# The default value is: YES.
+
+BRIEF_MEMBER_DESC = YES
+
+# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief
+# description of a member or function before the detailed description
+#
+# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
+# brief descriptions will be completely suppressed.
+# The default value is: YES.
+
+REPEAT_BRIEF = YES
+
+# This tag implements a quasi-intelligent brief description abbreviator that is
+# used to form the text in various listings. Each string in this list, if found
+# as the leading text of the brief description, will be stripped from the text
+# and the result, after processing the whole list, is used as the annotated
+# text. Otherwise, the brief description is used as-is. If left blank, the
+# following values are used ($name is automatically replaced with the name of
+# the entity):The $name class, The $name widget, The $name file, is, provides,
+# specifies, contains, represents, a, an and the.
+
+ABBREVIATE_BRIEF =
+
+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
+# doxygen will generate a detailed section even if there is only a brief
+# description.
+# The default value is: NO.
+
+ALWAYS_DETAILED_SEC = NO
+
+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
+# inherited members of a class in the documentation of that class as if those
+# members were ordinary class members. Constructors, destructors and assignment
+# operators of the base classes will not be shown.
+# The default value is: NO.
+
+INLINE_INHERITED_MEMB = YES
+
+# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
+# before files name in the file list and in the header files. If set to NO the
+# shortest path that makes the file name unique will be used
+# The default value is: YES.
+
+FULL_PATH_NAMES = NO
+
+# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
+# Stripping is only done if one of the specified strings matches the left-hand
+# part of the path. The tag can be used to show relative paths in the file list.
+# If left blank the directory from which doxygen is run is used as the path to
+# strip.
+#
+# Note that you can specify absolute paths here, but also relative paths, which
+# will be relative from the directory where doxygen is started.
+# This tag requires that the tag FULL_PATH_NAMES is set to YES.
+
+STRIP_FROM_PATH =
+
+# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
+# path mentioned in the documentation of a class, which tells the reader which
+# header file to include in order to use a class. If left blank only the name of
+# the header file containing the class definition is used. Otherwise one should
+# specify the list of include paths that are normally passed to the compiler
+# using the -I flag.
+
+STRIP_FROM_INC_PATH =
+
+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
+# less readable) file names. This can be useful is your file systems doesn't
+# support long names like on DOS, Mac, or CD-ROM.
+# The default value is: NO.
+
+SHORT_NAMES = NO
+
+# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
+# first line (until the first dot) of a Javadoc-style comment as the brief
+# description. If set to NO, the Javadoc-style will behave just like regular Qt-
+# style comments (thus requiring an explicit @brief command for a brief
+# description.)
+# The default value is: NO.
+
+JAVADOC_AUTOBRIEF = NO
+
+# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
+# line (until the first dot) of a Qt-style comment as the brief description. If
+# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
+# requiring an explicit \brief command for a brief description.)
+# The default value is: NO.
+
+QT_AUTOBRIEF = NO
+
+# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
+# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
+# a brief description. This used to be the default behavior. The new default is
+# to treat a multi-line C++ comment block as a detailed description. Set this
+# tag to YES if you prefer the old behavior instead.
+#
+# Note that setting this tag to YES also means that rational rose comments are
+# not recognized any more.
+# The default value is: NO.
+
+MULTILINE_CPP_IS_BRIEF = NO
+
+# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
+# documentation from any documented member that it re-implements.
+# The default value is: YES.
+
+INHERIT_DOCS = YES
+
+# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new
+# page for each member. If set to NO, the documentation of a member will be part
+# of the file/class/namespace that contains it.
+# The default value is: NO.
+
+SEPARATE_MEMBER_PAGES = NO
+
+# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
+# uses this value to replace tabs by spaces in code fragments.
+# Minimum value: 1, maximum value: 16, default value: 4.
+
+TAB_SIZE = 4
+
+# This tag can be used to specify a number of aliases that act as commands in
+# the documentation. An alias has the form:
+# name=value
+# For example adding
+# "sideeffect=@par Side Effects:\n"
+# will allow you to put the command \sideeffect (or @sideeffect) in the
+# documentation, which will result in a user-defined paragraph with heading
+# "Side Effects:". You can put \n's in the value part of an alias to insert
+# newlines.
+
+ALIASES =
+
+# This tag can be used to specify a number of word-keyword mappings (TCL only).
+# A mapping has the form "name=value". For example adding "class=itcl::class"
+# will allow you to use the command class in the itcl::class meaning.
+
+TCL_SUBST =
+
+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
+# only. Doxygen will then generate output that is more tailored for C. For
+# instance, some of the names that are used will be different. The list of all
+# members will be omitted, etc.
+# The default value is: NO.
+
+OPTIMIZE_OUTPUT_FOR_C = NO
+
+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
+# Python sources only. Doxygen will then generate output that is more tailored
+# for that language. For instance, namespaces will be presented as packages,
+# qualified scopes will look different, etc.
+# The default value is: NO.
+
+OPTIMIZE_OUTPUT_JAVA = NO
+
+# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
+# sources. Doxygen will then generate output that is tailored for Fortran.
+# The default value is: NO.
+
+OPTIMIZE_FOR_FORTRAN = NO
+
+# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
+# sources. Doxygen will then generate output that is tailored for VHDL.
+# The default value is: NO.
+
+OPTIMIZE_OUTPUT_VHDL = NO
+
+# Doxygen selects the parser to use depending on the extension of the files it
+# parses. With this tag you can assign which parser to use for a given
+# extension. Doxygen has a built-in mapping, but you can override or extend it
+# using this tag. The format is ext=language, where ext is a file extension, and
+# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
+# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
+# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
+# Fortran. In the later case the parser tries to guess whether the code is fixed
+# or free formatted code, this is the default for Fortran type files), VHDL. For
+# instance to make doxygen treat .inc files as Fortran files (default is PHP),
+# and .f files as C (default is Fortran), use: inc=Fortran f=C.
+#
+# Note: For files without extension you can use no_extension as a placeholder.
+#
+# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
+# the files are not read by doxygen.
+
+EXTENSION_MAPPING =
+
+# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
+# according to the Markdown format, which allows for more readable
+# documentation. See http://daringfireball.net/projects/markdown/ for details.
+# The output of markdown processing is further processed by doxygen, so you can
+# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
+# case of backward compatibilities issues.
+# The default value is: YES.
+
+MARKDOWN_SUPPORT = YES
+
+# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up
+# to that level are automatically included in the table of contents, even if
+# they do not have an id attribute.
+# Note: This feature currently applies only to Markdown headings.
+# Minimum value: 0, maximum value: 99, default value: 0.
+# This tag requires that the tag MARKDOWN_SUPPORT is set to YES.
+
+# TOC_INCLUDE_HEADINGS = 0
+
+# When enabled doxygen tries to link words that correspond to documented
+# classes, or namespaces to their corresponding documentation. Such a link can
+# be prevented in individual cases by putting a % sign in front of the word or
+# globally by setting AUTOLINK_SUPPORT to NO.
+# The default value is: YES.
+
+AUTOLINK_SUPPORT = YES
+
+# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
+# to include (a tag file for) the STL sources as input, then you should set this
+# tag to YES in order to let doxygen match functions declarations and
+# definitions whose arguments contain STL classes (e.g. func(std::string);
+# versus func(std::string) {}). This also make the inheritance and collaboration
+# diagrams that involve STL classes more complete and accurate.
+# The default value is: NO.
+
+BUILTIN_STL_SUPPORT = YES
+
+# If you use Microsoft's C++/CLI language, you should set this option to YES to
+# enable parsing support.
+# The default value is: NO.
+
+CPP_CLI_SUPPORT = NO
+
+# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
+# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
+# will parse them like normal C++ but will assume all classes use public instead
+# of private inheritance when no explicit protection keyword is present.
+# The default value is: NO.
+
+SIP_SUPPORT = NO
+
+# For Microsoft's IDL there are propget and propput attributes to indicate
+# getter and setter methods for a property. Setting this option to YES will make
+# doxygen to replace the get and set methods by a property in the documentation.
+# This will only work if the methods are indeed getting or setting a simple
+# type. If this is not the case, or you want to show the methods anyway, you
+# should set this option to NO.
+# The default value is: YES.
+
+IDL_PROPERTY_SUPPORT = YES
+
+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
+# tag is set to YES then doxygen will reuse the documentation of the first
+# member in the group (if any) for the other members of the group. By default
+# all members of a group must be documented explicitly.
+# The default value is: NO.
+
+DISTRIBUTE_GROUP_DOC = NO
+
+# If one adds a struct or class to a group and this option is enabled, then also
+# any nested class or struct is added to the same group. By default this option
+# is disabled and one has to add nested compounds explicitly via \ingroup.
+# The default value is: NO.
+
+GROUP_NESTED_COMPOUNDS = YES
+
+# Set the SUBGROUPING tag to YES to allow class member groups of the same type
+# (for instance a group of public functions) to be put as a subgroup of that
+# type (e.g. under the Public Functions section). Set it to NO to prevent
+# subgrouping. Alternatively, this can be done per class using the
+# \nosubgrouping command.
+# The default value is: YES.
+
+SUBGROUPING = YES
+
+# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
+# are shown inside the group in which they are included (e.g. using \ingroup)
+# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
+# and RTF).
+#
+# Note that this feature does not work in combination with
+# SEPARATE_MEMBER_PAGES.
+# The default value is: NO.
+
+INLINE_GROUPED_CLASSES = NO
+
+# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
+# with only public data fields or simple typedef fields will be shown inline in
+# the documentation of the scope in which they are defined (i.e. file,
+# namespace, or group documentation), provided this scope is documented. If set
+# to NO, structs, classes, and unions are shown on a separate page (for HTML and
+# Man pages) or section (for LaTeX and RTF).
+# The default value is: NO.
+
+INLINE_SIMPLE_STRUCTS = NO
+
+# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
+# enum is documented as struct, union, or enum with the name of the typedef. So
+# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
+# with name TypeT. When disabled the typedef will appear as a member of a file,
+# namespace, or class. And the struct will be named TypeS. This can typically be
+# useful for C code in case the coding convention dictates that all compound
+# types are typedef'ed and only the typedef is referenced, never the tag name.
+# The default value is: NO.
+
+TYPEDEF_HIDES_STRUCT = NO
+
+# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
+# cache is used to resolve symbols given their name and scope. Since this can be
+# an expensive process and often the same symbol appears multiple times in the
+# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
+# doxygen will become slower. If the cache is too large, memory is wasted. The
+# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
+# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
+# symbols. At the end of a run doxygen will report the cache usage and suggest
+# the optimal cache size from a speed point of view.
+# Minimum value: 0, maximum value: 9, default value: 0.
+
+LOOKUP_CACHE_SIZE = 0
+
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+
+# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in
+# documentation are documented, even if no documentation was available. Private
+# class members and static file members will be hidden unless the
+# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
+# Note: This will also disable the warnings about undocumented members that are
+# normally produced when WARNINGS is set to YES.
+# The default value is: NO.
+
+EXTRACT_ALL = YES
+
+# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
+# be included in the documentation.
+# The default value is: NO.
+
+EXTRACT_PRIVATE = NO
+
+# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal
+# scope will be included in the documentation.
+# The default value is: NO.
+
+EXTRACT_PACKAGE = NO
+
+# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
+# included in the documentation.
+# The default value is: NO.
+
+EXTRACT_STATIC = YES
+
+# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
+# locally in source files will be included in the documentation. If set to NO,
+# only classes defined in header files are included. Does not have any effect
+# for Java sources.
+# The default value is: YES.
+
+EXTRACT_LOCAL_CLASSES = YES
+
+# This flag is only useful for Objective-C code. If set to YES, local methods,
+# which are defined in the implementation section but not in the interface are
+# included in the documentation. If set to NO, only methods in the interface are
+# included.
+# The default value is: NO.
+
+EXTRACT_LOCAL_METHODS = NO
+
+# If this flag is set to YES, the members of anonymous namespaces will be
+# extracted and appear in the documentation as a namespace called
+# 'anonymous_namespace{file}', where file will be replaced with the base name of
+# the file that contains the anonymous namespace. By default anonymous namespace
+# are hidden.
+# The default value is: NO.
+
+EXTRACT_ANON_NSPACES = NO
+
+# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
+# undocumented members inside documented classes or files. If set to NO these
+# members will be included in the various overviews, but no documentation
+# section is generated. This option has no effect if EXTRACT_ALL is enabled.
+# The default value is: NO.
+
+HIDE_UNDOC_MEMBERS = NO
+
+# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
+# undocumented classes that are normally visible in the class hierarchy. If set
+# to NO, these classes will be included in the various overviews. This option
+# has no effect if EXTRACT_ALL is enabled.
+# The default value is: NO.
+
+HIDE_UNDOC_CLASSES = NO
+
+# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
+# (class|struct|union) declarations. If set to NO, these declarations will be
+# included in the documentation.
+# The default value is: NO.
+
+HIDE_FRIEND_COMPOUNDS = NO
+
+# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
+# documentation blocks found inside the body of a function. If set to NO, these
+# blocks will be appended to the function's detailed documentation block.
+# The default value is: NO.
+
+HIDE_IN_BODY_DOCS = NO
+
+# The INTERNAL_DOCS tag determines if documentation that is typed after a
+# \internal command is included. If the tag is set to NO then the documentation
+# will be excluded. Set it to YES to include the internal documentation.
+# The default value is: NO.
+
+INTERNAL_DOCS = NO
+
+# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
+# names in lower-case letters. If set to YES, upper-case letters are also
+# allowed. This is useful if you have classes or files whose names only differ
+# in case and if your file system supports case sensitive file names. Windows
+# and Mac users are advised to set this option to NO.
+# The default value is: system dependent.
+
+CASE_SENSE_NAMES = YES
+
+# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
+# their full class and namespace scopes in the documentation. If set to YES, the
+# scope will be hidden.
+# The default value is: NO.
+
+HIDE_SCOPE_NAMES = NO
+
+# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will
+# append additional text to a page's title, such as Class Reference. If set to
+# YES the compound reference will be hidden.
+# The default value is: NO.
+
+HIDE_COMPOUND_REFERENCE= NO
+
+# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
+# the files that are included by a file in the documentation of that file.
+# The default value is: YES.
+
+SHOW_INCLUDE_FILES = YES
+
+# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
+# grouped member an include statement to the documentation, telling the reader
+# which file to include in order to use the member.
+# The default value is: NO.
+
+SHOW_GROUPED_MEMB_INC = NO
+
+# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
+# files with double quotes in the documentation rather than with sharp brackets.
+# The default value is: NO.
+
+FORCE_LOCAL_INCLUDES = NO
+
+# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
+# documentation for inline members.
+# The default value is: YES.
+
+INLINE_INFO = YES
+
+# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
+# (detailed) documentation of file and class members alphabetically by member
+# name. If set to NO, the members will appear in declaration order.
+# The default value is: YES.
+
+SORT_MEMBER_DOCS = YES
+
+# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
+# descriptions of file, namespace and class members alphabetically by member
+# name. If set to NO, the members will appear in declaration order. Note that
+# this will also influence the order of the classes in the class list.
+# The default value is: NO.
+
+SORT_BRIEF_DOCS = YES
+
+# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
+# (brief and detailed) documentation of class members so that constructors and
+# destructors are listed first. If set to NO the constructors will appear in the
+# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
+# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
+# member documentation.
+# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
+# detailed member documentation.
+# The default value is: NO.
+
+SORT_MEMBERS_CTORS_1ST = YES
+
+# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
+# of group names into alphabetical order. If set to NO the group names will
+# appear in their defined order.
+# The default value is: NO.
+
+SORT_GROUP_NAMES = YES
+
+# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
+# fully-qualified names, including namespaces. If set to NO, the class list will
+# be sorted only by class name, not including the namespace part.
+# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
+# Note: This option applies only to the class list, not to the alphabetical
+# list.
+# The default value is: NO.
+
+SORT_BY_SCOPE_NAME = NO
+
+# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
+# type resolution of all parameters of a function it will reject a match between
+# the prototype and the implementation of a member function even if there is
+# only one candidate or it is obvious which candidate to choose by doing a
+# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
+# accept a match between prototype and implementation in such cases.
+# The default value is: NO.
+
+STRICT_PROTO_MATCHING = NO
+
+# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
+# list. This list is created by putting \todo commands in the documentation.
+# The default value is: YES.
+
+GENERATE_TODOLIST = YES
+
+# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
+# list. This list is created by putting \test commands in the documentation.
+# The default value is: YES.
+
+GENERATE_TESTLIST = YES
+
+# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
+# list. This list is created by putting \bug commands in the documentation.
+# The default value is: YES.
+
+GENERATE_BUGLIST = YES
+
+# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
+# the deprecated list. This list is created by putting \deprecated commands in
+# the documentation.
+# The default value is: YES.
+
+GENERATE_DEPRECATEDLIST= YES
+
+# The ENABLED_SECTIONS tag can be used to enable conditional documentation
+# sections, marked by \if <section_label> ... \endif and \cond <section_label>
+# ... \endcond blocks.
+
+ENABLED_SECTIONS =
+
+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
+# initial value of a variable or macro / define can have for it to appear in the
+# documentation. If the initializer consists of more lines than specified here
+# it will be hidden. Use a value of 0 to hide initializers completely. The
+# appearance of the value of individual variables and macros / defines can be
+# controlled using \showinitializer or \hideinitializer command in the
+# documentation regardless of this setting.
+# Minimum value: 0, maximum value: 10000, default value: 30.
+
+MAX_INITIALIZER_LINES = 30
+
+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
+# the bottom of the documentation of classes and structs. If set to YES, the
+# list will mention the files that were used to generate the documentation.
+# The default value is: YES.
+
+SHOW_USED_FILES = NO
+
+# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
+# will remove the Files entry from the Quick Index and from the Folder Tree View
+# (if specified).
+# The default value is: YES.
+
+SHOW_FILES = YES
+
+# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
+# page. This will remove the Namespaces entry from the Quick Index and from the
+# Folder Tree View (if specified).
+# The default value is: YES.
+
+SHOW_NAMESPACES = YES
+
+# The FILE_VERSION_FILTER tag can be used to specify a program or script that
+# doxygen should invoke to get the current version for each file (typically from
+# the version control system). Doxygen will invoke the program by executing (via
+# popen()) the command command input-file, where command is the value of the
+# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
+# by doxygen. Whatever the program writes to standard output is used as the file
+# version. For an example see the documentation.
+
+FILE_VERSION_FILTER =
+
+# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
+# by doxygen. The layout file controls the global structure of the generated
+# output files in an output format independent way. To create the layout file
+# that represents doxygen's defaults, run doxygen with the -l option. You can
+# optionally specify a file name after the option, if omitted DoxygenLayout.xml
+# will be used as the name of the layout file.
+#
+# Note that if you run doxygen from a directory containing a file called
+# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
+# tag is left empty.
+
+LAYOUT_FILE =
+
+# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
+# the reference definitions. This must be a list of .bib files. The .bib
+# extension is automatically appended if omitted. This requires the bibtex tool
+# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
+# For LaTeX the style of the bibliography can be controlled using
+# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
+# search path. See also \cite for info how to create references.
+
+CITE_BIB_FILES =
+
+#---------------------------------------------------------------------------
+# Configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+
+# The QUIET tag can be used to turn on/off the messages that are generated to
+# standard output by doxygen. If QUIET is set to YES this implies that the
+# messages are off.
+# The default value is: NO.
+
+QUIET = YES
+
+# The WARNINGS tag can be used to turn on/off the warning messages that are
+# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
+# this implies that the warnings are on.
+#
+# Tip: Turn warnings on while writing the documentation.
+# The default value is: YES.
+
+WARNINGS = YES
+
+# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
+# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
+# will automatically be disabled.
+# The default value is: YES.
+
+WARN_IF_UNDOCUMENTED = YES
+
+# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
+# potential errors in the documentation, such as not documenting some parameters
+# in a documented function, or documenting parameters that don't exist or using
+# markup commands wrongly.
+# The default value is: YES.
+
+WARN_IF_DOC_ERROR = YES
+
+# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
+# are documented, but have no documentation for their parameters or return
+# value. If set to NO, doxygen will only warn about wrong or incomplete
+# parameter documentation, but not about the absence of documentation.
+# The default value is: NO.
+
+WARN_NO_PARAMDOC = YES
+
+# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when
+# a warning is encountered.
+# The default value is: NO.
+
+WARN_AS_ERROR = NO
+
+# The WARN_FORMAT tag determines the format of the warning messages that doxygen
+# can produce. The string should contain the $file, $line, and $text tags, which
+# will be replaced by the file and line number from which the warning originated
+# and the warning text. Optionally the format may contain $version, which will
+# be replaced by the version of the file (if it could be obtained via
+# FILE_VERSION_FILTER)
+# The default value is: $file:$line: $text.
+
+WARN_FORMAT = "$file:$line: $text"
+
+# The WARN_LOGFILE tag can be used to specify a file to which warning and error
+# messages should be written. If left blank the output is written to standard
+# error (stderr).
+
+WARN_LOGFILE =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the input files
+#---------------------------------------------------------------------------
+
+# The INPUT tag is used to specify the files and/or directories that contain
+# documented source files. You may enter file names like myfile.cpp or
+# directories like /usr/src/myproject. Separate the files or directories with
+# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
+# Note: If this tag is empty the current directory is searched.
+
+INPUT = src
+
+# This tag can be used to specify the character encoding of the source files
+# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
+# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
+# documentation (see: http://www.gnu.org/software/libiconv) for the list of
+# possible encodings.
+# The default value is: UTF-8.
+
+INPUT_ENCODING = UTF-8
+
+# If the value of the INPUT tag contains directories, you can use the
+# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
+# *.h) to filter out the source-files in the directories.
+#
+# Note that for custom extensions or not directly supported extensions you also
+# need to set EXTENSION_MAPPING for the extension otherwise the files are not
+# read by doxygen.
+#
+# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp,
+# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h,
+# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc,
+# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08,
+# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf.
+
+FILE_PATTERNS =
+
+# The RECURSIVE tag can be used to specify whether or not subdirectories should
+# be searched for input files as well.
+# The default value is: NO.
+
+RECURSIVE = YES
+
+# The EXCLUDE tag can be used to specify files and/or directories that should be
+# excluded from the INPUT source files. This way you can easily exclude a
+# subdirectory from a directory tree whose root is specified with the INPUT tag.
+#
+# Note that relative paths are relative to the directory from which doxygen is
+# run.
+
+EXCLUDE =
+
+# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
+# directories that are symbolic links (a Unix file system feature) are excluded
+# from the input.
+# The default value is: NO.
+
+EXCLUDE_SYMLINKS = NO
+
+# If the value of the INPUT tag contains directories, you can use the
+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
+# certain files from those directories.
+#
+# Note that the wildcards are matched against the file with absolute path, so to
+# exclude all test directories for example use the pattern */test/*
+
+EXCLUDE_PATTERNS =
+
+# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
+# (namespaces, classes, functions, etc.) that should be excluded from the
+# output. The symbol name can be a fully qualified name, a word, or if the
+# wildcard * is used, a substring. Examples: ANamespace, AClass,
+# AClass::ANamespace, ANamespace::*Test
+#
+# Note that the wildcards are matched against the file with absolute path, so to
+# exclude all test directories use the pattern */test/*
+
+EXCLUDE_SYMBOLS =
+
+# The EXAMPLE_PATH tag can be used to specify one or more files or directories
+# that contain example code fragments that are included (see the \include
+# command).
+
+EXAMPLE_PATH =
+
+# If the value of the EXAMPLE_PATH tag contains directories, you can use the
+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
+# *.h) to filter out the source-files in the directories. If left blank all
+# files are included.
+
+EXAMPLE_PATTERNS =
+
+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
+# searched for input files to be used with the \include or \dontinclude commands
+# irrespective of the value of the RECURSIVE tag.
+# The default value is: NO.
+
+EXAMPLE_RECURSIVE = NO
+
+# The IMAGE_PATH tag can be used to specify one or more files or directories
+# that contain images that are to be included in the documentation (see the
+# \image command).
+
+IMAGE_PATH =
+
+# The INPUT_FILTER tag can be used to specify a program that doxygen should
+# invoke to filter for each input file. Doxygen will invoke the filter program
+# by executing (via popen()) the command:
+#
+# <filter> <input-file>
+#
+# where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the
+# name of an input file. Doxygen will then use the output that the filter
+# program writes to standard output. If FILTER_PATTERNS is specified, this tag
+# will be ignored.
+#
+# Note that the filter must not add or remove lines; it is applied before the
+# code is scanned, but not when the output code is generated. If lines are added
+# or removed, the anchors will not be placed correctly.
+#
+# Note that for custom extensions or not directly supported extensions you also
+# need to set EXTENSION_MAPPING for the extension otherwise the files are not
+# properly processed by doxygen.
+
+INPUT_FILTER =
+
+# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
+# basis. Doxygen will compare the file name with each pattern and apply the
+# filter if there is a match. The filters are a list of the form: pattern=filter
+# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
+# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
+# patterns match the file name, INPUT_FILTER is applied.
+#
+# Note that for custom extensions or not directly supported extensions you also
+# need to set EXTENSION_MAPPING for the extension otherwise the files are not
+# properly processed by doxygen.
+
+FILTER_PATTERNS =
+
+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
+# INPUT_FILTER) will also be used to filter the input files that are used for
+# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
+# The default value is: NO.
+
+FILTER_SOURCE_FILES = NO
+
+# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
+# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
+# it is also possible to disable source filtering for a specific pattern using
+# *.ext= (so without naming a filter).
+# This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
+
+FILTER_SOURCE_PATTERNS =
+
+# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
+# is part of the input, its contents will be placed on the main page
+# (index.html). This can be useful if you have a project on for instance GitHub
+# and want to reuse the introduction page also for the doxygen output.
+
+USE_MDFILE_AS_MAINPAGE =
+
+#---------------------------------------------------------------------------
+# Configuration options related to source browsing
+#---------------------------------------------------------------------------
+
+# If the SOURCE_BROWSER tag is set to YES then a list of source files will be
+# generated. Documented entities will be cross-referenced with these sources.
+#
+# Note: To get rid of all source code in the generated output, make sure that
+# also VERBATIM_HEADERS is set to NO.
+# The default value is: NO.
+
+SOURCE_BROWSER = YES
+
+# Setting the INLINE_SOURCES tag to YES will include the body of functions,
+# classes and enums directly into the documentation.
+# The default value is: NO.
+
+INLINE_SOURCES = NO
+
+# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
+# special comment blocks from generated source code fragments. Normal C, C++ and
+# Fortran comments will always remain visible.
+# The default value is: YES.
+
+STRIP_CODE_COMMENTS = YES
+
+# If the REFERENCED_BY_RELATION tag is set to YES then for each documented
+# function all documented functions referencing it will be listed.
+# The default value is: NO.
+
+REFERENCED_BY_RELATION = NO
+
+# If the REFERENCES_RELATION tag is set to YES then for each documented function
+# all documented entities called/used by that function will be listed.
+# The default value is: NO.
+
+REFERENCES_RELATION = NO
+
+# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
+# to YES then the hyperlinks from functions in REFERENCES_RELATION and
+# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
+# link to the documentation.
+# The default value is: YES.
+
+REFERENCES_LINK_SOURCE = YES
+
+# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
+# source code will show a tooltip with additional information such as prototype,
+# brief description and links to the definition and documentation. Since this
+# will make the HTML file larger and loading of large files a bit slower, you
+# can opt to disable this feature.
+# The default value is: YES.
+# This tag requires that the tag SOURCE_BROWSER is set to YES.
+
+SOURCE_TOOLTIPS = YES
+
+# If the USE_HTAGS tag is set to YES then the references to source code will
+# point to the HTML generated by the htags(1) tool instead of doxygen built-in
+# source browser. The htags tool is part of GNU's global source tagging system
+# (see http://www.gnu.org/software/global/global.html). You will need version
+# 4.8.6 or higher.
+#
+# To use it do the following:
+# - Install the latest version of global
+# - Enable SOURCE_BROWSER and USE_HTAGS in the config file
+# - Make sure the INPUT points to the root of the source tree
+# - Run doxygen as normal
+#
+# Doxygen will invoke htags (and that will in turn invoke gtags), so these
+# tools must be available from the command line (i.e. in the search path).
+#
+# The result: instead of the source browser generated by doxygen, the links to
+# source code will now point to the output of htags.
+# The default value is: NO.
+# This tag requires that the tag SOURCE_BROWSER is set to YES.
+
+USE_HTAGS = NO
+
+# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
+# verbatim copy of the header file for each class for which an include is
+# specified. Set to NO to disable this.
+# See also: Section \class.
+# The default value is: YES.
+
+VERBATIM_HEADERS = YES
+
+# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the
+# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the
+# cost of reduced performance. This can be particularly helpful with template
+# rich C++ code for which doxygen's built-in parser lacks the necessary type
+# information.
+# Note: The availability of this option depends on whether or not doxygen was
+# generated with the -Duse-libclang=ON option for CMake.
+# The default value is: NO.
+
+# CLANG_ASSISTED_PARSING = NO
+
+# If clang assisted parsing is enabled you can provide the compiler with command
+# line options that you would normally use when invoking the compiler. Note that
+# the include paths will already be set by doxygen for the files and directories
+# specified with INPUT and INCLUDE_PATH.
+# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES.
+
+# CLANG_OPTIONS =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+
+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
+# compounds will be generated. Enable this if the project contains a lot of
+# classes, structs, unions or interfaces.
+# The default value is: YES.
+
+ALPHABETICAL_INDEX = YES
+
+# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
+# which the alphabetical index list will be split.
+# Minimum value: 1, maximum value: 20, default value: 5.
+# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
+
+COLS_IN_ALPHA_INDEX = 5
+
+# In case all classes in a project start with a common prefix, all classes will
+# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
+# can be used to specify a prefix (or a list of prefixes) that should be ignored
+# while generating the index headers.
+# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
+
+IGNORE_PREFIX =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the HTML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
+# The default value is: YES.
+
+GENERATE_HTML = YES
+
+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it.
+# The default directory is: html.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_OUTPUT = ./
+
+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
+# generated HTML page (for example: .htm, .php, .asp).
+# The default value is: .html.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_FILE_EXTENSION = .html
+
+# The HTML_HEADER tag can be used to specify a user-defined HTML header file for
+# each generated HTML page. If the tag is left blank doxygen will generate a
+# standard header.
+#
+# To get valid HTML the header file that includes any scripts and style sheets
+# that doxygen needs, which is dependent on the configuration options used (e.g.
+# the setting GENERATE_TREEVIEW). It is highly recommended to start with a
+# default header using
+# doxygen -w html new_header.html new_footer.html new_stylesheet.css
+# YourConfigFile
+# and then modify the file new_header.html. See also section "Doxygen usage"
+# for information on how to generate the default header that doxygen normally
+# uses.
+# Note: The header is subject to change so you typically have to regenerate the
+# default header when upgrading to a newer version of doxygen. For a description
+# of the possible markers and block names see the documentation.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_HEADER = ../docs/named_data_theme/named_data_header.html
+
+# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
+# generated HTML page. If the tag is left blank doxygen will generate a standard
+# footer. See HTML_HEADER for more information on how to generate a default
+# footer and what special commands can be used inside the footer. See also
+# section "Doxygen usage" for information on how to generate the default footer
+# that doxygen normally uses.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_FOOTER = ../docs/named_data_theme/named_data_footer.html
+
+# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
+# sheet that is used by each HTML page. It can be used to fine-tune the look of
+# the HTML output. If left blank doxygen will generate a default style sheet.
+# See also section "Doxygen usage" for information on how to generate the style
+# sheet that doxygen normally uses.
+# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
+# it is more robust and this tag (HTML_STYLESHEET) will in the future become
+# obsolete.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_STYLESHEET = ../docs/named_data_theme/static/named_data_doxygen.css
+
+# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
+# cascading style sheets that are included after the standard style sheets
+# created by doxygen. Using this option one can overrule certain style aspects.
+# This is preferred over using HTML_STYLESHEET since it does not replace the
+# standard style sheet and is therefore more robust against future updates.
+# Doxygen will copy the style sheet files to the output directory.
+# Note: The order of the extra style sheet files is of importance (e.g. the last
+# style sheet in the list overrules the setting of the previous ones in the
+# list). For an example see the documentation.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_EXTRA_STYLESHEET =
+
+# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
+# other source files which should be copied to the HTML output directory. Note
+# that these files will be copied to the base HTML output directory. Use the
+# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
+# files. In the HTML_STYLESHEET file, use the file name only. Also note that the
+# files will be copied as-is; there are no commands or markers available.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_EXTRA_FILES = ../docs/named_data_theme/static/doxygen.css \
+ ../docs/named_data_theme/static/base.css \
+ ../docs/named_data_theme/static/foundation.css \
+ ../docs/named_data_theme/static/bar-top.png
+
+# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
+# will adjust the colors in the style sheet and background images according to
+# this color. Hue is specified as an angle on a colorwheel, see
+# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
+# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
+# purple, and 360 is red again.
+# Minimum value: 0, maximum value: 359, default value: 220.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_COLORSTYLE_HUE = 0
+
+# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
+# in the HTML output. For a value of 0 the output will use grayscales only. A
+# value of 255 will produce the most vivid colors.
+# Minimum value: 0, maximum value: 255, default value: 100.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_COLORSTYLE_SAT = 0
+
+# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
+# luminance component of the colors in the HTML output. Values below 100
+# gradually make the output lighter, whereas values above 100 make the output
+# darker. The value divided by 100 is the actual gamma applied, so 80 represents
+# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
+# change the gamma.
+# Minimum value: 40, maximum value: 240, default value: 80.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_COLORSTYLE_GAMMA = 91
+
+# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
+# page will contain the date and time when the page was generated. Setting this
+# to YES can help to show when doxygen was last run and thus if the
+# documentation is up to date.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_TIMESTAMP = YES
+
+# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
+# documentation will contain sections that can be hidden and shown after the
+# page has loaded.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_DYNAMIC_SECTIONS = YES
+
+# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
+# shown in the various tree structured indices initially; the user can expand
+# and collapse entries dynamically later on. Doxygen will expand the tree to
+# such a level that at most the specified number of entries are visible (unless
+# a fully collapsed tree already exceeds this amount). So setting the number of
+# entries 1 will produce a full collapsed tree by default. 0 is a special value
+# representing an infinite number of entries and will result in a full expanded
+# tree by default.
+# Minimum value: 0, maximum value: 9999, default value: 100.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_INDEX_NUM_ENTRIES = 100
+
+# If the GENERATE_DOCSET tag is set to YES, additional index files will be
+# generated that can be used as input for Apple's Xcode 3 integrated development
+# environment (see: http://developer.apple.com/tools/xcode/), introduced with
+# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
+# Makefile in the HTML output directory. Running make will produce the docset in
+# that directory and running make install will install the docset in
+# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
+# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
+# for more information.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_DOCSET = NO
+
+# This tag determines the name of the docset feed. A documentation feed provides
+# an umbrella under which multiple documentation sets from a single provider
+# (such as a company or product suite) can be grouped.
+# The default value is: Doxygen generated docs.
+# This tag requires that the tag GENERATE_DOCSET is set to YES.
+
+DOCSET_FEEDNAME = "Doxygen generated docs"
+
+# This tag specifies a string that should uniquely identify the documentation
+# set bundle. This should be a reverse domain-name style string, e.g.
+# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
+# The default value is: org.doxygen.Project.
+# This tag requires that the tag GENERATE_DOCSET is set to YES.
+
+DOCSET_BUNDLE_ID = org.doxygen.Project
+
+# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
+# the documentation publisher. This should be a reverse domain-name style
+# string, e.g. com.mycompany.MyDocSet.documentation.
+# The default value is: org.doxygen.Publisher.
+# This tag requires that the tag GENERATE_DOCSET is set to YES.
+
+DOCSET_PUBLISHER_ID = org.doxygen.Publisher
+
+# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
+# The default value is: Publisher.
+# This tag requires that the tag GENERATE_DOCSET is set to YES.
+
+DOCSET_PUBLISHER_NAME = Publisher
+
+# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
+# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
+# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
+# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
+# Windows.
+#
+# The HTML Help Workshop contains a compiler that can convert all HTML output
+# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
+# files are now used as the Windows 98 help format, and will replace the old
+# Windows help format (.hlp) on all Windows platforms in the future. Compressed
+# HTML files also contain an index, a table of contents, and you can search for
+# words in the documentation. The HTML workshop also contains a viewer for
+# compressed HTML files.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_HTMLHELP = NO
+
+# The CHM_FILE tag can be used to specify the file name of the resulting .chm
+# file. You can add a path in front of the file if the result should not be
+# written to the html output directory.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+CHM_FILE =
+
+# The HHC_LOCATION tag can be used to specify the location (absolute path
+# including file name) of the HTML help compiler (hhc.exe). If non-empty,
+# doxygen will try to run the HTML help compiler on the generated index.hhp.
+# The file has to be specified with full path.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+HHC_LOCATION =
+
+# The GENERATE_CHI flag controls if a separate .chi index file is generated
+# (YES) or that it should be included in the master .chm file (NO).
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+GENERATE_CHI = NO
+
+# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
+# and project file content.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+CHM_INDEX_ENCODING =
+
+# The BINARY_TOC flag controls whether a binary table of contents is generated
+# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it
+# enables the Previous and Next buttons.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+BINARY_TOC = NO
+
+# The TOC_EXPAND flag can be set to YES to add extra items for group members to
+# the table of contents of the HTML help documentation and to the tree view.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+TOC_EXPAND = NO
+
+# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
+# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
+# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
+# (.qch) of the generated HTML documentation.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_QHP = NO
+
+# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
+# the file name of the resulting .qch file. The path specified is relative to
+# the HTML output folder.
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QCH_FILE =
+
+# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
+# Project output. For more information please see Qt Help Project / Namespace
+# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
+# The default value is: org.doxygen.Project.
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_NAMESPACE = org.doxygen.Project
+
+# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
+# Help Project output. For more information please see Qt Help Project / Virtual
+# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
+# folders).
+# The default value is: doc.
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_VIRTUAL_FOLDER = doc
+
+# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
+# filter to add. For more information please see Qt Help Project / Custom
+# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
+# filters).
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_CUST_FILTER_NAME =
+
+# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
+# custom filter to add. For more information please see Qt Help Project / Custom
+# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
+# filters).
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_CUST_FILTER_ATTRS =
+
+# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
+# project's filter section matches. Qt Help Project / Filter Attributes (see:
+# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_SECT_FILTER_ATTRS =
+
+# The QHG_LOCATION tag can be used to specify the location of Qt's
+# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
+# generated .qhp file.
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHG_LOCATION =
+
+# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
+# generated, together with the HTML files, they form an Eclipse help plugin. To
+# install this plugin and make it available under the help contents menu in
+# Eclipse, the contents of the directory containing the HTML and XML files needs
+# to be copied into the plugins directory of eclipse. The name of the directory
+# within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
+# After copying Eclipse needs to be restarted before the help appears.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_ECLIPSEHELP = NO
+
+# A unique identifier for the Eclipse help plugin. When installing the plugin
+# the directory name containing the HTML and XML files should also have this
+# name. Each documentation set should have its own identifier.
+# The default value is: org.doxygen.Project.
+# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
+
+ECLIPSE_DOC_ID = org.doxygen.Project
+
+# If you want full control over the layout of the generated HTML pages it might
+# be necessary to disable the index and replace it with your own. The
+# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
+# of each HTML page. A value of NO enables the index and the value YES disables
+# it. Since the tabs in the index contain the same information as the navigation
+# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+DISABLE_INDEX = NO
+
+# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
+# structure should be generated to display hierarchical information. If the tag
+# value is set to YES, a side panel will be generated containing a tree-like
+# index structure (just like the one that is generated for HTML Help). For this
+# to work a browser that supports JavaScript, DHTML, CSS and frames is required
+# (i.e. any modern browser). Windows users are probably better off using the
+# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can
+# further fine-tune the look of the index. As an example, the default style
+# sheet generated by doxygen has an example that shows how to put an image at
+# the root of the tree instead of the PROJECT_NAME. Since the tree basically has
+# the same information as the tab index, you could consider setting
+# DISABLE_INDEX to YES when enabling this option.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_TREEVIEW = YES
+
+# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
+# doxygen will group on one line in the generated HTML documentation.
+#
+# Note that a value of 0 will completely suppress the enum values from appearing
+# in the overview section.
+# Minimum value: 0, maximum value: 20, default value: 4.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+ENUM_VALUES_PER_LINE = 1
+
+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
+# to set the initial width (in pixels) of the frame in which the tree is shown.
+# Minimum value: 0, maximum value: 1500, default value: 250.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+TREEVIEW_WIDTH = 250
+
+# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
+# external symbols imported via tag files in a separate window.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+EXT_LINKS_IN_WINDOW = NO
+
+# Use this tag to change the font size of LaTeX formulas included as images in
+# the HTML documentation. When you change the font size after a successful
+# doxygen run you need to manually remove any form_*.png images from the HTML
+# output directory to force them to be regenerated.
+# Minimum value: 8, maximum value: 50, default value: 10.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+FORMULA_FONTSIZE = 10
+
+# Use the FORMULA_TRANPARENT tag to determine whether or not the images
+# generated for formulas are transparent PNGs. Transparent PNGs are not
+# supported properly for IE 6.0, but are supported on all modern browsers.
+#
+# Note that when changing this option you need to delete any form_*.png files in
+# the HTML output directory before the changes have effect.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+FORMULA_TRANSPARENT = YES
+
+# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
+# http://www.mathjax.org) which uses client side Javascript for the rendering
+# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
+# installed or if you want to formulas look prettier in the HTML output. When
+# enabled you may also need to install MathJax separately and configure the path
+# to it using the MATHJAX_RELPATH option.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+USE_MATHJAX = NO
+
+# When MathJax is enabled you can set the default output format to be used for
+# the MathJax output. See the MathJax site (see:
+# http://docs.mathjax.org/en/latest/output.html) for more details.
+# Possible values are: HTML-CSS (which is slower, but has the best
+# compatibility), NativeMML (i.e. MathML) and SVG.
+# The default value is: HTML-CSS.
+# This tag requires that the tag USE_MATHJAX is set to YES.
+
+MATHJAX_FORMAT = HTML-CSS
+
+# When MathJax is enabled you need to specify the location relative to the HTML
+# output directory using the MATHJAX_RELPATH option. The destination directory
+# should contain the MathJax.js script. For instance, if the mathjax directory
+# is located at the same level as the HTML output directory, then
+# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
+# Content Delivery Network so you can quickly see the result without installing
+# MathJax. However, it is strongly recommended to install a local copy of
+# MathJax from http://www.mathjax.org before deployment.
+# The default value is: http://cdn.mathjax.org/mathjax/latest.
+# This tag requires that the tag USE_MATHJAX is set to YES.
+
+MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
+
+# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
+# extension names that should be enabled during MathJax rendering. For example
+# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
+# This tag requires that the tag USE_MATHJAX is set to YES.
+
+MATHJAX_EXTENSIONS =
+
+# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
+# of code that will be used on startup of the MathJax code. See the MathJax site
+# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
+# example see the documentation.
+# This tag requires that the tag USE_MATHJAX is set to YES.
+
+MATHJAX_CODEFILE =
+
+# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
+# the HTML output. The underlying search engine uses javascript and DHTML and
+# should work on any modern browser. Note that when using HTML help
+# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
+# there is already a search function so this one should typically be disabled.
+# For large projects the javascript based search engine can be slow, then
+# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
+# search using the keyboard; to jump to the search box use <access key> + S
+# (what the <access key> is depends on the OS and browser, but it is typically
+# <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down
+# key> to jump into the search results window, the results can be navigated
+# using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
+# the search. The filter options can be selected when the cursor is inside the
+# search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys>
+# to select a filter and <Enter> or <escape> to activate or cancel the filter
+# option.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+SEARCHENGINE = YES
+
+# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
+# implemented using a web server instead of a web client using Javascript. There
+# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
+# setting. When disabled, doxygen will generate a PHP script for searching and
+# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
+# and searching needs to be provided by external tools. See the section
+# "External Indexing and Searching" for details.
+# The default value is: NO.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+SERVER_BASED_SEARCH = NO
+
+# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
+# script for searching. Instead the search results are written to an XML file
+# which needs to be processed by an external indexer. Doxygen will invoke an
+# external search engine pointed to by the SEARCHENGINE_URL option to obtain the
+# search results.
+#
+# Doxygen ships with an example indexer (doxyindexer) and search engine
+# (doxysearch.cgi) which are based on the open source search engine library
+# Xapian (see: http://xapian.org/).
+#
+# See the section "External Indexing and Searching" for details.
+# The default value is: NO.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+EXTERNAL_SEARCH = NO
+
+# The SEARCHENGINE_URL should point to a search engine hosted by a web server
+# which will return the search results when EXTERNAL_SEARCH is enabled.
+#
+# Doxygen ships with an example indexer (doxyindexer) and search engine
+# (doxysearch.cgi) which are based on the open source search engine library
+# Xapian (see: http://xapian.org/). See the section "External Indexing and
+# Searching" for details.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+SEARCHENGINE_URL =
+
+# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
+# search data is written to a file for indexing by an external tool. With the
+# SEARCHDATA_FILE tag the name of this file can be specified.
+# The default file is: searchdata.xml.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+SEARCHDATA_FILE = searchdata.xml
+
+# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
+# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
+# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
+# projects and redirect the results back to the right project.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+EXTERNAL_SEARCH_ID =
+
+# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
+# projects other than the one defined by this configuration file, but that are
+# all added to the same external search index. Each project needs to have a
+# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
+# to a relative location where the documentation can be found. The format is:
+# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+EXTRA_SEARCH_MAPPINGS =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
+# The default value is: YES.
+
+GENERATE_LATEX = NO
+
+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it.
+# The default directory is: latex.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_OUTPUT = latex
+
+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
+# invoked.
+#
+# Note that when enabling USE_PDFLATEX this option is only used for generating
+# bitmaps for formulas in the HTML output, but not in the Makefile that is
+# written to the output directory.
+# The default file is: latex.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_CMD_NAME = latex
+
+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
+# index for LaTeX.
+# The default file is: makeindex.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+MAKEINDEX_CMD_NAME = makeindex
+
+# If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
+# documents. This may be useful for small projects and may help to save some
+# trees in general.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+COMPACT_LATEX = NO
+
+# The PAPER_TYPE tag can be used to set the paper type that is used by the
+# printer.
+# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
+# 14 inches) and executive (7.25 x 10.5 inches).
+# The default value is: a4.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+PAPER_TYPE = a4
+
+# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
+# that should be included in the LaTeX output. The package can be specified just
+# by its name or with the correct syntax as to be used with the LaTeX
+# \usepackage command. To get the times font for instance you can specify :
+# EXTRA_PACKAGES=times or EXTRA_PACKAGES={times}
+# To use the option intlimits with the amsmath package you can specify:
+# EXTRA_PACKAGES=[intlimits]{amsmath}
+# If left blank no extra packages will be included.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+EXTRA_PACKAGES =
+
+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
+# generated LaTeX document. The header should contain everything until the first
+# chapter. If it is left blank doxygen will generate a standard header. See
+# section "Doxygen usage" for information on how to let doxygen write the
+# default header to a separate file.
+#
+# Note: Only use a user-defined header if you know what you are doing! The
+# following commands have a special meaning inside the header: $title,
+# $datetime, $date, $doxygenversion, $projectname, $projectnumber,
+# $projectbrief, $projectlogo. Doxygen will replace $title with the empty
+# string, for the replacement values of the other commands the user is referred
+# to HTML_HEADER.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_HEADER =
+
+# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
+# generated LaTeX document. The footer should contain everything after the last
+# chapter. If it is left blank doxygen will generate a standard footer. See
+# LATEX_HEADER for more information on how to generate a default footer and what
+# special commands can be used inside the footer.
+#
+# Note: Only use a user-defined footer if you know what you are doing!
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_FOOTER =
+
+# The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined
+# LaTeX style sheets that are included after the standard style sheets created
+# by doxygen. Using this option one can overrule certain style aspects. Doxygen
+# will copy the style sheet files to the output directory.
+# Note: The order of the extra style sheet files is of importance (e.g. the last
+# style sheet in the list overrules the setting of the previous ones in the
+# list).
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_EXTRA_STYLESHEET =
+
+# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
+# other source files which should be copied to the LATEX_OUTPUT output
+# directory. Note that the files will be copied as-is; there are no commands or
+# markers available.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_EXTRA_FILES =
+
+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
+# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
+# contain links (just like the HTML output) instead of page references. This
+# makes the output suitable for online browsing using a PDF viewer.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+PDF_HYPERLINKS = YES
+
+# If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
+# the PDF file directly from the LaTeX files. Set this option to YES, to get a
+# higher quality PDF documentation.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+USE_PDFLATEX = YES
+
+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
+# command to the generated LaTeX files. This will instruct LaTeX to keep running
+# if errors occur, instead of asking the user for help. This option is also used
+# when generating formulas in HTML.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_BATCHMODE = NO
+
+# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
+# index chapters (such as File Index, Compound Index, etc.) in the output.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_HIDE_INDICES = NO
+
+# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
+# code with syntax highlighting in the LaTeX output.
+#
+# Note that which sources are shown also depends on other settings such as
+# SOURCE_BROWSER.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_SOURCE_CODE = NO
+
+# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
+# bibliography, e.g. plainnat, or ieeetr. See
+# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
+# The default value is: plain.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_BIB_STYLE = plain
+
+# If the LATEX_TIMESTAMP tag is set to YES then the footer of each generated
+# page will contain the date and time when the page was generated. Setting this
+# to NO can help when comparing the output of multiple runs.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_TIMESTAMP = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the RTF output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The
+# RTF output is optimized for Word 97 and may not look too pretty with other RTF
+# readers/editors.
+# The default value is: NO.
+
+GENERATE_RTF = NO
+
+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it.
+# The default directory is: rtf.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+RTF_OUTPUT = rtf
+
+# If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
+# documents. This may be useful for small projects and may help to save some
+# trees in general.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+COMPACT_RTF = NO
+
+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
+# contain hyperlink fields. The RTF file will contain links (just like the HTML
+# output) instead of page references. This makes the output suitable for online
+# browsing using Word or some other Word compatible readers that support those
+# fields.
+#
+# Note: WordPad (write) and others do not support links.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+RTF_HYPERLINKS = NO
+
+# Load stylesheet definitions from file. Syntax is similar to doxygen's config
+# file, i.e. a series of assignments. You only have to provide replacements,
+# missing definitions are set to their default value.
+#
+# See also section "Doxygen usage" for information on how to generate the
+# default style sheet that doxygen normally uses.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+RTF_STYLESHEET_FILE =
+
+# Set optional variables used in the generation of an RTF document. Syntax is
+# similar to doxygen's config file. A template extensions file can be generated
+# using doxygen -e rtf extensionFile.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+RTF_EXTENSIONS_FILE =
+
+# If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code
+# with syntax highlighting in the RTF output.
+#
+# Note that which sources are shown also depends on other settings such as
+# SOURCE_BROWSER.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+RTF_SOURCE_CODE = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the man page output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
+# classes and files.
+# The default value is: NO.
+
+GENERATE_MAN = NO
+
+# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it. A directory man3 will be created inside the directory specified by
+# MAN_OUTPUT.
+# The default directory is: man.
+# This tag requires that the tag GENERATE_MAN is set to YES.
+
+MAN_OUTPUT = man
+
+# The MAN_EXTENSION tag determines the extension that is added to the generated
+# man pages. In case the manual section does not start with a number, the number
+# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
+# optional.
+# The default value is: .3.
+# This tag requires that the tag GENERATE_MAN is set to YES.
+
+MAN_EXTENSION = .3
+
+# The MAN_SUBDIR tag determines the name of the directory created within
+# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
+# MAN_EXTENSION with the initial . removed.
+# This tag requires that the tag GENERATE_MAN is set to YES.
+
+MAN_SUBDIR =
+
+# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
+# will generate one additional man file for each entity documented in the real
+# man page(s). These additional files only source the real man page, but without
+# them the man command would be unable to find the correct page.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_MAN is set to YES.
+
+MAN_LINKS = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the XML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that
+# captures the structure of the code including all documentation.
+# The default value is: NO.
+
+GENERATE_XML = NO
+
+# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it.
+# The default directory is: xml.
+# This tag requires that the tag GENERATE_XML is set to YES.
+
+XML_OUTPUT = xml
+
+# If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
+# listings (including syntax highlighting and cross-referencing information) to
+# the XML output. Note that enabling this will significantly increase the size
+# of the XML output.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_XML is set to YES.
+
+XML_PROGRAMLISTING = YES
+
+#---------------------------------------------------------------------------
+# Configuration options related to the DOCBOOK output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
+# that can be used to generate PDF.
+# The default value is: NO.
+
+GENERATE_DOCBOOK = NO
+
+# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
+# front of it.
+# The default directory is: docbook.
+# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
+
+DOCBOOK_OUTPUT = docbook
+
+# If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the
+# program listings (including syntax highlighting and cross-referencing
+# information) to the DOCBOOK output. Note that enabling this will significantly
+# increase the size of the DOCBOOK output.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
+
+DOCBOOK_PROGRAMLISTING = NO
+
+#---------------------------------------------------------------------------
+# Configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an
+# AutoGen Definitions (see http://autogen.sf.net) file that captures the
+# structure of the code including all documentation. Note that this feature is
+# still experimental and incomplete at the moment.
+# The default value is: NO.
+
+GENERATE_AUTOGEN_DEF = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module
+# file that captures the structure of the code including all documentation.
+#
+# Note that this feature is still experimental and incomplete at the moment.
+# The default value is: NO.
+
+GENERATE_PERLMOD = NO
+
+# If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary
+# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
+# output from the Perl module output.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_PERLMOD is set to YES.
+
+PERLMOD_LATEX = NO
+
+# If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely
+# formatted so it can be parsed by a human reader. This is useful if you want to
+# understand what is going on. On the other hand, if this tag is set to NO, the
+# size of the Perl module output will be much smaller and Perl will parse it
+# just the same.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_PERLMOD is set to YES.
+
+PERLMOD_PRETTY = YES
+
+# The names of the make variables in the generated doxyrules.make file are
+# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
+# so different doxyrules.make files included by the same Makefile don't
+# overwrite each other's variables.
+# This tag requires that the tag GENERATE_PERLMOD is set to YES.
+
+PERLMOD_MAKEVAR_PREFIX =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+
+# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
+# C-preprocessor directives found in the sources and include files.
+# The default value is: YES.
+
+ENABLE_PREPROCESSING = YES
+
+# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
+# in the source code. If set to NO, only conditional compilation will be
+# performed. Macro expansion can be done in a controlled way by setting
+# EXPAND_ONLY_PREDEF to YES.
+# The default value is: NO.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+MACRO_EXPANSION = YES
+
+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
+# the macro expansion is limited to the macros specified with the PREDEFINED and
+# EXPAND_AS_DEFINED tags.
+# The default value is: NO.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+EXPAND_ONLY_PREDEF = NO
+
+# If the SEARCH_INCLUDES tag is set to YES, the include files in the
+# INCLUDE_PATH will be searched if a #include is found.
+# The default value is: YES.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+SEARCH_INCLUDES = YES
+
+# The INCLUDE_PATH tag can be used to specify one or more directories that
+# contain include files that are not input files but should be processed by the
+# preprocessor.
+# This tag requires that the tag SEARCH_INCLUDES is set to YES.
+
+INCLUDE_PATH =
+
+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
+# patterns (like *.h and *.hpp) to filter out the header-files in the
+# directories. If left blank, the patterns specified with FILE_PATTERNS will be
+# used.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+INCLUDE_FILE_PATTERNS =
+
+# The PREDEFINED tag can be used to specify one or more macro names that are
+# defined before the preprocessor is started (similar to the -D option of e.g.
+# gcc). The argument of the tag is a list of macros of the form: name or
+# name=definition (no spaces). If the definition and the "=" are omitted, "=1"
+# is assumed. To prevent a macro definition from being undefined via #undef or
+# recursively expanded use the := operator instead of the = operator.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+PREDEFINED = DOXYGEN \
+ PSYNC_PUBLIC_WITH_TESTS_ELSE_PRIVATE=private \
+ NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(x)=
+
+# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
+# tag can be used to specify a list of macro names that should be expanded. The
+# macro definition that is found in the sources will be used. Use the PREDEFINED
+# tag if you want to use a different macro definition that overrules the
+# definition found in the source code.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+EXPAND_AS_DEFINED =
+
+# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
+# remove all references to function-like macros that are alone on a line, have
+# an all uppercase name, and do not end with a semicolon. Such function macros
+# are typically used for boiler-plate code, and will confuse the parser if not
+# removed.
+# The default value is: YES.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+SKIP_FUNCTION_MACROS = YES
+
+#---------------------------------------------------------------------------
+# Configuration options related to external references
+#---------------------------------------------------------------------------
+
+# The TAGFILES tag can be used to specify one or more tag files. For each tag
+# file the location of the external documentation should be added. The format of
+# a tag file without this location is as follows:
+# TAGFILES = file1 file2 ...
+# Adding location for the tag files is done as follows:
+# TAGFILES = file1=loc1 "file2 = loc2" ...
+# where loc1 and loc2 can be relative or absolute paths or URLs. See the
+# section "Linking to external documentation" for more information about the use
+# of tag files.
+# Note: Each tag file must have a unique name (where the name does NOT include
+# the path). If a tag file is not located in the directory in which doxygen is
+# run, you must also specify the path to the tagfile here.
+
+TAGFILES =
+
+# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
+# tag file that is based on the input files it reads. See section "Linking to
+# external documentation" for more information about the usage of tag files.
+
+GENERATE_TAGFILE = PSync.tag
+
+# If the ALLEXTERNALS tag is set to YES, all external class will be listed in
+# the class index. If set to NO, only the inherited external classes will be
+# listed.
+# The default value is: NO.
+
+ALLEXTERNALS = NO
+
+# If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
+# in the modules index. If set to NO, only the current project's groups will be
+# listed.
+# The default value is: YES.
+
+EXTERNAL_GROUPS = YES
+
+# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
+# the related pages index. If set to NO, only the current project's pages will
+# be listed.
+# The default value is: YES.
+
+EXTERNAL_PAGES = YES
+
+# The PERL_PATH should be the absolute path and name of the perl script
+# interpreter (i.e. the result of 'which perl').
+# The default file (with absolute path) is: /usr/bin/perl.
+
+PERL_PATH = /usr/bin/perl
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+
+# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram
+# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
+# NO turns the diagrams off. Note that this option also works with HAVE_DOT
+# disabled, but it is recommended to install and use dot, since it yields more
+# powerful graphs.
+# The default value is: YES.
+
+CLASS_DIAGRAMS = YES
+
+# You can define message sequence charts within doxygen comments using the \msc
+# command. Doxygen will then run the mscgen tool (see:
+# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
+# documentation. The MSCGEN_PATH tag allows you to specify the directory where
+# the mscgen tool resides. If left empty the tool is assumed to be found in the
+# default search path.
+
+MSCGEN_PATH =
+
+# You can include diagrams made with dia in doxygen documentation. Doxygen will
+# then run dia to produce the diagram and insert it in the documentation. The
+# DIA_PATH tag allows you to specify the directory where the dia binary resides.
+# If left empty dia is assumed to be found in the default search path.
+
+DIA_PATH =
+
+# If set to YES the inheritance and collaboration graphs will hide inheritance
+# and usage relations if the target is undocumented or is not a class.
+# The default value is: YES.
+
+HIDE_UNDOC_RELATIONS = YES
+
+# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
+# available from the path. This tool is part of Graphviz (see:
+# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
+# Bell Labs. The other options in this section have no effect if this option is
+# set to NO
+# The default value is: YES.
+
+HAVE_DOT = YES
+
+# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
+# to run in parallel. When set to 0 doxygen will base this on the number of
+# processors available in the system. You can set it explicitly to a value
+# larger than 0 to get control over the balance between CPU load and processing
+# speed.
+# Minimum value: 0, maximum value: 32, default value: 0.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_NUM_THREADS = 0
+
+# When you want a differently looking font in the dot files that doxygen
+# generates you can specify the font name using DOT_FONTNAME. You need to make
+# sure dot is able to find the font, which can be done by putting it in a
+# standard location or by setting the DOTFONTPATH environment variable or by
+# setting DOT_FONTPATH to the directory containing the font.
+# The default value is: Helvetica.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_FONTNAME = Helvetica
+
+# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
+# dot graphs.
+# Minimum value: 4, maximum value: 24, default value: 10.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_FONTSIZE = 10
+
+# By default doxygen will tell dot to use the default font as specified with
+# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
+# the path where dot can find it using this tag.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_FONTPATH =
+
+# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
+# each documented class showing the direct and indirect inheritance relations.
+# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+CLASS_GRAPH = YES
+
+# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
+# graph for each documented class showing the direct and indirect implementation
+# dependencies (inheritance, containment, and class references variables) of the
+# class with other documented classes.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+COLLABORATION_GRAPH = YES
+
+# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
+# groups, showing the direct groups dependencies.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+GROUP_GRAPHS = YES
+
+# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
+# collaboration diagrams in a style similar to the OMG's Unified Modeling
+# Language.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+UML_LOOK = NO
+
+# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
+# class node. If there are many fields or methods and many nodes the graph may
+# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
+# number of items for each type to make the size more manageable. Set this to 0
+# for no limit. Note that the threshold may be exceeded by 50% before the limit
+# is enforced. So when you set the threshold to 10, up to 15 fields may appear,
+# but if the number exceeds 15, the total amount of fields shown is limited to
+# 10.
+# Minimum value: 0, maximum value: 100, default value: 10.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+UML_LIMIT_NUM_FIELDS = 10
+
+# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
+# collaboration graphs will show the relations between templates and their
+# instances.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+TEMPLATE_RELATIONS = YES
+
+# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
+# YES then doxygen will generate a graph for each documented file showing the
+# direct and indirect include dependencies of the file with other documented
+# files.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+INCLUDE_GRAPH = YES
+
+# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
+# set to YES then doxygen will generate a graph for each documented file showing
+# the direct and indirect include dependencies of the file with other documented
+# files.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+INCLUDED_BY_GRAPH = YES
+
+# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
+# dependency graph for every global function or class method.
+#
+# Note that enabling this option will significantly increase the time of a run.
+# So in most cases it will be better to enable call graphs for selected
+# functions only using the \callgraph command. Disabling a call graph can be
+# accomplished by means of the command \hidecallgraph.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+CALL_GRAPH = NO
+
+# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
+# dependency graph for every global function or class method.
+#
+# Note that enabling this option will significantly increase the time of a run.
+# So in most cases it will be better to enable caller graphs for selected
+# functions only using the \callergraph command. Disabling a caller graph can be
+# accomplished by means of the command \hidecallergraph.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+CALLER_GRAPH = NO
+
+# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
+# hierarchy of all classes instead of a textual one.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+GRAPHICAL_HIERARCHY = YES
+
+# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
+# dependencies a directory has on other directories in a graphical way. The
+# dependency relations are determined by the #include relations between the
+# files in the directories.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DIRECTORY_GRAPH = YES
+
+# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
+# generated by dot. For an explanation of the image formats see the section
+# output formats in the documentation of the dot tool (Graphviz (see:
+# http://www.graphviz.org/)).
+# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
+# to make the SVG files visible in IE 9+ (other browsers do not have this
+# requirement).
+# Possible values are: png, png:cairo, png:cairo:cairo, png:cairo:gd, png:gd,
+# png:gd:gd, jpg, jpg:cairo, jpg:cairo:gd, jpg:gd, jpg:gd:gd, gif, gif:cairo,
+# gif:cairo:gd, gif:gd, gif:gd:gd, svg, png:gd, png:gd:gd, png:cairo,
+# png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and
+# png:gdiplus:gdiplus.
+# The default value is: png.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_IMAGE_FORMAT = svg
+
+# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
+# enable generation of interactive SVG images that allow zooming and panning.
+#
+# Note that this requires a modern browser other than Internet Explorer. Tested
+# and working are Firefox, Chrome, Safari, and Opera.
+# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
+# the SVG files visible. Older versions of IE do not have SVG support.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+INTERACTIVE_SVG = NO
+
+# The DOT_PATH tag can be used to specify the path where the dot tool can be
+# found. If left blank, it is assumed the dot tool can be found in the path.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_PATH =
+
+# The DOTFILE_DIRS tag can be used to specify one or more directories that
+# contain dot files that are included in the documentation (see the \dotfile
+# command).
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOTFILE_DIRS =
+
+# The MSCFILE_DIRS tag can be used to specify one or more directories that
+# contain msc files that are included in the documentation (see the \mscfile
+# command).
+
+MSCFILE_DIRS =
+
+# The DIAFILE_DIRS tag can be used to specify one or more directories that
+# contain dia files that are included in the documentation (see the \diafile
+# command).
+
+DIAFILE_DIRS =
+
+# When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
+# path where java can find the plantuml.jar file. If left blank, it is assumed
+# PlantUML is not used or called during a preprocessing step. Doxygen will
+# generate a warning when it encounters a \startuml command in this case and
+# will not generate output for the diagram.
+
+PLANTUML_JAR_PATH =
+
+# When using plantuml, the PLANTUML_CFG_FILE tag can be used to specify a
+# configuration file for plantuml.
+
+# PLANTUML_CFG_FILE =
+
+# When using plantuml, the specified paths are searched for files specified by
+# the !include statement in a plantuml block.
+
+PLANTUML_INCLUDE_PATH =
+
+# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
+# that will be shown in the graph. If the number of nodes in a graph becomes
+# larger than this value, doxygen will truncate the graph, which is visualized
+# by representing a node as a red box. Note that doxygen if the number of direct
+# children of the root node in a graph is already larger than
+# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
+# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
+# Minimum value: 0, maximum value: 10000, default value: 50.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_GRAPH_MAX_NODES = 50
+
+# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
+# generated by dot. A depth value of 3 means that only nodes reachable from the
+# root by following a path via at most 3 edges will be shown. Nodes that lay
+# further from the root node will be omitted. Note that setting this option to 1
+# or 2 may greatly reduce the computation time needed for large code bases. Also
+# note that the size of a graph can be further restricted by
+# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
+# Minimum value: 0, maximum value: 1000, default value: 0.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+MAX_DOT_GRAPH_DEPTH = 0
+
+# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
+# background. This is disabled by default, because dot on Windows does not seem
+# to support this out of the box.
+#
+# Warning: Depending on the platform used, enabling this option may lead to
+# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
+# read).
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_TRANSPARENT = YES
+
+# Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
+# files in one run (i.e. multiple -o and -T options on the command line). This
+# makes dot run faster, but since only newer versions of dot (>1.8.10) support
+# this, this feature is disabled by default.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_MULTI_TARGETS = YES
+
+# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
+# explaining the meaning of the various boxes and arrows in the dot generated
+# graphs.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+GENERATE_LEGEND = YES
+
+# If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot
+# files that are used to generate the various graphs.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_CLEANUP = YES
diff --git a/docs/index.rst b/docs/index.rst
new file mode 100644
index 0000000..d707098
--- /dev/null
+++ b/docs/index.rst
@@ -0,0 +1,2 @@
+PSYNC - Partial/Full Sync Library based on BF and IBF
+=====================================================
diff --git a/docs/named_data_theme/layout.html b/docs/named_data_theme/layout.html
new file mode 100644
index 0000000..3d9a27d
--- /dev/null
+++ b/docs/named_data_theme/layout.html
@@ -0,0 +1,87 @@
+{#
+ named_data_theme/layout.html
+ ~~~~~~~~~~~~~~~~~
+#}
+{% extends "basic/layout.html" %}
+
+{% block header %}
+ <!--headercontainer-->
+ <div id="header_container">
+
+ <!--header-->
+ <div class="row">
+ <div class="three columns">
+ <div id="logo">
+ <a href="https://named-data.net" title="A Future Internet Architecture"><img src="https://named-data.net/wp-content/uploads/cropped-20130722_Logo2.png" alt="" /></a>
+ </div><!--logo end-->
+ </div>
+
+ <!--top menu-->
+ <div class="nine columns" id="menu_container" >
+ <h1><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a></h1>
+ </div>
+ </div>
+ </div><!--header container end-->
+
+{% endblock %}
+
+{% block content %}
+ <div class="content-wrapper">
+ <div class="content">
+ <div class="document">
+ {%- block document %}
+ {{ super() }}
+ {%- endblock %}
+ </div>
+ <div class="sidebar">
+ {%- block sidebartoc %}
+ <h3>{{ _('Table Of Contents') }}</h3>
+ {{ toctree(includehidden=True) }}
+
+ <h3>{{ _('Developer documentation') }}</h3>
+ <ul>
+ <li class="toctree-l1"><a class="reference external" href="https://redmine.named-data.net/projects/psync/wiki">PSync Wiki</a></li>
+ <li class="toctree-l1"><a class="reference internal" href="doxygen/annotated.html">API documentation (doxygen)</a></li>
+ <li class="toctree-l1"><a class="reference internal" href="code-style.html">ndn-cxx Code Style and Coding Guidelines</a></li>
+ </ul>
+ {%- endblock %}
+
+ {%- block sidebarsearch %}
+ <h3 style="margin-top: 1.5em;">{{ _('Search') }}</h3>
+ <form class="search" action="{{ pathto('search') }}" method="get">
+ <input type="text" name="q" />
+ <input type="submit" value="{{ _('Go') }}" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+ <p class="searchtip" style="font-size: 90%">
+ {{ _('Enter search terms or a module, class or function name.') }}
+ </p>
+ {%- endblock %}
+ </div>
+ <div class="clearer"></div>
+ </div>
+ </div>
+{% endblock %}
+
+{% block footer %}
+ <div id="footer-container">
+ <!--footer container-->
+ <div class="row">
+ </div><!-- footer container-->
+ </div>
+
+ <div id="footer-info">
+ <!--footer container-->
+ <div class="row">
+ <div class="twelve columns">
+
+ <div id="copyright">This research is partially supported by NSF (Award <a href="https://www.nsf.gov/awardsearch/showAward?AWD_ID=1040868" target="_blank>">CNS-1040868</a>)<br/><br/><a rel="license" href="https://creativecommons.org/licenses/by/3.0/deed.en_US" target="_blank">Creative Commons Attribution 3.0 Unported License</a> except where noted.</div>
+
+ </div>
+ </div>
+ </div><!--footer info end-->
+{% endblock %}
+
+{% block relbar1 %}{% endblock %}
+{% block relbar2 %}{% endblock %}
diff --git a/docs/named_data_theme/named_data_footer-with-analytics.html.in b/docs/named_data_theme/named_data_footer-with-analytics.html.in
new file mode 100644
index 0000000..c4cb317
--- /dev/null
+++ b/docs/named_data_theme/named_data_footer-with-analytics.html.in
@@ -0,0 +1,32 @@
+<!-- start footer part -->
+<!--BEGIN GENERATE_TREEVIEW-->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ $navpath
+ <li class="footer">$generatedby
+ <a href="https://www.doxygen.org/index.html">
+ <img class="footer" src="$relpath$doxygen.png" alt="doxygen"/></a> $doxygenversion </li>
+ </ul>
+</div>
+<!--END GENERATE_TREEVIEW-->
+<!--BEGIN !GENERATE_TREEVIEW-->
+<hr class="footer"/>
+<address class="footer"><small>
+$generatedby  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="$relpath$doxygen.png" alt="doxygen"/>
+</a> $doxygenversion
+</small></address>
+<!--END !GENERATE_TREEVIEW-->
+
+<script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', '@GOOGLE_ANALYTICS@', 'auto');
+ ga('send', 'pageview');
+</script>
+
+</body>
+</html>
diff --git a/docs/named_data_theme/named_data_footer.html b/docs/named_data_theme/named_data_footer.html
new file mode 100644
index 0000000..8a37816
--- /dev/null
+++ b/docs/named_data_theme/named_data_footer.html
@@ -0,0 +1,24 @@
+<!-- start footer part -->
+<!--BEGIN GENERATE_TREEVIEW-->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ $navpath
+ <li class="footer">$generatedby
+ <a href="https://www.doxygen.org/index.html">
+ <img class="footer" src="$relpath$doxygen.png" alt="doxygen"/></a> $doxygenversion </li>
+ </ul>
+</div>
+<!--END GENERATE_TREEVIEW-->
+<!--BEGIN !GENERATE_TREEVIEW-->
+<hr class="footer"/>
+<address class="footer"><small>
+$generatedby  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="$relpath$doxygen.png" alt="doxygen"/>
+</a> $doxygenversion
+</small></address>
+<!--END !GENERATE_TREEVIEW-->
+
+<script type="text/javascript">
+</script>
+</body>
+</html>
diff --git a/docs/named_data_theme/named_data_header.html b/docs/named_data_theme/named_data_header.html
new file mode 100644
index 0000000..5bf7d1c
--- /dev/null
+++ b/docs/named_data_theme/named_data_header.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="https://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME-->
+<!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME-->
+<link href="$relpath$tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="$relpath$jquery.js"></script>
+<script type="text/javascript" src="$relpath$dynsections.js"></script>
+$treeview
+$search
+$mathjax
+<link href="$relpath$doxygen.css" rel="stylesheet" type="text/css"/>
+<link href="$relpath$named_data_doxygen.css" rel="stylesheet" type="text/css" />
+<link href="$relpath$favicon.ico" rel="shortcut icon" type="image/ico" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+
+<!--BEGIN TITLEAREA-->
+<!--headercontainer-->
+<div id="header_container">
+
+ <!--header-->
+ <div class="row">
+ <div class="three columns">
+ <div id="logo">
+ <a href="https://named-data.net" title="A Future Internet Architecture"><img src="https://named-data.net/wp-content/uploads/cropped-20130722_Logo2.png" alt="" /></a>
+ </div><!--logo end-->
+ </div>
+
+ <!--top menu-->
+ <div class="nine columns" id="menu_container" >
+ <h1><a href="https://named-data.net/doc/PSync/$projectnumber/">$projectname $projectnumber documentation</a></h1>
+ </div>
+ </div>
+</div><!--header container end-->
+<!--END TITLEAREA-->
+
+<!-- end header part -->
diff --git a/docs/named_data_theme/static/bar-top.png b/docs/named_data_theme/static/bar-top.png
new file mode 100644
index 0000000..07cafb6
--- /dev/null
+++ b/docs/named_data_theme/static/bar-top.png
Binary files differ
diff --git a/docs/named_data_theme/static/base.css b/docs/named_data_theme/static/base.css
new file mode 100644
index 0000000..164d1c1
--- /dev/null
+++ b/docs/named_data_theme/static/base.css
@@ -0,0 +1,71 @@
+* {
+ margin: 0px;
+ padding: 0px;
+}
+
+html { font-size: 62.5%; }
+
+body {
+ font-family: "Verdana", Arial, sans-serif;
+ background-color: #eeeeec;
+ color: #777;
+ border-top: 4px solid #fd7800;
+}
+
+body { background: white; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1; color: #222222; position: relative; -webkit-font-smoothing: antialiased; }
+
+.clearer {
+ clear: both;
+}
+
+.left {
+ float: left;
+}
+
+.right {
+ float: right;
+}
+
+.line-block {
+ display: block;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+.line-block .line-block {
+ margin-top: 0;
+ margin-bottom: 0;
+ margin-left: 1.5em;
+}
+
+h1, h2, h3, h4 {
+ font-family: "Georgia", "Times New Roman", serif;
+ font-weight: normal;
+ color: #3465a4;
+ margin-bottom: .8em;
+}
+
+h1 {
+ color: #204a87;
+}
+
+h2 {
+ padding-bottom: .5em;
+ border-bottom: 1px solid #3465a4;
+}
+
+a.headerlink {
+ visibility: hidden;
+ color: #dddddd;
+ padding-left: .3em;
+}
+
+h1:hover > a.headerlink,
+h2:hover > a.headerlink,
+h3:hover > a.headerlink,
+h4:hover > a.headerlink,
+h5:hover > a.headerlink,
+h6:hover > a.headerlink,
+dt:hover > a.headerlink {
+ visibility: visible;
+}
diff --git a/docs/named_data_theme/static/base.css_t b/docs/named_data_theme/static/base.css_t
new file mode 100644
index 0000000..eed3973
--- /dev/null
+++ b/docs/named_data_theme/static/base.css_t
@@ -0,0 +1,459 @@
+* {
+ margin: 0px;
+ padding: 0px;
+}
+
+html { font-size: 62.5%; }
+
+body {
+ font-family: {{ theme_bodyfont }};
+ background-color: {{ theme_bgcolor }};
+ color: #777;
+ border-top: 4px solid #fd7800;
+}
+
+body { background: white; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1; color: #222222; position: relative; -webkit-font-smoothing: antialiased; }
+
+/* Page layout */
+
+div.header, div.content, div.footer {
+ width: 90%;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+div.header-wrapper {
+ background: {{ theme_headerbg }};
+ border-bottom: 3px solid #2e3436;
+}
+
+
+/* Default body styles */
+a {
+ color: {{ theme_linkcolor }};
+}
+
+div.bodywrapper a, div.footer a {
+ text-decoration: none;
+}
+
+.clearer {
+ clear: both;
+}
+
+.left {
+ float: left;
+}
+
+.right {
+ float: right;
+}
+
+.line-block {
+ display: block;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+.line-block .line-block {
+ margin-top: 0;
+ margin-bottom: 0;
+ margin-left: 1.5em;
+}
+
+h1, h2, h3, h4 {
+ font-family: {{ theme_headerfont }};
+ font-weight: normal;
+ color: {{ theme_headercolor2 }};
+ margin-bottom: .8em;
+}
+
+h1 {
+ color: {{ theme_headercolor1 }};
+}
+
+h2 {
+ padding-bottom: .5em;
+ border-bottom: 1px solid {{ theme_headercolor2 }};
+}
+
+a.headerlink {
+ visibility: hidden;
+ color: #dddddd;
+ padding-left: .3em;
+}
+
+h1:hover > a.headerlink,
+h2:hover > a.headerlink,
+h3:hover > a.headerlink,
+h4:hover > a.headerlink,
+h5:hover > a.headerlink,
+h6:hover > a.headerlink,
+dt:hover > a.headerlink {
+ visibility: visible;
+}
+
+img {
+ border: 0;
+}
+
+div.admonition {
+ margin-top: 10px;
+ margin-bottom: 10px;
+ padding: 2px 7px 1px 7px;
+ border-left: 0.2em solid black;
+}
+
+p.admonition-title {
+ margin: 0px 10px 5px 0px;
+ font-weight: bold;
+}
+
+dt:target, .highlighted {
+ background-color: #fbe54e;
+}
+
+/* Header */
+
+div.header {
+ padding-top: 10px;
+ padding-bottom: 10px;
+}
+
+div.header .headertitle {
+ font-family: {{ theme_headerfont }};
+ font-weight: normal;
+ font-size: 180%;
+ letter-spacing: .08em;
+ margin-bottom: .8em;
+}
+
+div.header .headertitle a {
+ color: white;
+}
+
+div.header div.rel {
+ margin-top: 1em;
+}
+
+div.header div.rel a {
+ color: {{ theme_headerlinkcolor }};
+ letter-spacing: .1em;
+ text-transform: uppercase;
+}
+
+p.logo {
+ float: right;
+}
+
+img.logo {
+ border: 0;
+}
+
+
+/* Content */
+div.content-wrapper {
+ background-color: white;
+ padding-top: 20px;
+ padding-bottom: 20px;
+}
+
+div.document {
+ width: 70%;
+ float: left;
+}
+
+div.body {
+ padding-right: 2em;
+ text-align: left;
+}
+
+div.document h1 {
+ line-height: 120%;
+}
+
+div.document ul {
+ margin-left: 1.5em;
+ list-style-type: square;
+}
+
+div.document dd {
+ margin-left: 1.2em;
+ margin-top: .4em;
+ margin-bottom: 1em;
+}
+
+div.document .section {
+ margin-top: 1.7em;
+}
+div.document .section:first-child {
+ margin-top: 0px;
+}
+
+div.document div.highlight {
+ padding: 3px;
+ background-color: #eeeeec;
+ border-top: 2px solid #dddddd;
+ border-bottom: 2px solid #dddddd;
+ margin-bottom: .8em;
+}
+
+div.document h2 {
+ margin-top: .7em;
+}
+
+div.document p {
+ margin-bottom: .5em;
+}
+
+div.document li.toctree-l1 {
+ margin-bottom: 1em;
+}
+
+div.document .descname {
+ font-weight: bold;
+}
+
+div.document .docutils.literal {
+ background-color: #eeeeec;
+ padding: 1px;
+}
+
+div.document .docutils.xref.literal {
+ background-color: transparent;
+ padding: 0px;
+}
+
+div.document ol {
+ margin: 1.5em;
+}
+
+
+/* Sidebar */
+
+div.sidebar {
+ width: 20%;
+ float: right;
+ font-size: .9em;
+}
+
+div.sidebar a, div.header a {
+ text-decoration: none;
+}
+
+div.sidebar a:hover, div.header a:hover {
+ text-decoration: none;
+}
+
+div.sidebar h3 {
+ color: #2e3436;
+ text-transform: uppercase;
+ font-size: 130%;
+ letter-spacing: .1em;
+}
+
+div.sidebar ul {
+ list-style-type: none;
+}
+
+div.sidebar li.toctree-l1 a {
+ display: block;
+ padding: 1px;
+ border: 1px solid #dddddd;
+ background-color: #eeeeec;
+ margin-bottom: .4em;
+ padding-left: 3px;
+ color: #2e3436;
+}
+
+div.sidebar li.toctree-l2 a {
+ background-color: transparent;
+ border: none;
+ margin-left: 1em;
+ border-bottom: 1px solid #dddddd;
+}
+
+div.sidebar li.toctree-l3 a {
+ background-color: transparent;
+ border: none;
+ margin-left: 2em;
+ border-bottom: 1px solid #dddddd;
+}
+
+div.sidebar li.toctree-l2:last-child a {
+ border-bottom: none;
+}
+
+div.sidebar li.toctree-l1.current a {
+ border-right: 5px solid {{ theme_headerlinkcolor }};
+}
+
+div.sidebar li.toctree-l1.current li.toctree-l2 a {
+ border-right: none;
+}
+
+div.sidebar input[type="text"] {
+ width: 170px;
+}
+
+div.sidebar input[type="submit"] {
+ width: 30px;
+}
+
+
+/* Footer */
+
+div.footer-wrapper {
+ background: {{ theme_footerbg }};
+ border-top: 4px solid #babdb6;
+ padding-top: 10px;
+ padding-bottom: 10px;
+ min-height: 80px;
+}
+
+div.footer, div.footer a {
+ color: #888a85;
+}
+
+div.footer .right {
+ text-align: right;
+}
+
+div.footer .left {
+ text-transform: uppercase;
+}
+
+
+/* Styles copied from basic theme */
+
+img.align-left, .figure.align-left, object.align-left {
+ clear: left;
+ float: left;
+ margin-right: 1em;
+}
+
+img.align-right, .figure.align-right, object.align-right {
+ clear: right;
+ float: right;
+ margin-left: 1em;
+}
+
+img.align-center, .figure.align-center, object.align-center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.align-left {
+ text-align: left;
+}
+
+.align-center {
+ text-align: center;
+}
+
+.align-right {
+ text-align: right;
+}
+
+/* -- search page ----------------------------------------------------------- */
+
+ul.search {
+ margin: 10px 0 0 20px;
+ padding: 0;
+}
+
+ul.search li {
+ padding: 5px 0 5px 20px;
+ background-image: url(file.png);
+ background-repeat: no-repeat;
+ background-position: 0 7px;
+}
+
+ul.search li a {
+ font-weight: bold;
+}
+
+ul.search li div.context {
+ color: #888;
+ margin: 2px 0 0 30px;
+ text-align: left;
+}
+
+ul.keywordmatches li.goodmatch a {
+ font-weight: bold;
+}
+
+/* -- index page ------------------------------------------------------------ */
+
+table.contentstable {
+ width: 90%;
+}
+
+table.contentstable p.biglink {
+ line-height: 150%;
+}
+
+a.biglink {
+ font-size: 1.3em;
+}
+
+span.linkdescr {
+ font-style: italic;
+ padding-top: 5px;
+ font-size: 90%;
+}
+
+/* -- general index --------------------------------------------------------- */
+
+table.indextable td {
+ text-align: left;
+ vertical-align: top;
+}
+
+table.indextable dl, table.indextable dd {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+table.indextable tr.pcap {
+ height: 10px;
+}
+
+table.indextable tr.cap {
+ margin-top: 10px;
+ background-color: #f2f2f2;
+}
+
+img.toggler {
+ margin-right: 3px;
+ margin-top: 3px;
+ cursor: pointer;
+}
+
+/* -- viewcode extension ---------------------------------------------------- */
+
+.viewcode-link {
+ float: right;
+}
+
+.viewcode-back {
+ float: right;
+ font-family:: {{ theme_bodyfont }};
+}
+
+div.viewcode-block:target {
+ margin: -1px -3px;
+ padding: 0 3px;
+ background-color: #f4debf;
+ border-top: 1px solid #ac9;
+ border-bottom: 1px solid #ac9;
+}
+
+td.linenos pre {
+ padding: 5px 0px;
+ border: 0;
+ background-color: transparent;
+ color: #aaa;
+ margin-top: -10pt;
+}
\ No newline at end of file
diff --git a/docs/named_data_theme/static/bc_s.png b/docs/named_data_theme/static/bc_s.png
new file mode 100644
index 0000000..eebf862
--- /dev/null
+++ b/docs/named_data_theme/static/bc_s.png
Binary files differ
diff --git a/docs/named_data_theme/static/default.css_t b/docs/named_data_theme/static/default.css_t
new file mode 100644
index 0000000..b582768
--- /dev/null
+++ b/docs/named_data_theme/static/default.css_t
@@ -0,0 +1,14 @@
+@import url("agogo.css");
+
+pre {
+ padding: 10px;
+ background-color: #fafafa;
+ color: #222;
+ line-height: 1.2em;
+ border: 2px solid #C6C9CB;
+ font-size: 1.1em;
+ /* margin: 1.5em 0 1.5em 0; */
+ margin: 0;
+ border-right-style: none;
+ border-left-style: none;
+}
diff --git a/docs/named_data_theme/static/doxygen.css b/docs/named_data_theme/static/doxygen.css
new file mode 100644
index 0000000..e5c796e
--- /dev/null
+++ b/docs/named_data_theme/static/doxygen.css
@@ -0,0 +1,1157 @@
+/* The standard CSS for doxygen */
+
+body, table, div, p, dl {
+ font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif;
+ font-size: 13px;
+ line-height: 1.3;
+}
+
+/* @group Heading Levels */
+
+h1 {
+ font-size: 150%;
+}
+
+.title {
+ font-size: 150%;
+ font-weight: bold;
+ margin: 10px 2px;
+}
+
+h2 {
+ font-size: 120%;
+}
+
+h3 {
+ font-size: 100%;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ -webkit-transition: text-shadow 0.5s linear;
+ -moz-transition: text-shadow 0.5s linear;
+ -ms-transition: text-shadow 0.5s linear;
+ -o-transition: text-shadow 0.5s linear;
+ transition: text-shadow 0.5s linear;
+ margin-right: 15px;
+}
+
+h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow {
+ text-shadow: 0 0 15px cyan;
+}
+
+dt {
+ font-weight: bold;
+}
+
+div.multicol {
+ -moz-column-gap: 1em;
+ -webkit-column-gap: 1em;
+ -moz-column-count: 3;
+ -webkit-column-count: 3;
+}
+
+p.startli, p.startdd, p.starttd {
+ margin-top: 2px;
+}
+
+p.endli {
+ margin-bottom: 0px;
+}
+
+p.enddd {
+ margin-bottom: 4px;
+}
+
+p.endtd {
+ margin-bottom: 2px;
+}
+
+/* @end */
+
+caption {
+ font-weight: bold;
+}
+
+span.legend {
+ font-size: 70%;
+ text-align: center;
+}
+
+h3.version {
+ font-size: 90%;
+ text-align: center;
+}
+
+div.qindex, div.navtab{
+ background-color: #EFEFEF;
+ border: 1px solid #B5B5B5;
+ text-align: center;
+}
+
+div.qindex, div.navpath {
+ width: 100%;
+ line-height: 140%;
+}
+
+div.navtab {
+ margin-right: 15px;
+}
+
+/* @group Link Styling */
+
+a {
+ color: #585858;
+ font-weight: normal;
+ text-decoration: none;
+}
+
+/*.contents a:visited {
+ color: #686868;
+}*/
+
+a:hover {
+ text-decoration: underline;
+}
+
+a.qindex {
+ font-weight: bold;
+}
+
+a.qindexHL {
+ font-weight: bold;
+ background-color: #B0B0B0;
+ color: #ffffff;
+ border: 1px double #9F9F9F;
+}
+
+.contents a.qindexHL:visited {
+ color: #ffffff;
+}
+
+a.el {
+ font-weight: bold;
+}
+
+a.elRef {
+}
+
+a.code, a.code:visited {
+ color: #4665A2;
+}
+
+a.codeRef, a.codeRef:visited {
+ color: #4665A2;
+}
+
+/* @end */
+
+dl.el {
+ margin-left: -1cm;
+}
+
+pre.fragment {
+ border: 1px solid #C4CFE5;
+ background-color: #FBFCFD;
+ padding: 4px 6px;
+ margin: 4px 8px 4px 2px;
+ overflow: auto;
+ word-wrap: break-word;
+ font-size: 9pt;
+ line-height: 125%;
+ font-family: monospace, fixed;
+ font-size: 105%;
+}
+
+div.fragment {
+ padding: 4px;
+ margin: 4px;
+ background-color: #FCFCFC;
+ border: 1px solid #D0D0D0;
+}
+
+div.line {
+ font-family: monospace, fixed;
+ font-size: 13px;
+ min-height: 13px;
+ line-height: 1.0;
+ text-wrap: unrestricted;
+ white-space: -moz-pre-wrap; /* Moz */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ white-space: pre-wrap; /* CSS3 */
+ word-wrap: break-word; /* IE 5.5+ */
+ text-indent: -53px;
+ padding-left: 53px;
+ padding-bottom: 0px;
+ margin: 0px;
+ -webkit-transition-property: background-color, box-shadow;
+ -webkit-transition-duration: 0.5s;
+ -moz-transition-property: background-color, box-shadow;
+ -moz-transition-duration: 0.5s;
+ -ms-transition-property: background-color, box-shadow;
+ -ms-transition-duration: 0.5s;
+ -o-transition-property: background-color, box-shadow;
+ -o-transition-duration: 0.5s;
+ transition-property: background-color, box-shadow;
+ transition-duration: 0.5s;
+}
+
+div.line.glow {
+ background-color: cyan;
+ box-shadow: 0 0 10px cyan;
+}
+
+
+span.lineno {
+ padding-right: 4px;
+ text-align: right;
+ border-right: 2px solid #0F0;
+ background-color: #E8E8E8;
+ white-space: pre;
+}
+span.lineno a {
+ background-color: #D8D8D8;
+}
+
+span.lineno a:hover {
+ background-color: #C8C8C8;
+}
+
+div.ah {
+ background-color: black;
+ font-weight: bold;
+ color: #ffffff;
+ margin-bottom: 3px;
+ margin-top: 3px;
+ padding: 0.2em;
+ border: solid thin #333;
+ border-radius: 0.5em;
+ -webkit-border-radius: .5em;
+ -moz-border-radius: .5em;
+ box-shadow: 2px 2px 3px #999;
+ -webkit-box-shadow: 2px 2px 3px #999;
+ -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444));
+ background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000);
+}
+
+div.groupHeader {
+ margin-left: 16px;
+ margin-top: 12px;
+ font-weight: bold;
+}
+
+div.groupText {
+ margin-left: 16px;
+ font-style: italic;
+}
+
+body {
+ background-color: white;
+ color: black;
+ margin: 0;
+}
+
+div.contents {
+ margin-top: 10px;
+ margin-left: 12px;
+ margin-right: 8px;
+}
+
+td.indexkey {
+ background-color: #EFEFEF;
+ font-weight: bold;
+ border: 1px solid #D0D0D0;
+ margin: 2px 0px 2px 0;
+ padding: 2px 10px;
+ white-space: nowrap;
+ vertical-align: top;
+}
+
+td.indexvalue {
+ background-color: #EFEFEF;
+ border: 1px solid #D0D0D0;
+ padding: 2px 10px;
+ margin: 2px 0px;
+}
+
+tr.memlist {
+ background-color: #F1F1F1;
+}
+
+p.formulaDsp {
+ text-align: center;
+}
+
+img.formulaDsp {
+
+}
+
+img.formulaInl {
+ vertical-align: middle;
+}
+
+div.center {
+ text-align: center;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0px;
+}
+
+div.center img {
+ border: 0px;
+}
+
+address.footer {
+ text-align: right;
+ padding-right: 12px;
+}
+
+img.footer {
+ border: 0px;
+ vertical-align: middle;
+}
+
+/* @group Code Colorization */
+
+span.keyword {
+ color: #008000
+}
+
+span.keywordtype {
+ color: #604020
+}
+
+span.keywordflow {
+ color: #e08000
+}
+
+span.comment {
+ color: #800000
+}
+
+span.preprocessor {
+ color: #806020
+}
+
+span.stringliteral {
+ color: #002080
+}
+
+span.charliteral {
+ color: #008080
+}
+
+span.vhdldigit {
+ color: #ff00ff
+}
+
+span.vhdlchar {
+ color: #000000
+}
+
+span.vhdlkeyword {
+ color: #700070
+}
+
+span.vhdllogic {
+ color: #ff0000
+}
+
+blockquote {
+ background-color: #F8F8F8;
+ border-left: 2px solid #B0B0B0;
+ margin: 0 24px 0 4px;
+ padding: 0 12px 0 16px;
+}
+
+/* @end */
+
+/*
+.search {
+ color: #003399;
+ font-weight: bold;
+}
+
+form.search {
+ margin-bottom: 0px;
+ margin-top: 0px;
+}
+
+input.search {
+ font-size: 75%;
+ color: #000080;
+ font-weight: normal;
+ background-color: #e8eef2;
+}
+*/
+
+td.tiny {
+ font-size: 75%;
+}
+
+.dirtab {
+ padding: 4px;
+ border-collapse: collapse;
+ border: 1px solid #B5B5B5;
+}
+
+th.dirtab {
+ background: #EFEFEF;
+ font-weight: bold;
+}
+
+hr {
+ height: 0px;
+ border: none;
+ border-top: 1px solid #6E6E6E;
+}
+
+hr.footer {
+ height: 1px;
+}
+
+/* @group Member Descriptions */
+
+table.memberdecls {
+ border-spacing: 0px;
+ padding: 0px;
+}
+
+.memberdecls td {
+ -webkit-transition-property: background-color, box-shadow;
+ -webkit-transition-duration: 0.5s;
+ -moz-transition-property: background-color, box-shadow;
+ -moz-transition-duration: 0.5s;
+ -ms-transition-property: background-color, box-shadow;
+ -ms-transition-duration: 0.5s;
+ -o-transition-property: background-color, box-shadow;
+ -o-transition-duration: 0.5s;
+ transition-property: background-color, box-shadow;
+ transition-duration: 0.5s;
+}
+
+.memberdecls td.glow {
+ background-color: cyan;
+ box-shadow: 0 0 15px cyan;
+}
+
+.mdescLeft, .mdescRight,
+.memItemLeft, .memItemRight,
+.memTemplItemLeft, .memTemplItemRight, .memTemplParams {
+ background-color: #FAFAFA;
+ border: none;
+ margin: 4px;
+ padding: 1px 0 0 8px;
+}
+
+.mdescLeft, .mdescRight {
+ padding: 0px 8px 4px 8px;
+ color: #555;
+}
+
+.memItemLeft, .memItemRight, .memTemplParams {
+ border-top: 1px solid #D0D0D0;
+}
+
+.memItemLeft, .memTemplItemLeft {
+ white-space: nowrap;
+}
+
+.memItemRight {
+ width: 100%;
+}
+
+.memTemplParams {
+ color: #686868;
+ white-space: nowrap;
+}
+
+/* @end */
+
+/* @group Member Details */
+
+/* Styles for detailed member documentation */
+
+.memtemplate {
+ font-size: 80%;
+ color: #686868;
+ font-weight: normal;
+ margin-left: 9px;
+}
+
+.memnav {
+ background-color: #EFEFEF;
+ border: 1px solid #B5B5B5;
+ text-align: center;
+ margin: 2px;
+ margin-right: 15px;
+ padding: 2px;
+}
+
+.mempage {
+ width: 100%;
+}
+
+.memitem {
+ padding: 0;
+ margin-bottom: 10px;
+ margin-right: 5px;
+ -webkit-transition: box-shadow 0.5s linear;
+ -moz-transition: box-shadow 0.5s linear;
+ -ms-transition: box-shadow 0.5s linear;
+ -o-transition: box-shadow 0.5s linear;
+ transition: box-shadow 0.5s linear;
+ display: table !important;
+ width: 100%;
+}
+
+.memitem.glow {
+ box-shadow: 0 0 15px cyan;
+}
+
+.memname {
+ font-weight: bold;
+ margin-left: 6px;
+}
+
+.memname td {
+ vertical-align: bottom;
+}
+
+.memproto, dl.reflist dt {
+ border-top: 1px solid #B9B9B9;
+ border-left: 1px solid #B9B9B9;
+ border-right: 1px solid #B9B9B9;
+ padding: 6px 0px 6px 0px;
+ color: #323232;
+ font-weight: bold;
+ text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
+ background-image:url('nav_f.png');
+ background-repeat:repeat-x;
+ background-color: #E8E8E8;
+ /* opera specific markup */
+ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
+ border-top-right-radius: 4px;
+ border-top-left-radius: 4px;
+ /* firefox specific markup */
+ -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
+ -moz-border-radius-topright: 4px;
+ -moz-border-radius-topleft: 4px;
+ /* webkit specific markup */
+ -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
+ -webkit-border-top-right-radius: 4px;
+ -webkit-border-top-left-radius: 4px;
+
+}
+
+.memdoc, dl.reflist dd {
+ border-bottom: 1px solid #B9B9B9;
+ border-left: 1px solid #B9B9B9;
+ border-right: 1px solid #B9B9B9;
+ padding: 6px 10px 2px 10px;
+ background-color: #FCFCFC;
+ border-top-width: 0;
+ background-image:url('nav_g.png');
+ background-repeat:repeat-x;
+ background-color: #FFFFFF;
+ /* opera specific markup */
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 4px;
+ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
+ /* firefox specific markup */
+ -moz-border-radius-bottomleft: 4px;
+ -moz-border-radius-bottomright: 4px;
+ -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
+ /* webkit specific markup */
+ -webkit-border-bottom-left-radius: 4px;
+ -webkit-border-bottom-right-radius: 4px;
+ -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
+}
+
+dl.reflist dt {
+ padding: 5px;
+}
+
+dl.reflist dd {
+ margin: 0px 0px 10px 0px;
+ padding: 5px;
+}
+
+.paramkey {
+ text-align: right;
+}
+
+.paramtype {
+ white-space: nowrap;
+}
+
+.paramname {
+ color: #602020;
+ white-space: nowrap;
+}
+.paramname em {
+ font-style: normal;
+}
+.paramname code {
+ line-height: 14px;
+}
+
+.params, .retval, .exception, .tparams {
+ margin-left: 0px;
+ padding-left: 0px;
+}
+
+.params .paramname, .retval .paramname {
+ font-weight: bold;
+ vertical-align: top;
+}
+
+.params .paramtype {
+ font-style: italic;
+ vertical-align: top;
+}
+
+.params .paramdir {
+ font-family: "courier new",courier,monospace;
+ vertical-align: top;
+}
+
+table.mlabels {
+ border-spacing: 0px;
+}
+
+td.mlabels-left {
+ width: 100%;
+ padding: 0px;
+}
+
+td.mlabels-right {
+ vertical-align: bottom;
+ padding: 0px;
+ white-space: nowrap;
+}
+
+span.mlabels {
+ margin-left: 8px;
+}
+
+span.mlabel {
+ background-color: #8F8F8F;
+ border-top:1px solid #787878;
+ border-left:1px solid #787878;
+ border-right:1px solid #D0D0D0;
+ border-bottom:1px solid #D0D0D0;
+ text-shadow: none;
+ color: white;
+ margin-right: 4px;
+ padding: 2px 3px;
+ border-radius: 3px;
+ font-size: 7pt;
+ white-space: nowrap;
+}
+
+
+
+/* @end */
+
+/* these are for tree view when not used as main index */
+
+div.directory {
+ margin: 10px 0px;
+ border-top: 1px solid #A8B8D9;
+ border-bottom: 1px solid #A8B8D9;
+ width: 100%;
+}
+
+.directory table {
+ border-collapse:collapse;
+ width: 100%;
+}
+
+.directory td {
+ margin: 0px;
+ padding: 0px;
+ vertical-align: top;
+}
+
+.directory td.entry {
+ width: 20%;
+ white-space: nowrap;
+ padding-right: 6px;
+}
+
+.directory td.entry a {
+ outline:none;
+}
+
+.directory td.entry a img {
+ border: none;
+}
+
+.directory td.desc {
+ width: 80%;
+ padding-left: 6px;
+ padding-right: 6px;
+ border-left: 1px solid rgba(0,0,0,0.05);
+}
+
+.directory tr.even {
+ padding-left: 6px;
+ background-color: #F8F8F8;
+}
+
+.directory img {
+ vertical-align: -30%;
+}
+
+.directory .levels {
+ white-space: nowrap;
+ width: 100%;
+ text-align: right;
+ font-size: 9pt;
+}
+
+.directory .levels span {
+ cursor: pointer;
+ padding-left: 2px;
+ padding-right: 2px;
+ color: #585858;
+}
+
+div.dynheader {
+ margin-top: 8px;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+address {
+ font-style: normal;
+ color: #3A3A3A;
+}
+
+table.doxtable {
+ border-collapse:collapse;
+ margin-top: 4px;
+ margin-bottom: 4px;
+}
+
+table.doxtable td, table.doxtable th {
+ border: 1px solid #3F3F3F;
+ padding: 3px 7px 2px;
+}
+
+table.doxtable th {
+ background-color: #4F4F4F;
+ color: #FFFFFF;
+ font-size: 110%;
+ padding-bottom: 4px;
+ padding-top: 5px;
+}
+
+table.fieldtable {
+ width: 100%;
+ margin-bottom: 10px;
+ border: 1px solid #B9B9B9;
+ border-spacing: 0px;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+ -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
+ -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
+ box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
+}
+
+.fieldtable td, .fieldtable th {
+ padding: 3px 7px 2px;
+}
+
+.fieldtable td.fieldtype, .fieldtable td.fieldname {
+ white-space: nowrap;
+ border-right: 1px solid #B9B9B9;
+ border-bottom: 1px solid #B9B9B9;
+ vertical-align: top;
+}
+
+.fieldtable td.fielddoc {
+ border-bottom: 1px solid #B9B9B9;
+ width: 100%;
+}
+
+.fieldtable tr:last-child td {
+ border-bottom: none;
+}
+
+.fieldtable th {
+ background-image:url('nav_f.png');
+ background-repeat:repeat-x;
+ background-color: #E8E8E8;
+ font-size: 90%;
+ color: #323232;
+ padding-bottom: 4px;
+ padding-top: 5px;
+ text-align:left;
+ -moz-border-radius-topleft: 4px;
+ -moz-border-radius-topright: 4px;
+ -webkit-border-top-left-radius: 4px;
+ -webkit-border-top-right-radius: 4px;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ border-bottom: 1px solid #B9B9B9;
+}
+
+
+.tabsearch {
+ top: 0px;
+ left: 10px;
+ height: 36px;
+ background-image: url('tab_b.png');
+ z-index: 101;
+ overflow: hidden;
+ font-size: 13px;
+}
+
+.navpath ul
+{
+ font-size: 11px;
+ background-image:url('tab_b.png');
+ background-repeat:repeat-x;
+ height:30px;
+ line-height:30px;
+ color:#A2A2A2;
+ border:solid 1px #CECECE;
+ overflow:hidden;
+ margin:0px;
+ padding:0px;
+}
+
+.navpath li
+{
+ list-style-type:none;
+ float:left;
+ padding-left:10px;
+ padding-right:15px;
+ background-image:url('bc_s.png');
+ background-repeat:no-repeat;
+ background-position:right;
+ color:#4D4D4D;
+}
+
+.navpath li.navelem a
+{
+ height:32px;
+ display:block;
+ text-decoration: none;
+ outline: none;
+}
+
+.navpath li.navelem a:hover
+{
+ color:#888888;
+}
+
+.navpath li.footer
+{
+ list-style-type:none;
+ float:right;
+ padding-left:10px;
+ padding-right:15px;
+ background-image:none;
+ background-repeat:no-repeat;
+ background-position:right;
+ color:#4D4D4D;
+ font-size: 8pt;
+}
+
+
+div.summary
+{
+ float: right;
+ font-size: 8pt;
+ padding-right: 5px;
+ width: 50%;
+ text-align: right;
+}
+
+div.summary a
+{
+ white-space: nowrap;
+}
+
+div.ingroups
+{
+ font-size: 8pt;
+ width: 50%;
+ text-align: left;
+}
+
+div.ingroups a
+{
+ white-space: nowrap;
+}
+
+div.header
+{
+ background-image:url('nav_h.png');
+ background-repeat:repeat-x;
+ background-color: #FAFAFA;
+ margin: 0px;
+ border-bottom: 1px solid #D0D0D0;
+}
+
+div.headertitle
+{
+ padding: 5px 5px 5px 7px;
+}
+
+dl
+{
+ padding: 0 0 0 10px;
+}
+
+/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */
+dl.section
+{
+ margin-left: 0px;
+ padding-left: 0px;
+}
+
+dl.note
+{
+ margin-left:-7px;
+ padding-left: 3px;
+ border-left:4px solid;
+ border-color: #D0C000;
+}
+
+dl.warning, dl.attention
+{
+ margin-left:-7px;
+ padding-left: 3px;
+ border-left:4px solid;
+ border-color: #FF0000;
+}
+
+dl.pre, dl.post, dl.invariant
+{
+ margin-left:-7px;
+ padding-left: 3px;
+ border-left:4px solid;
+ border-color: #00D000;
+}
+
+dl.deprecated
+{
+ margin-left:-7px;
+ padding-left: 3px;
+ border-left:4px solid;
+ border-color: #505050;
+}
+
+dl.todo
+{
+ margin-left:-7px;
+ padding-left: 3px;
+ border:4px solid;
+ border-color: #00C0E0;
+}
+
+dl.test
+{
+ margin-left:-7px;
+ padding-left: 3px;
+ border-left:4px solid;
+ border-color: #3030E0;
+}
+
+dl.bug
+{
+ margin-left:-7px;
+ padding-left: 3px;
+ border-left:4px solid;
+ border-color: #C08050;
+}
+
+dl.section dd {
+ margin-bottom: 6px;
+}
+
+
+#projectlogo
+{
+ text-align: center;
+ vertical-align: bottom;
+ border-collapse: separate;
+}
+
+#projectlogo img
+{
+ border: 0px none;
+}
+
+#projectname
+{
+ font: 300% Tahoma, Arial,sans-serif;
+ margin: 0px;
+ padding: 2px 0px;
+}
+
+#projectbrief
+{
+ font: 120% Tahoma, Arial,sans-serif;
+ margin: 0px;
+ padding: 0px;
+}
+
+#projectnumber
+{
+ font: 50% Tahoma, Arial,sans-serif;
+ margin: 0px;
+ padding: 0px;
+}
+
+#titlearea
+{
+ padding: 0px;
+ margin: 0px;
+ width: 100%;
+ border-bottom: 1px solid #787878;
+}
+
+.image
+{
+ text-align: center;
+}
+
+.dotgraph
+{
+ text-align: center;
+}
+
+.mscgraph
+{
+ text-align: center;
+}
+
+.caption
+{
+ font-weight: bold;
+}
+
+div.zoom
+{
+ border: 1px solid #A6A6A6;
+}
+
+dl.citelist {
+ margin-bottom:50px;
+}
+
+dl.citelist dt {
+ color:#484848;
+ float:left;
+ font-weight:bold;
+ margin-right:10px;
+ padding:5px;
+}
+
+dl.citelist dd {
+ margin:2px 0;
+ padding:5px 0;
+}
+
+div.toc {
+ padding: 14px 25px;
+ background-color: #F6F6F6;
+ border: 1px solid #DFDFDF;
+ border-radius: 7px 7px 7px 7px;
+ float: right;
+ height: auto;
+ margin: 0 20px 10px 10px;
+ width: 200px;
+}
+
+div.toc li {
+ background: url("bdwn.png") no-repeat scroll 0 5px transparent;
+ font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif;
+ margin-top: 5px;
+ padding-left: 10px;
+ padding-top: 2px;
+}
+
+div.toc h3 {
+ font: bold 12px/1.2 Arial,FreeSans,sans-serif;
+ color: #686868;
+ border-bottom: 0 none;
+ margin: 0;
+}
+
+div.toc ul {
+ list-style: none outside none;
+ border: medium none;
+ padding: 0px;
+}
+
+div.toc li.level1 {
+ margin-left: 0px;
+}
+
+div.toc li.level2 {
+ margin-left: 15px;
+}
+
+div.toc li.level3 {
+ margin-left: 30px;
+}
+
+div.toc li.level4 {
+ margin-left: 45px;
+}
+
+.inherit_header {
+ font-weight: bold;
+ color: gray;
+ cursor: pointer;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+.inherit_header td {
+ padding: 6px 0px 2px 5px;
+}
+
+.inherit {
+ display: none;
+}
+
+tr.heading h2 {
+ margin-top: 12px;
+ margin-bottom: 4px;
+}
+
+@media print
+{
+ #top { display: none; }
+ #side-nav { display: none; }
+ #nav-path { display: none; }
+ body { overflow:visible; }
+ h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
+ .summary { display: none; }
+ .memitem { page-break-inside: avoid; }
+ #doc-content
+ {
+ margin-left:0 !important;
+ height:auto !important;
+ width:auto !important;
+ overflow:inherit;
+ display:inline;
+ }
+}
diff --git a/docs/named_data_theme/static/foundation.css b/docs/named_data_theme/static/foundation.css
new file mode 100644
index 0000000..ff1330e
--- /dev/null
+++ b/docs/named_data_theme/static/foundation.css
@@ -0,0 +1,788 @@
+.c-1, .c-2, .c-3, .c-4, .c-5, .c-6, .c-7, .c-8, .c-9, .c-10, .c-11, .c-12 { float: left; }
+
+.c-1, .c-2, .c-3, .c-4, .c-5, .c-6, .c-7, .c-8, .c-9, .c-10, .c-11, .c-12 { position: relative; min-height: 1px; padding: 0 15px; }
+
+.c-1 { width: 8.33333%; }
+
+.c-2 { width: 16.66667%; }
+
+.c-3 { width: 25%; }
+
+.c-4 { width: 33.33333%; }
+
+.c-5 { width: 41.66667%; }
+
+.c-6 { width: 50%; }
+
+.c-7 { width: 58.33333%; }
+
+.c-8 { width: 66.66667%; }
+
+.c-9 { width: 75%; }
+
+.c-10 { width: 83.33333%; }
+
+.c-11 { width: 91.66667%; }
+
+.c-12 { width: 100%; }
+
+/* Requires: normalize.css */
+/* Global Reset & Standards ---------------------- */
+* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
+
+html { font-size: 62.5%; }
+
+body { background: white; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1; color: #222222; position: relative; -webkit-font-smoothing: antialiased; }
+
+/* Links ---------------------- */
+a { color: #fd7800; text-decoration: none; line-height: inherit; }
+
+a:hover { color: #2795b6; }
+
+a:focus { color: #fd7800; outline: none; }
+
+p a, p a:visited { line-height: inherit; }
+
+/* Misc ---------------------- */
+.left { float: left; }
+@media only screen and (max-width: 767px) { .left { float: none; } }
+
+.right { float: right; }
+@media only screen and (max-width: 767px) { .right { float: none; } }
+
+.text-left { text-align: left; }
+
+.text-right { text-align: right; }
+
+.text-center { text-align: center; }
+
+.hide { display: none; }
+
+.highlight { background: #ffff99; }
+
+#googlemap img, object, embed { max-width: none; }
+
+#map_canvas embed { max-width: none; }
+
+#map_canvas img { max-width: none; }
+
+#map_canvas object { max-width: none; }
+
+/* Reset for strange margins by default on <figure> elements */
+figure { margin: 0; }
+
+/* Base Type Styles Using Modular Scale ---------------------- */
+body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; font-size: 14px; direction: ltr; }
+
+p { font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: normal; font-size: 14px; line-height: 1.6; margin-bottom: 17px; }
+p.lead { font-size: 17.5px; line-height: 1.6; margin-bottom: 17px; }
+
+aside p { font-size: 13px; line-height: 1.35; font-style: italic; }
+
+h1, h2, h3, h4, h5, h6 { font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: bold; color: #222222; text-rendering: optimizeLegibility; line-height: 1.0; margin-bottom: 14px; margin-top: 14px; }
+h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; }
+
+h1 { font-size: 24px; }
+
+h2 { font-size: 18px; }
+
+h3 { font-size: 14px; }
+
+h4 { font-size: 12px; }
+
+h5 { font-weight: bold; font-size: 12px; }
+
+h6 { font-style: italic; font-size: 12px; }
+
+hr { border: solid #c6c6c6; border-width: 1px 0 0; clear: both; margin: 22px 0 21px; height: 0; }
+
+.subheader { line-height: 1.3; color: #6f6f6f; font-weight: 300; margin-bottom: 17px; }
+
+em, i { font-style: italic; line-height: inherit; }
+
+strong, b { font-weight: bold; line-height: inherit; }
+
+small { font-size: 60%; line-height: inherit; }
+
+code { font-weight: bold; background: #ffff99; }
+
+/* Lists ---------------------- */
+ul, ol { font-size: 14px; line-height: 1.6; margin-bottom: 17px; list-style-position: inside; }
+
+ul li ul, ul li ol { margin-left: 20px; margin-bottom: 0; }
+ul.square, ul.circle, ul.disc { margin-left: 17px; }
+ul.square { list-style-type: square; }
+ul.square li ul { list-style: inherit; }
+ul.circle { list-style-type: circle; }
+ul.circle li ul { list-style: inherit; }
+ul.disc { list-style-type: disc; }
+ul.disc li ul { list-style: inherit; }
+ul.no-bullet { list-style: none; }
+ul.large li { line-height: 21px; }
+
+ol li ul, ol li ol { margin-left: 20px; margin-bottom: 0; }
+
+/* Blockquotes ---------------------- */
+blockquote, blockquote p { line-height: 1.5; }
+
+blockquote { margin: 0 0 17px; padding: 9px 20px 0 19px; }
+blockquote cite { display: block; font-size: 13pt; color: #555555; }
+blockquote cite:before { content: "\2014 \0020"; }
+blockquote cite a, blockquote cite a:visited { color: #555555; }
+
+abbr, acronym { text-transform: uppercase; font-size: 90%; color: #222222; border-bottom: 1px solid #ddd; cursor: help; }
+
+abbr { text-transform: none; }
+
+/* Print styles. Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/ Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
+*/
+.print-only { display: none !important; }
+
+@media print { * { background: transparent !important; color: black !important; box-shadow: none !important; text-shadow: none !important; filter: none !important; -ms-filter: none !important; }
+ /* Black prints faster: h5bp.com/s */
+ a, a:visited { text-decoration: underline; }
+ a[href]:after { content: " (" attr(href) ")"; }
+ abbr[title]:after { content: " (" attr(title) ")"; }
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
+ /* Don't show links for images, or javascript/internal links */
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
+ thead { display: table-header-group; }
+ /* h5bp.com/t */
+ tr, img { page-break-inside: avoid; }
+ img { max-width: 100% !important; }
+ @page { margin: 0.5cm; }
+ p, h2, h3 { orphans: 3; widows: 3; }
+ h2, h3 { page-break-after: avoid; }
+ .hide-on-print { display: none !important; }
+ .print-only { display: block !important; } }
+/* Requires globals.css */
+/* Standard Forms ---------------------- */
+form { margin: 0 0 19.41641px; }
+
+.row form .row { margin: 0 -6px; }
+.row form .row .column, .row form .row .columns { padding: 0 6px; }
+.row form .row.collapse { margin: 0; }
+.row form .row.collapse .column, .row form .row.collapse .columns { padding: 0; }
+
+label { font-size: 14px; color: #4d4d4d; cursor: pointer; display: block; font-weight: 500; margin-bottom: 3px; }
+label.right { float: none; text-align: right; }
+label.inline { line-height: 32px; margin: 0 0 12px 0; }
+
+@media only screen and (max-width: 767px) { label.right { text-align: left; } }
+.prefix, .postfix { display: block; position: relative; z-index: 2; text-align: center; width: 100%; padding-top: 0; padding-bottom: 0; height: 32px; line-height: 31px; }
+
+a.button.prefix, a.button.postfix { padding-left: 0; padding-right: 0; text-align: center; }
+
+span.prefix, span.postfix { background: #f2f2f2; border: 1px solid #cccccc; }
+
+.prefix { left: 2px; -moz-border-radius-topleft: 2px; -webkit-border-top-left-radius: 2px; border-top-left-radius: 2px; -moz-border-radius-bottomleft: 2px; -webkit-border-bottom-left-radius: 2px; border-bottom-left-radius: 2px; overflow: hidden; }
+
+.postfix { right: 2px; -moz-border-radius-topright: 2px; -webkit-border-top-right-radius: 2px; border-top-right-radius: 2px; -moz-border-radius-bottomright: 2px; -webkit-border-bottom-right-radius: 2px; border-bottom-right-radius: 2px; }
+
+input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea { font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; border: 1px solid #cccccc; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.75); display: block; font-size: 14px; margin: 0 0 12px 0; padding: 6px; height: 32px; width: 100%; -webkit-transition: all 0.15s linear; -moz-transition: all 0.15s linear; -o-transition: all 0.15s linear; transition: all 0.15s linear; }
+input[type="text"].oversize, input[type="password"].oversize, input[type="date"].oversize, input[type="datetime"].oversize, input[type="email"].oversize, input[type="number"].oversize, input[type="search"].oversize, input[type="tel"].oversize, input[type="time"].oversize, input[type="url"].oversize, textarea.oversize { font-size: 17px; padding: 4px 6px; }
+input[type="text"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="time"]:focus, input[type="url"]:focus, textarea:focus { background: #fafafa; outline: none !important; border-color: #b3b3b3; }
+input[type="text"][disabled], input[type="password"][disabled], input[type="date"][disabled], input[type="datetime"][disabled], input[type="email"][disabled], input[type="number"][disabled], input[type="search"][disabled], input[type="tel"][disabled], input[type="time"][disabled], input[type="url"][disabled], textarea[disabled] { background-color: #ddd; }
+
+textarea { height: auto; }
+
+select { width: 100%; }
+
+/* Fieldsets */
+fieldset { border: solid 1px #ddd; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; padding: 12px 12px 0; margin: 18px 0; }
+fieldset legend { font-weight: bold; background: white; padding: 0 3px; margin: 0; margin-left: -3px; }
+
+/* Errors */
+.error input, input.error, .error textarea, textarea.error { border-color: #c60f13; background-color: rgba(198, 15, 19, 0.1); }
+
+.error label, label.error { color: #c60f13; }
+
+.error small, small.error { display: block; padding: 6px 4px; margin-top: -13px; margin-bottom: 12px; background: #c60f13; color: #fff; font-size: 12px; font-size: 1.2rem; font-weight: bold; -moz-border-radius-bottomleft: 2px; -webkit-border-bottom-left-radius: 2px; border-bottom-left-radius: 2px; -moz-border-radius-bottomright: 2px; -webkit-border-bottom-right-radius: 2px; border-bottom-right-radius: 2px; }
+
+@media only screen and (max-width: 767px) { input[type="text"].one, input[type="password"].one, input[type="date"].one, input[type="datetime"].one, input[type="email"].one, input[type="number"].one, input[type="search"].one, input[type="tel"].one, input[type="time"].one, input[type="url"].one, textarea.one, .row textarea.one { width: 100% !important; }
+ input[type="text"].two, .row input[type="text"].two, input[type="password"].two, .row input[type="password"].two, input[type="date"].two, .row input[type="date"].two, input[type="datetime"].two, .row input[type="datetime"].two, input[type="email"].two, .row input[type="email"].two, input[type="number"].two, .row input[type="number"].two, input[type="search"].two, .row input[type="search"].two, input[type="tel"].two, .row input[type="tel"].two, input[type="time"].two, .row input[type="time"].two, input[type="url"].two, .row input[type="url"].two, textarea.two, .row textarea.two { width: 100% !important; }
+ input[type="text"].three, .row input[type="text"].three, input[type="password"].three, .row input[type="password"].three, input[type="date"].three, .row input[type="date"].three, input[type="datetime"].three, .row input[type="datetime"].three, input[type="email"].three, .row input[type="email"].three, input[type="number"].three, .row input[type="number"].three, input[type="search"].three, .row input[type="search"].three, input[type="tel"].three, .row input[type="tel"].three, input[type="time"].three, .row input[type="time"].three, input[type="url"].three, .row input[type="url"].three, textarea.three, .row textarea.three { width: 100% !important; }
+ input[type="text"].four, .row input[type="text"].four, input[type="password"].four, .row input[type="password"].four, input[type="date"].four, .row input[type="date"].four, input[type="datetime"].four, .row input[type="datetime"].four, input[type="email"].four, .row input[type="email"].four, input[type="number"].four, .row input[type="number"].four, input[type="search"].four, .row input[type="search"].four, input[type="tel"].four, .row input[type="tel"].four, input[type="time"].four, .row input[type="time"].four, input[type="url"].four, .row input[type="url"].four, textarea.four, .row textarea.four { width: 100% !important; }
+ input[type="text"].five, .row input[type="text"].five, input[type="password"].five, .row input[type="password"].five, input[type="date"].five, .row input[type="date"].five, input[type="datetime"].five, .row input[type="datetime"].five, input[type="email"].five, .row input[type="email"].five, input[type="number"].five, .row input[type="number"].five, input[type="search"].five, .row input[type="search"].five, input[type="tel"].five, .row input[type="tel"].five, input[type="time"].five, .row input[type="time"].five, input[type="url"].five, .row input[type="url"].five, textarea.five, .row textarea.five { width: 100% !important; }
+ input[type="text"].six, .row input[type="text"].six, input[type="password"].six, .row input[type="password"].six, input[type="date"].six, .row input[type="date"].six, input[type="datetime"].six, .row input[type="datetime"].six, input[type="email"].six, .row input[type="email"].six, input[type="number"].six, .row input[type="number"].six, input[type="search"].six, .row input[type="search"].six, input[type="tel"].six, .row input[type="tel"].six, input[type="time"].six, .row input[type="time"].six, input[type="url"].six, .row input[type="url"].six, textarea.six, .row textarea.six { width: 100% !important; }
+ input[type="text"].seven, .row input[type="text"].seven, input[type="password"].seven, .row input[type="password"].seven, input[type="date"].seven, .row input[type="date"].seven, input[type="datetime"].seven, .row input[type="datetime"].seven, input[type="email"].seven, .row input[type="email"].seven, input[type="number"].seven, .row input[type="number"].seven, input[type="search"].seven, .row input[type="search"].seven, input[type="tel"].seven, .row input[type="tel"].seven, input[type="time"].seven, .row input[type="time"].seven, input[type="url"].seven, .row input[type="url"].seven, textarea.seven, .row textarea.seven { width: 100% !important; }
+ input[type="text"].eight, .row input[type="text"].eight, input[type="password"].eight, .row input[type="password"].eight, input[type="date"].eight, .row input[type="date"].eight, input[type="datetime"].eight, .row input[type="datetime"].eight, input[type="email"].eight, .row input[type="email"].eight, input[type="number"].eight, .row input[type="number"].eight, input[type="search"].eight, .row input[type="search"].eight, input[type="tel"].eight, .row input[type="tel"].eight, input[type="time"].eight, .row input[type="time"].eight, input[type="url"].eight, .row input[type="url"].eight, textarea.eight, .row textarea.eight { width: 100% !important; }
+ input[type="text"].nine, .row input[type="text"].nine, input[type="password"].nine, .row input[type="password"].nine, input[type="date"].nine, .row input[type="date"].nine, input[type="datetime"].nine, .row input[type="datetime"].nine, input[type="email"].nine, .row input[type="email"].nine, input[type="number"].nine, .row input[type="number"].nine, input[type="search"].nine, .row input[type="search"].nine, input[type="tel"].nine, .row input[type="tel"].nine, input[type="time"].nine, .row input[type="time"].nine, input[type="url"].nine, .row input[type="url"].nine, textarea.nine, .row textarea.nine { width: 100% !important; }
+ input[type="text"].ten, .row input[type="text"].ten, input[type="password"].ten, .row input[type="password"].ten, input[type="date"].ten, .row input[type="date"].ten, input[type="datetime"].ten, .row input[type="datetime"].ten, input[type="email"].ten, .row input[type="email"].ten, input[type="number"].ten, .row input[type="number"].ten, input[type="search"].ten, .row input[type="search"].ten, input[type="tel"].ten, .row input[type="tel"].ten, input[type="time"].ten, .row input[type="time"].ten, input[type="url"].ten, .row input[type="url"].ten, textarea.ten, .row textarea.ten { width: 100% !important; }
+ input[type="text"].eleven, .row input[type="text"].eleven, input[type="password"].eleven, .row input[type="password"].eleven, input[type="date"].eleven, .row input[type="date"].eleven, input[type="datetime"].eleven, .row input[type="datetime"].eleven, input[type="email"].eleven, .row input[type="email"].eleven, input[type="number"].eleven, .row input[type="number"].eleven, input[type="search"].eleven, .row input[type="search"].eleven, input[type="tel"].eleven, .row input[type="tel"].eleven, input[type="time"].eleven, .row input[type="time"].eleven, input[type="url"].eleven, .row input[type="url"].eleven, textarea.eleven, .row textarea.eleven { width: 100% !important; }
+ input[type="text"].twelve, .row input[type="text"].twelve, input[type="password"].twelve, .row input[type="password"].twelve, input[type="date"].twelve, .row input[type="date"].twelve, input[type="datetime"].twelve, .row input[type="datetime"].twelve, input[type="email"].twelve, .row input[type="email"].twelve, input[type="number"].twelve, .row input[type="number"].twelve, input[type="search"].twelve, .row input[type="search"].twelve, input[type="tel"].twelve, .row input[type="tel"].twelve, input[type="time"].twelve, .row input[type="time"].twelve, input[type="url"].twelve, .row input[type="url"].twelve, textarea.twelve, .row textarea.twelve { width: 100% !important; } }
+/* Custom Forms ---------------------- */
+form.custom { /* Custom input, disabled */ }
+form.custom span.custom { display: inline-block; width: 16px; height: 16px; position: relative; top: 2px; border: solid 1px #ccc; background: #fff; }
+form.custom span.custom.radio { -webkit-border-radius: 100px; -moz-border-radius: 100px; -ms-border-radius: 100px; -o-border-radius: 100px; border-radius: 100px; }
+form.custom span.custom.checkbox:before { content: ""; display: block; line-height: 0.8; height: 14px; width: 14px; text-align: center; position: absolute; top: 0; left: 0; font-size: 14px; color: #fff; }
+form.custom span.custom.radio.checked:before { content: ""; display: block; width: 8px; height: 8px; -webkit-border-radius: 100px; -moz-border-radius: 100px; -ms-border-radius: 100px; -o-border-radius: 100px; border-radius: 100px; background: #222; position: relative; top: 3px; left: 3px; }
+form.custom span.custom.checkbox.checked:before { content: "\00d7"; color: #222; }
+form.custom div.custom.dropdown { display: block; position: relative; width: auto; height: 28px; margin-bottom: 9px; margin-top: 2px; }
+form.custom div.custom.dropdown a.current { display: block; width: auto; line-height: 26px; min-height: 28px; padding: 0; padding-left: 6px; padding-right: 38px; border: solid 1px #ddd; color: #141414; background-color: #fff; white-space: nowrap; }
+form.custom div.custom.dropdown a.selector { position: absolute; width: 27px; height: 28px; display: block; right: 0; top: 0; border: solid 1px #ddd; }
+form.custom div.custom.dropdown a.selector:after { content: ""; display: block; content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: #aaaaaa transparent transparent transparent; position: absolute; left: 50%; top: 50%; margin-top: -2px; margin-left: -5px; }
+form.custom div.custom.dropdown:hover a.selector:after, form.custom div.custom.dropdown.open a.selector:after { content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: #222222 transparent transparent transparent; }
+form.custom div.custom.dropdown.open ul { display: block; z-index: 10; }
+form.custom div.custom.dropdown.small { width: 134px !important; }
+form.custom div.custom.dropdown.medium { width: 254px !important; }
+form.custom div.custom.dropdown.large { width: 434px !important; }
+form.custom div.custom.dropdown.expand { width: 100% !important; }
+form.custom div.custom.dropdown.open.small ul { width: 134px !important; }
+form.custom div.custom.dropdown.open.medium ul { width: 254px !important; }
+form.custom div.custom.dropdown.open.large ul { width: 434px !important; }
+form.custom div.custom.dropdown.open.expand ul { width: 100% !important; }
+form.custom div.custom.dropdown ul { position: absolute; width: auto; display: none; margin: 0; left: 0; top: 27px; margin: 0; padding: 0; background: #fff; background: rgba(255, 255, 255, 0.95); border: solid 1px #cccccc; }
+form.custom div.custom.dropdown ul li { color: #555; font-size: 13px; cursor: pointer; padding: 3px; padding-left: 6px; padding-right: 38px; min-height: 18px; line-height: 18px; margin: 0; white-space: nowrap; list-style: none; }
+form.custom div.custom.dropdown ul li.selected { background: #cdebf5; color: #000; }
+form.custom div.custom.dropdown ul li.selected:after { content: "\2013"; position: absolute; right: 10px; }
+form.custom div.custom.dropdown ul li:hover { background-color: #e3f4f9; color: #222; }
+form.custom div.custom.dropdown ul li:hover:after { content: "\2013"; position: absolute; right: 10px; color: #8ed3e7; }
+form.custom div.custom.dropdown ul li.selected:hover { background: #cdebf5; cursor: default; color: #000; }
+form.custom div.custom.dropdown ul li.selected:hover:after { color: #000; }
+form.custom div.custom.dropdown ul.show { display: block; }
+form.custom .custom.disabled { background-color: #ddd; }
+
+/* Correct FF custom dropdown height */
+@-moz-document url-prefix() { form.custom div.custom.dropdown a.selector { height: 30px; } }
+
+.lt-ie9 form.custom div.custom.dropdown a.selector { height: 30px; }
+
+/* The Grid ---------------------- */
+.row { width: 1000px; max-width: 100%; min-width: 768px; margin: 0 auto; }
+.row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; }
+.row.collapse .column, .row.collapse .columns { padding: 0; }
+.row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; }
+.row .row.collapse { margin: 0; }
+
+.column, .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; }
+.column.centered, .columns.centered { float: none; margin: 0 auto; }
+
+[class*="column"] + [class*="column"]:last-child { float: right; }
+
+[class*="column"] + [class*="column"].end { float: left; }
+
+.one, .row .one { width: 8.33333%; }
+
+.two, .row .two { width: 16.66667%; }
+
+.three, .row .three { width: 25%; }
+
+.four, .row .four { width: 33.33333%; }
+
+.five, .row .five { width: 41.66667%; }
+
+.six, .row .six { width: 50%; }
+
+.seven, .row .seven { width: 58.33333%; }
+
+.eight, .row .eight { width: 66.66667%; }
+
+.nine, .row .nine { width: 75%; }
+
+.ten, .row .ten { width: 83.33333%; }
+
+.eleven, .row .eleven { width: 91.66667%; }
+
+.twelve, .row .twelve { width: 100%; }
+
+.row .offset-by-one { margin-left: 8.33333%; }
+
+.row .offset-by-two { margin-left: 16.66667%; }
+
+.row .offset-by-three { margin-left: 25%; }
+
+.row .offset-by-four { margin-left: 33.33333%; }
+
+.row .offset-by-five { margin-left: 41.66667%; }
+
+.row .offset-by-six { margin-left: 50%; }
+
+.row .offset-by-seven { margin-left: 58.33333%; }
+
+.row .offset-by-eight { margin-left: 66.66667%; }
+
+.row .offset-by-nine { margin-left: 75%; }
+
+.row .offset-by-ten { margin-left: 83.33333%; }
+
+.push-two { left: 16.66667%; }
+
+.pull-two { right: 16.66667%; }
+
+.push-three { left: 25%; }
+
+.pull-three { right: 25%; }
+
+.push-four { left: 33.33333%; }
+
+.pull-four { right: 33.33333%; }
+
+.push-five { left: 41.66667%; }
+
+.pull-five { right: 41.66667%; }
+
+.push-six { left: 50%; }
+
+.pull-six { right: 50%; }
+
+.push-seven { left: 58.33333%; }
+
+.pull-seven { right: 58.33333%; }
+
+.push-eight { left: 66.66667%; }
+
+.pull-eight { right: 66.66667%; }
+
+.push-nine { left: 75%; }
+
+.pull-nine { right: 75%; }
+
+.push-ten { left: 83.33333%; }
+
+.pull-ten { right: 83.33333%; }
+
+img, object, embed { max-width: 100%; height: auto; }
+
+object, embed { height: 100%; }
+
+img { -ms-interpolation-mode: bicubic; }
+
+#map_canvas img, .map_canvas img { max-width: none!important; }
+
+/* Nicolas Gallagher's micro clearfix */
+.row { *zoom: 1; }
+.row:before, .row:after { content: ""; display: table; }
+.row:after { clear: both; }
+
+/* Mobile Grid and Overrides ---------------------- */
+@media only screen and (max-width: 767px) { body { -webkit-text-size-adjust: none; -ms-text-size-adjust: none; width: 100%; min-width: 0; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
+ .row { width: auto; min-width: 0; margin-left: 0; margin-right: 0; }
+ .column, .columns { width: auto !important; float: none; }
+ .column:last-child, .columns:last-child { float: none; }
+ [class*="column"] + [class*="column"]:last-child { float: none; }
+ .column:before, .columns:before, .column:after, .columns:after { content: ""; display: table; }
+ .column:after, .columns:after { clear: both; }
+ .offset-by-one, .offset-by-two, .offset-by-three, .offset-by-four, .offset-by-five, .offset-by-six, .offset-by-seven, .offset-by-eight, .offset-by-nine, .offset-by-ten { margin-left: 0 !important; }
+ .push-two, .push-three, .push-four, .push-five, .push-six, .push-seven, .push-eight, .push-nine, .push-ten { left: auto; }
+ .pull-two, .pull-three, .pull-four, .pull-five, .pull-six, .pull-seven, .pull-eight, .pull-nine, .pull-ten { right: auto; }
+ /* Mobile 4-column Grid */
+ .row .mobile-one { width: 25% !important; float: left; padding: 0 15px; }
+ .row .mobile-one:last-child { float: right; }
+ .row.collapse .mobile-one { padding: 0; }
+ .row .mobile-two { width: 50% !important; float: left; padding: 0 15px; }
+ .row .mobile-two:last-child { float: right; }
+ .row.collapse .mobile-two { padding: 0; }
+ .row .mobile-three { width: 75% !important; float: left; padding: 0 15px; }
+ .row .mobile-three:last-child { float: right; }
+ .row.collapse .mobile-three { padding: 0; }
+ .row .mobile-four { width: 100% !important; float: left; padding: 0 15px; }
+ .row .mobile-four:last-child { float: right; }
+ .row.collapse .mobile-four { padding: 0; }
+ .push-one-mobile { left: 25%; }
+ .pull-one-mobile { right: 25%; }
+ .push-two-mobile { left: 50%; }
+ .pull-two-mobile { right: 50%; }
+ .push-three-mobile { left: 75%; }
+ .pull-three-mobile { right: 75%; } }
+/* Block Grids ---------------------- */
+/* These are 2-up, 3-up, 4-up and 5-up ULs, suited
+for repeating blocks of content. Add 'mobile' to
+them to switch them just like the layout grid
+(one item per line) on phones
+
+For IE7/8 compatibility block-grid items need to be
+the same height. You can optionally uncomment the
+lines below to support arbitrary height, but know
+that IE7/8 do not support :nth-child.
+-------------------------------------------------- */
+.block-grid { display: block; overflow: hidden; padding: 0; }
+.block-grid > li { display: block; height: auto; float: left; }
+.block-grid.one-up { margin: 0; }
+.block-grid.one-up > li { width: 100%; padding: 0 0 15px; }
+.block-grid.two-up { margin: 0 -15px; }
+.block-grid.two-up > li { width: 50%; padding: 0 15px 15px; }
+.block-grid.two-up > li:nth-child(2n+1) { clear: both; }
+.block-grid.three-up { margin: 0 -12px; }
+.block-grid.three-up > li { width: 33.33%; padding: 0 12px 12px; }
+.block-grid.three-up > li:nth-child(3n+1) { clear: both; }
+.block-grid.four-up { margin: 0 -10px; }
+.block-grid.four-up > li { width: 25%; padding: 0 10px 10px; }
+.block-grid.four-up > li:nth-child(4n+1) { clear: both; }
+.block-grid.five-up { margin: 0 -8px; }
+.block-grid.five-up > li { width: 20%; padding: 0 8px 8px; }
+.block-grid.five-up > li:nth-child(5n+1) { clear: both; }
+
+/* Mobile Block Grids */
+@media only screen and (max-width: 767px) { .block-grid.mobile > li { float: none; width: 100%; margin-left: 0; }
+ .block-grid > li { clear: none !important; }
+ .block-grid.mobile-two-up > li { width: 50%; }
+ .block-grid.mobile-two-up > li:nth-child(2n+1) { clear: both; }
+ .block-grid.mobile-three-up > li { width: 33.33%; }
+ .block-grid.mobile-three-up > li:nth-child(3n+1) { clear: both !important; }
+ .block-grid.mobile-four-up > li { width: 25%; }
+ .block-grid.mobile-four-up > li:nth-child(4n+1) { clear: both; }
+ .block-grid.mobile-five-up > li:nth-child(5n+1) { clear: both; } }
+/* Requires globals.css */
+/* Normal Buttons ---------------------- */
+.button { width: auto; background: #fd7800; border: 1px solid #ce6200; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; color: white; cursor: pointer; display: inline-block; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1; margin: 0; outline: none; padding: 10px 20px 11px; position: relative; text-align: center; text-decoration: none; -webkit-transition: background-color 0.15s ease-in-out; -moz-transition: background-color 0.15s ease-in-out; -o-transition: background-color 0.15s ease-in-out; transition: background-color 0.15s ease-in-out; /* Hovers */ /* Sizes */ /* Colors */ /* Radii */ /* Layout */ /* Disabled ---------- */ }
+.button:hover { color: white; background-color: #ce6200; }
+.button:active { -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset; -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset; }
+.button:focus { -webkit-box-shadow: 0 0 4px #fd7800, 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 0 4px #fd7800, 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 0 4px #fd7800, 0 1px 0 rgba(255, 255, 255, 0.5) inset; color: white; }
+.button.large { font-size: 17px; padding: 15px 30px 16px; }
+.button.medium { font-size: 14px; }
+.button.small { font-size: 11px; padding: 7px 14px 8px; }
+.button.tiny { font-size: 10px; padding: 5px 10px 6px; }
+.button.expand { width: 100%; text-align: center; }
+.button.primary { background-color: #fd7800; border: 1px solid #1e728c; }
+.button.primary:hover { background-color: #2284a1; }
+.button.primary:focus { -webkit-box-shadow: 0 0 4px #fd7800, 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 0 4px #fd7800, 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 0 4px #fd7800, 0 1px 0 rgba(255, 255, 255, 0.5) inset; }
+.button.success { background-color: #5da423; border: 1px solid #396516; }
+.button.success:hover { background-color: #457a1a; }
+.button.success:focus { -webkit-box-shadow: 0 0 5px #5da423, 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 0 5px #5da423, 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 0 5px #5da423, 0 1px 0 rgba(255, 255, 255, 0.5) inset; }
+.button.alert { background-color: #c60f13; border: 1px solid #7f0a0c; }
+.button.alert:hover { background-color: #970b0e; }
+.button.alert:focus { -webkit-box-shadow: 0 0 4px #c60f13, 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 0 4px #c60f13, 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 0 4px #c60f13, 0 1px 0 rgba(255, 255, 255, 0.5) inset; }
+.button.secondary { background-color: #e9e9e9; color: #1d1d1d; border: 1px solid #c3c3c3; }
+.button.secondary:hover { background-color: #d0d0d0; }
+.button.secondary:focus { -webkit-box-shadow: 0 0 5px #e9e9e9, 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 0 5px #e9e9e9, 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 0 5px #e9e9e9, 0 1px 0 rgba(255, 255, 255, 0.5) inset; }
+.button.radius { -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; }
+.button.round { -webkit-border-radius: 1000px; -moz-border-radius: 1000px; -ms-border-radius: 1000px; -o-border-radius: 1000px; border-radius: 1000px; }
+.button.full-width { width: 100%; text-align: center; padding-left: 0px !important; padding-right: 0px !important; }
+.button.left-align { text-align: left; text-indent: 12px; }
+.button.disabled, .button[disabled] { opacity: 0.6; cursor: default; background: #fd7800; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
+.button.disabled :hover, .button[disabled] :hover { background: #fd7800; }
+.button.disabled.success, .button[disabled].success { background-color: #5da423; }
+.button.disabled.success:hover, .button[disabled].success:hover { background-color: #5da423; }
+.button.disabled.alert, .button[disabled].alert { background-color: #c60f13; }
+.button.disabled.alert:hover, .button[disabled].alert:hover { background-color: #c60f13; }
+.button.disabled.secondary, .button[disabled].secondary { background-color: #e9e9e9; }
+.button.disabled.secondary:hover, .button[disabled].secondary:hover { background-color: #e9e9e9; }
+
+/* Don't use native buttons on iOS */
+input[type=submit].button, button.button { -webkit-appearance: none; }
+
+@media only screen and (max-width: 767px) { .button { display: block; }
+ button.button, input[type="submit"].button { width: 100%; padding-left: 0; padding-right: 0; } }
+/* Correct FF button padding */
+@-moz-document url-prefix() { button::-moz-focus-inner, input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner { border: none; padding: 0; }
+ input[type="submit"].tiny.button { padding: 3px 10px 4px; }
+ input[type="submit"].small.button { padding: 5px 14px 6px; }
+ input[type="submit"].button, input[type=submit].medium.button { padding: 8px 20px 9px; }
+ input[type="submit"].large.button { padding: 13px 30px 14px; } }
+
+/* Buttons with Dropdowns ---------------------- */
+.button.dropdown { position: relative; padding-right: 44px; /* Sizes */ /* Triangles */ /* Flyout List */ /* Split Dropdown Buttons */ }
+.button.dropdown.large { padding-right: 60px; }
+.button.dropdown.small { padding-right: 28px; }
+.button.dropdown.tiny { padding-right: 20px; }
+.button.dropdown:after { content: ""; display: block; width: 0; height: 0; border: solid 6px; border-color: white transparent transparent transparent; position: absolute; top: 50%; right: 20px; margin-top: -2px; }
+.button.dropdown.large:after { content: ""; display: block; width: 0; height: 0; border: solid 7px; border-color: white transparent transparent transparent; margin-top: -3px; right: 30px; }
+.button.dropdown.small:after { content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: white transparent transparent transparent; margin-top: -2px; right: 14px; }
+.button.dropdown.tiny:after { content: ""; display: block; width: 0; height: 0; border: solid 4px; border-color: white transparent transparent transparent; margin-top: -1px; right: 10px; }
+.button.dropdown > ul { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; display: none; position: absolute; left: -1px; background: #fff; background: rgba(255, 255, 255, 0.95); list-style: none; margin: 0; padding: 0; border: 1px solid #cccccc; border-top: none; min-width: 100%; z-index: 40; }
+.button.dropdown > ul li { width: 100%; cursor: pointer; padding: 0; min-height: 18px; line-height: 18px; margin: 0; white-space: nowrap; list-style: none; }
+.button.dropdown > ul li a { display: block; color: #555; font-size: 13px; font-weight: normal; padding: 6px 14px; text-align: left; }
+.button.dropdown > ul li:hover { background-color: #e3f4f9; color: #222; }
+.button.dropdown > ul li.divider { min-height: 0; padding: 0; height: 1px; margin: 4px 0; background: #ededed; }
+.button.dropdown.up > ul { border-top: 1px solid #cccccc; border-bottom: none; }
+.button.dropdown ul.no-hover.show-dropdown { display: block !important; }
+.button.dropdown:hover > ul.no-hover { display: none; }
+.button.dropdown.split { padding: 0; position: relative; /* Sizes */ /* Triangle Spans */ /* Colors */ }
+.button.dropdown.split:after { display: none; }
+.button.dropdown.split:hover { background-color: #fd7800; }
+.button.dropdown.split.alert:hover { background-color: #c60f13; }
+.button.dropdown.split.success:hover { background-color: #5da423; }
+.button.dropdown.split.secondary:hover { background-color: #e9e9e9; }
+.button.dropdown.split > a { color: white; display: block; padding: 10px 50px 11px 20px; padding-left: 20px; padding-right: 50px; -webkit-transition: background-color 0.15s ease-in-out; -moz-transition: background-color 0.15s ease-in-out; -o-transition: background-color 0.15s ease-in-out; transition: background-color 0.15s ease-in-out; }
+.button.dropdown.split > a:hover { background-color: #2284a1; }
+.button.dropdown.split.large > a { padding: 15px 75px 16px 30px; padding-left: 30px; padding-right: 75px; }
+.button.dropdown.split.small > a { padding: 7px 35px 8px 14px; padding-left: 14px; padding-right: 35px; }
+.button.dropdown.split.tiny > a { padding: 5px 25px 6px 10px; padding-left: 10px; padding-right: 25px; }
+.button.dropdown.split > span { background-color: #fd7800; position: absolute; right: 0; top: 0; height: 100%; width: 30px; border-left: 1px solid #1e728c; -webkit-box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5) inset; -webkit-transition: background-color 0.15s ease-in-out; -moz-transition: background-color 0.15s ease-in-out; -o-transition: background-color 0.15s ease-in-out; transition: background-color 0.15s ease-in-out; }
+.button.dropdown.split > span:hover { background-color: #2284a1; }
+.button.dropdown.split > span:after { content: ""; display: block; width: 0; height: 0; border: solid 6px; border-color: white transparent transparent transparent; position: absolute; top: 50%; left: 50%; margin-left: -6px; margin-top: -2px; }
+.button.dropdown.split.secondary > span:after { content: ""; display: block; width: 0; height: 0; border: solid 6px; border-color: #1d1d1d transparent transparent transparent; }
+.button.dropdown.split.large span { width: 45px; }
+.button.dropdown.split.small span { width: 21px; }
+.button.dropdown.split.tiny span { width: 15px; }
+.button.dropdown.split.large span:after { content: ""; display: block; width: 0; height: 0; border: solid 7px; border-color: white transparent transparent transparent; margin-top: -3px; margin-left: -7px; }
+.button.dropdown.split.small span:after { content: ""; display: block; width: 0; height: 0; border: solid 4px; border-color: white transparent transparent transparent; margin-top: -1px; margin-left: -4px; }
+.button.dropdown.split.tiny span:after { content: ""; display: block; width: 0; height: 0; border: solid 3px; border-color: white transparent transparent transparent; margin-top: -1px; margin-left: -3px; }
+.button.dropdown.split.alert > span { background-color: #c60f13; border-left-color: #7f0a0c; }
+.button.dropdown.split.success > span { background-color: #5da423; border-left-color: #396516; }
+.button.dropdown.split.secondary > span { background-color: #e9e9e9; border-left-color: #c3c3c3; }
+.button.dropdown.split.secondary > a { color: #1d1d1d; }
+.button.dropdown.split.alert > a:hover, .button.dropdown.split.alert > span:hover { background-color: #970b0e; }
+.button.dropdown.split.success > a:hover, .button.dropdown.split.success > span:hover { background-color: #457a1a; }
+.button.dropdown.split.secondary > a:hover, .button.dropdown.split.secondary > span:hover { background-color: #d0d0d0; }
+
+/* Button Groups ---------------------- */
+ul.button-group { list-style: none; padding: 0; margin: 0 0 12px; *zoom: 1; }
+ul.button-group:before, ul.button-group:after { content: ""; display: table; }
+ul.button-group:after { clear: both; }
+ul.button-group li { padding: 0; margin: 0 0 0 -1px; float: left; }
+ul.button-group li:first-child { margin-left: 0; }
+ul.button-group.radius li a.button, ul.button-group.radius li a.button.radius, ul.button-group.radius li a.button-rounded { -webkit-border-radius: 0px; -moz-border-radius: 0px; -ms-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px; }
+ul.button-group.radius li:first-child a.button, ul.button-group.radius li:first-child a.button.radius { -moz-border-radius-left3px: 5px; -webkit-border-left-3px-radius: 5px; border-left-3px-radius: 5px; }
+ul.button-group.radius li:first-child a.button.rounded { -moz-border-radius-left1000px: 5px; -webkit-border-left-1000px-radius: 5px; border-left-1000px-radius: 5px; }
+ul.button-group.radius li:last-child a.button, ul.button-group.radius li:last-child a.button.radius { -moz-border-radius-right3px: 5px; -webkit-border-right-3px-radius: 5px; border-right-3px-radius: 5px; }
+ul.button-group.radius li:last-child a.button.rounded { -moz-border-radius-right1000px: 5px; -webkit-border-right-1000px-radius: 5px; border-right-1000px-radius: 5px; }
+ul.button-group.even a.button { width: 100%; }
+ul.button-group.even.two-up li { width: 50%; }
+ul.button-group.even.three-up li { width: 33.3%; }
+ul.button-group.even.three-up li:first-child { width: 33.4%; }
+ul.button-group.even.four-up li { width: 25%; }
+ul.button-group.even.five-up li { width: 20%; }
+
+@media only screen and (max-width: 767px) { .button-group button.button, .button-group input[type="submit"].button { width: auto; padding: 10px 20px 11px; }
+ .button-group button.button.large, .button-group input[type="submit"].button.large { padding: 15px 30px 16px; }
+ .button-group button.button.medium, .button-group input[type="submit"].button.medium { padding: 10px 20px 11px; }
+ .button-group button.button.small, .button-group input[type="submit"].button.small { padding: 7px 14px 8px; }
+ .button-group button.button.tiny, .button-group input[type="submit"].button.tiny { padding: 5px 10px 6px; }
+ .button-group.even button.button, .button-group.even input[type="submit"].button { width: 100%; padding-left: 0; padding-right: 0; } }
+div.button-bar { overflow: hidden; }
+div.button-bar ul.button-group { float: left; margin-right: 8px; }
+div.button-bar ul.button-group:last-child { margin-left: 0; }
+
+/* CSS for jQuery Reveal Plugin Maintained for Foundation. foundation.zurb.com Free to use under the MIT license. http://www.opensource.org/licenses/mit-license.php */
+/* Reveal Modals ---------------------- */
+.reveal-modal-bg { position: fixed; height: 100%; width: 100%; background: #000; background: rgba(0, 0, 0, 0.45); z-index: 40; display: none; top: 0; left: 0; }
+
+.reveal-modal { background: white; visibility: hidden; display: none; top: 100px; left: 50%; margin-left: -260px; width: 520px; position: absolute; z-index: 41; padding: 30px; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); }
+.reveal-modal *:first-child { margin-top: 0; }
+.reveal-modal *:last-child { margin-bottom: 0; }
+.reveal-modal .close-reveal-modal { font-size: 22px; font-size: 2.2rem; line-height: .5; position: absolute; top: 8px; right: 11px; color: #aaa; text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.6); font-weight: bold; cursor: pointer; }
+.reveal-modal.small { width: 30%; margin-left: -15%; }
+.reveal-modal.medium { width: 40%; margin-left: -20%; }
+.reveal-modal.large { width: 60%; margin-left: -30%; }
+.reveal-modal.xlarge { width: 70%; margin-left: -35%; }
+.reveal-modal.expand { width: 90%; margin-left: -45%; }
+.reveal-modal .row { min-width: 0; margin-bottom: 10px; }
+
+/* Mobile */
+@media only screen and (max-width: 767px) { .reveal-modal-bg { position: absolute; }
+ .reveal-modal, .reveal-modal.small, .reveal-modal.medium, .reveal-modal.large, .reveal-modal.xlarge { width: 80%; top: 15px; left: 50%; margin-left: -40%; padding: 20px; height: auto; } }
+ /* NOTES Close button entity is ×
+ Example markup <div id="myModal" class="reveal-modal"> <h2>Awesome. I have it.</h2> <p class="lead">Your couch. I it's mine.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p> <a class="close-reveal-modal">×</a> </div> */
+/* Requires -globals.css -app.js */
+/* Tabs ---------------------- */
+dl.tabs { border-bottom: solid 1px #e6e6e6; display: block; height: 40px; padding: 0; margin-bottom: 20px; }
+dl.tabs.contained { margin-bottom: 0; }
+dl.tabs dt { color: #b3b3b3; cursor: default; display: block; float: left; font-size: 12px; height: 40px; line-height: 40px; padding: 0; padding-right: 9px; padding-left: 20px; width: auto; text-transform: uppercase; }
+dl.tabs dt:first-child { padding: 0; padding-right: 9px; }
+dl.tabs dd { display: block; float: left; padding: 0; margin: 0; }
+dl.tabs dd a { color: #6f6f6f; display: block; font-size: 14px; height: 40px; line-height: 40px; padding: 0px 23.8px; }
+dl.tabs dd a:focus { font-weight: bold; color: #fd7800; }
+dl.tabs dd.active { border-top: 3px solid #fd7800; margin-top: -3px; }
+dl.tabs dd.active a { cursor: default; color: #3c3c3c; background: #fff; border-left: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6; font-weight: bold; }
+dl.tabs dd:first-child { margin-left: 0; }
+dl.tabs.vertical { height: auto; border-bottom: 1px solid #e6e6e6; }
+dl.tabs.vertical dt, dl.tabs.vertical dd { float: none; height: auto; }
+dl.tabs.vertical dd { border-left: 3px solid #cccccc; }
+dl.tabs.vertical dd a { background: #f2f2f2; border: none; border: 1px solid #e6e6e6; border-width: 1px 1px 0 0; color: #555; display: block; font-size: 14px; height: auto; line-height: 1; padding: 15px 20px; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; }
+dl.tabs.vertical dd.active { margin-top: 0; border-top: 1px solid #4d4d4d; border-left: 4px solid #1a1a1a; }
+dl.tabs.vertical dd.active a { background: #4d4d4d; border: none; color: #fff; height: auto; margin: 0; position: static; top: 0; -webkit-box-shadow: 0 0 0; -moz-box-shadow: 0 0 0; box-shadow: 0 0 0; }
+dl.tabs.vertical dd:first-child a.active { margin: 0; }
+dl.tabs.pill { border-bottom: none; margin-bottom: 10px; }
+dl.tabs.pill dd { margin-right: 10px; }
+dl.tabs.pill dd:last-child { margin-right: 0; }
+dl.tabs.pill dd a { -webkit-border-radius: 1000px; -moz-border-radius: 1000px; -ms-border-radius: 1000px; -o-border-radius: 1000px; border-radius: 1000px; background: #e6e6e6; height: 26px; line-height: 26px; color: #666; }
+dl.tabs.pill dd.active { border: none; margin-top: 0; }
+dl.tabs.pill dd.active a { background-color: #fd7800; border: none; color: #fff; }
+dl.tabs.pill.contained { border-bottom: solid 1px #eee; margin-bottom: 0; }
+dl.tabs.pill.two-up dd, dl.tabs.pill.three-up dd, dl.tabs.pill.four-up dd, dl.tabs.pill.five-up dd { margin-right: 0; }
+dl.tabs.two-up dt a, dl.tabs.two-up dd a, dl.tabs.three-up dt a, dl.tabs.three-up dd a, dl.tabs.four-up dt a, dl.tabs.four-up dd a, dl.tabs.five-up dt a, dl.tabs.five-up dd a { padding: 0 17px; text-align: center; overflow: hidden; }
+dl.tabs.two-up dt, dl.tabs.two-up dd { width: 50%; }
+dl.tabs.three-up dt, dl.tabs.three-up dd { width: 33.33%; }
+dl.tabs.four-up dt, dl.tabs.four-up dd { width: 25%; }
+dl.tabs.five-up dt, dl.tabs.five-up dd { width: 20%; }
+
+ul.tabs-content { display: block; margin: 0 0 20px; padding: 0; }
+ul.tabs-content > li { display: none; }
+ul.tabs-content > li.active { display: block; }
+ul.tabs-content.contained { padding: 0; }
+ul.tabs-content.contained > li { border: solid 0 #e6e6e6; border-width: 0 1px 1px 1px; padding: 20px; }
+ul.tabs-content.contained.vertical > li { border-width: 1px 1px 1px 1px; }
+
+.no-js ul.tabs-content > li { display: block; }
+
+@media only screen and (max-width: 767px) { dl.tabs.mobile { width: auto; margin: 20px -20px 40px; height: auto; }
+ dl.tabs.mobile dt, dl.tabs.mobile dd { float: none; height: auto; }
+ dl.tabs.mobile dd a { display: block; width: auto; height: auto; padding: 18px 20px; line-height: 1; border: solid 0 #ccc; border-width: 1px 0 0; margin: 0; color: #555; background: #eee; font-size: 15px; font-size: 1.5rem; }
+ dl.tabs.mobile dd a.active { height: auto; margin: 0; border-width: 1px 0 0; }
+ .tabs.mobile { border-bottom: solid 1px #ccc; height: auto; }
+ .tabs.mobile dd a { padding: 18px 20px; border: none; border-left: none; border-right: none; border-top: 1px solid #ccc; background: #fff; }
+ .tabs.mobile dd a.active { border: none; background: #fd7800; color: #fff; margin: 0; position: static; top: 0; height: auto; }
+ .tabs.mobile dd:first-child a.active { margin: 0; }
+ dl.contained.mobile { margin-bottom: 0; }
+ dl.contained.tabs.mobile dd a { padding: 18px 20px; }
+ dl.tabs.mobile + ul.contained { margin-left: -20px; margin-right: -20px; border-width: 0 0 1px 0; } }
+/* Requires: globals.css */
+/* Table of Contents
+
+:: Visibility
+:: Alerts
+:: Labels
+:: Tooltips
+:: Panels
+:: Accordion
+:: Side Nav
+:: Sub Nav
+:: Pagination
+:: Breadcrumbs
+:: Lists
+:: Link Lists
+:: Keystroke Chars
+:: Image Thumbnails
+:: Video
+:: Tables
+:: Microformats
+:: Progress Bars
+
+*/
+/* Visibility Classes ---------------------- */
+/* Standard (large) display targeting */
+.show-for-small, .show-for-medium, .show-for-medium-down, .hide-for-large, .hide-for-large-up, .show-for-xlarge { display: none !important; }
+
+.hide-for-xlarge, .show-for-large, .show-for-large-up, .hide-for-small, .hide-for-medium, .hide-for-medium-down { display: block !important; }
+
+/* Very large display targeting */
+@media only screen and (min-width: 1441px) { .hide-for-small, .hide-for-medium, .hide-for-medium-down, .hide-for-large, .show-for-large-up, .show-for-xlarge { display: block !important; }
+ .show-for-small, .show-for-medium, .show-for-medium-down, .show-for-large, .hide-for-large-up, .hide-for-xlarge { display: none !important; } }
+/* Medium display targeting */
+@media only screen and (max-width: 1279px) and (min-width: 768px) { .hide-for-small, .show-for-medium, .show-for-medium-down, .hide-for-large, .hide-for-large-up, .hide-for-xlarge { display: block !important; }
+ .show-for-small, .hide-for-medium, .hide-for-medium-down, .show-for-large, .show-for-large-up, .show-for-xlarge { display: none !important; } }
+/* Small display targeting */
+@media only screen and (max-width: 767px) { .show-for-small, .hide-for-medium, .show-for-medium-down, .hide-for-large, .hide-for-large-up, .hide-for-xlarge { display: block !important; }
+ .hide-for-small, .show-for-medium, .hide-for-medium-down, .show-for-large, .show-for-large-up, .show-for-xlarge { display: none !important; } }
+/* Orientation targeting */
+.show-for-landscape, .hide-for-portrait { display: block !important; }
+
+.hide-for-landscape, .show-for-portrait { display: none !important; }
+
+@media screen and (orientation: landscape) { .show-for-landscape, .hide-for-portrait { display: block !important; }
+ .hide-for-landscape, .show-for-portrait { display: none !important; } }
+@media screen and (orientation: portrait) { .show-for-portrait, .hide-for-landscape { display: block !important; }
+ .hide-for-portrait, .show-for-landscape { display: none !important; } }
+/* Touch-enabled device targeting */
+.show-for-touch { display: none !important; }
+
+.hide-for-touch { display: block !important; }
+
+.touch .show-for-touch { display: block !important; }
+
+.touch .hide-for-touch { display: none !important; }
+
+/* Specific overrides for elements that require something other than display: block */
+table.show-for-xlarge, table.show-for-large, table.hide-for-small, table.hide-for-medium { display: table !important; }
+
+@media only screen and (max-width: 1279px) and (min-width: 768px) { .touch table.hide-for-xlarge, .touch table.hide-for-large, .touch table.hide-for-small, .touch table.show-for-medium { display: table !important; } }
+@media only screen and (max-width: 767px) { table.hide-for-xlarge, table.hide-for-large, table.hide-for-medium, table.show-for-small { display: table !important; } }
+/* Alerts ---------------------- */
+div.alert-box { display: block; padding: 6px 7px 7px; font-weight: bold; font-size: 14px; color: white; background-color: #fd7800; border: 1px solid rgba(0, 0, 0, 0.1); margin-bottom: 12px; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; text-shadow: 0 -1px rgba(0, 0, 0, 0.3); position: relative; }
+div.alert-box.success { background-color: #5da423; color: #fff; text-shadow: 0 -1px rgba(0, 0, 0, 0.3); }
+div.alert-box.alert { background-color: #c60f13; color: #fff; text-shadow: 0 -1px rgba(0, 0, 0, 0.3); }
+div.alert-box.secondary { background-color: #e9e9e9; color: #505050; text-shadow: 0 1px rgba(255, 255, 255, 0.3); }
+div.alert-box a.close { color: #333; position: absolute; right: 4px; top: -1px; font-size: 17px; opacity: 0.2; padding: 4px; }
+div.alert-box a.close:hover, div.alert-box a.close:focus { opacity: 0.4; }
+
+/* Labels ---------------------- */
+
+
+/* Tooltips ---------------------- */
+.has-tip { border-bottom: dotted 1px #cccccc; cursor: help; font-weight: bold; color: #333333; }
+.has-tip:hover { border-bottom: dotted 1px #196177; color: #fd7800; }
+.has-tip.tip-left, .has-tip.tip-right { float: none !important; }
+
+.tooltip { display: none; background: black; background: rgba(0, 0, 0, 0.85); position: absolute; color: white; font-weight: bold; font-size: 12px; font-size: 1.2rem; padding: 5px; z-index: 999; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; line-height: normal; }
+.tooltip > .nub { display: block; width: 0; height: 0; border: solid 5px; border-color: transparent transparent black transparent; border-color: transparent transparent rgba(0, 0, 0, 0.85) transparent; position: absolute; top: -10px; left: 10px; }
+.tooltip.tip-override > .nub { border-color: transparent transparent black transparent !important; border-color: transparent transparent rgba(0, 0, 0, 0.85) transparent !important; top: -10px !important; }
+.tooltip.tip-top > .nub { border-color: black transparent transparent transparent; border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent; top: auto; bottom: -10px; }
+.tooltip.tip-left, .tooltip.tip-right { float: none !important; }
+.tooltip.tip-left > .nub { border-color: transparent transparent transparent black; border-color: transparent transparent transparent rgba(0, 0, 0, 0.85); right: -10px; left: auto; }
+.tooltip.tip-right > .nub { border-color: transparent black transparent transparent; border-color: transparent rgba(0, 0, 0, 0.85) transparent transparent; right: auto; left: -10px; }
+.tooltip.noradius { -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; }
+.tooltip.opened { color: #fd7800 !important; border-bottom: dotted 1px #196177 !important; }
+
+.tap-to-close { display: block; font-size: 10px; font-size: 1rem; color: #888888; font-weight: normal; }
+
+@media only screen and (max-width: 767px) { .tooltip { font-size: 14px; font-size: 1.4rem; line-height: 1.4; padding: 7px 10px 9px 10px; }
+ .tooltip > .nub, .tooltip.top > .nub, .tooltip.left > .nub, .tooltip.right > .nub { border-color: transparent transparent black transparent; border-color: transparent transparent rgba(0, 0, 0, 0.85) transparent; top: -12px; left: 10px; } }
+/* Panels ---------------------- */
+.panel { background: #f2f2f2; border: solid 1px #e6e6e6; margin: 0 0 22px 0; padding: 20px; }
+.panel > :first-child { margin-top: 0; }
+.panel > :last-child { margin-bottom: 0; }
+.panel.callout { background: #fd7800; color: #fff; border-color: #2284a1; -webkit-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5); -moz-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5); box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5); }
+.panel.callout a { color: #fff; }
+.panel.callout .button { background: white; border: none; color: #fd7800; text-shadow: none; }
+.panel.callout .button:hover { background: rgba(255, 255, 255, 0.8); }
+.panel.radius { -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; }
+
+/* Accordion ---------------------- */
+ul.accordion { margin: 0 0 22px 0; border-bottom: 1px solid #e9e9e9; }
+ul.accordion > li { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e9e9e9; }
+ul.accordion > li .title { cursor: pointer; background: #f6f6f6; padding: 15px; margin: 0; position: relative; border-left: 1px solid #e9e9e9; border-right: 1px solid #e9e9e9; -webkit-transition: 0.15s background linear; -moz-transition: 0.15s background linear; -o-transition: 0.15s background linear; transition: 0.15s background linear; }
+ul.accordion > li .title h1, ul.accordion > li .title h2, ul.accordion > li .title h3, ul.accordion > li .title h4, ul.accordion > li .title h5 { margin: 0; }
+ul.accordion > li .title:after { content: ""; display: block; width: 0; height: 0; border: solid 6px; border-color: transparent #9d9d9d transparent transparent; position: absolute; right: 15px; top: 21px; }
+ul.accordion > li .content { display: none; padding: 15px; }
+ul.accordion > li.active { border-top: 3px solid #fd7800; }
+ul.accordion > li.active .title { background: white; padding-top: 13px; }
+ul.accordion > li.active .title:after { content: ""; display: block; width: 0; height: 0; border: solid 6px; border-color: #9d9d9d transparent transparent transparent; }
+ul.accordion > li.active .content { background: white; display: block; border-left: 1px solid #e9e9e9; border-right: 1px solid #e9e9e9; }
+
+/* Side Nav ---------------------- */
+ul.side-nav { display: block; list-style: none; margin: 0; padding: 17px 0; }
+ul.side-nav li { display: block; list-style: none; margin: 0 0 7px 0; }
+ul.side-nav li a { display: block; }
+ul.side-nav li.active a { color: #4d4d4d; font-weight: bold; }
+ul.side-nav li.divider { border-top: 1px solid #e6e6e6; height: 0; padding: 0; }
+
+/* Sub Navs http://www.zurb.com/article/292/how-to-create-simple-and-effective-sub-na ---------------------- */
+dl.sub-nav { display: block; width: auto; overflow: hidden; margin: -4px 0 18px; margin-right: 0; margin-left: -9px; padding-top: 4px; }
+dl.sub-nav dt, dl.sub-nav dd { float: left; display: inline; margin-left: 9px; margin-bottom: 10px; }
+dl.sub-nav dt { color: #999; font-weight: normal; }
+dl.sub-nav dd a { text-decoration: none; -webkit-border-radius: 1000px; -moz-border-radius: 1000px; -ms-border-radius: 1000px; -o-border-radius: 1000px; border-radius: 1000px; }
+dl.sub-nav dd.active a { font-weight: bold; background: #fd7800; color: #fff; padding: 3px 9px; cursor: default; }
+
+/* Pagination ---------------------- */
+ul.pagination { display: block; height: 24px; margin-left: -5px; }
+ul.pagination li { float: left; display: block; height: 24px; color: #999; font-size: 14px; margin-left: 5px; }
+ul.pagination li a { display: block; padding: 1px 7px 1px; color: #555; }
+ul.pagination li:hover a, ul.pagination li a:focus { background: #e6e6e6; }
+ul.pagination li.unavailable a { cursor: default; color: #999; }
+ul.pagination li.unavailable:hover a, ul.pagination li.unavailable a:focus { background: transparent; }
+ul.pagination li.current a { background: #fd7800; color: white; font-weight: bold; cursor: default; }
+ul.pagination li.current a:hover { background: #fd7800; }
+
+/* Breadcrums ---------------------- */
+ul.breadcrumbs { display: block; background: #f6f6f6; padding: 6px 10px 7px; border: 1px solid #e9e9e9; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; overflow: hidden; }
+ul.breadcrumbs li { margin: 0; padding: 0 12px 0 0; float: left; list-style: none; }
+ul.breadcrumbs li a, ul.breadcrumbs li span { text-transform: uppercase; font-size: 11px; font-size: 1.1rem; padding-left: 12px; }
+ul.breadcrumbs li:first-child a, ul.breadcrumbs li:first-child span { padding-left: 0; }
+ul.breadcrumbs li:before { content: "/"; color: #aaa; }
+ul.breadcrumbs li:first-child:before { content: " "; }
+ul.breadcrumbs li.current a { cursor: default; color: #333; }
+ul.breadcrumbs li:hover a, ul.breadcrumbs li a:focus { text-decoration: underline; }
+ul.breadcrumbs li.current:hover a, ul.breadcrumbs li.current a:focus { text-decoration: none; }
+ul.breadcrumbs li.unavailable a { color: #999; }
+ul.breadcrumbs li.unavailable:hover a, ul.breadcrumbs li.unavailable a:focus { text-decoration: none; color: #999; cursor: default; }
+
+/* Link List */
+ul.link-list { margin: 0 0 17px -22px; padding: 0; list-style: none; overflow: hidden; }
+ul.link-list li { list-style: none; float: left; margin-left: 22px; display: block; }
+ul.link-list li a { display: block; }
+
+/* Keytroke Characters ---------------------- */
+.keystroke, kbd { font-family: "Consolas", "Menlo", "Courier", monospace; font-size: 13px; padding: 2px 4px 0px; margin: 0; background: #ededed; border: solid 1px #dbdbdb; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; }
+
+/* Image Thumbnails ---------------------- */
+.th { display: block; }
+.th img { display: block; border: solid 4px #fff; -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; -webkit-transition-property: border, box-shadow; -moz-transition-property: border, box-shadow; -o-transition-property: border, box-shadow; transition-property: border, box-shadow; -webkit-transition-duration: 300ms; -moz-transition-duration: 300ms; -o-transition-duration: 300ms; transition-duration: 300ms; }
+.th:hover img { -webkit-box-shadow: 0 0 6px 1px rgba(43, 166, 203, 0.5); -moz-box-shadow: 0 0 6px 1px rgba(43, 166, 203, 0.5); box-shadow: 0 0 6px 1px rgba(43, 166, 203, 0.5); }
+
+/* Video - Mad props to http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ ---------------------- */
+.flex-video { position: relative; padding-top: 25px; padding-bottom: 67.5%; height: 0; margin-bottom: 16px; overflow: hidden; }
+.flex-video.widescreen { padding-bottom: 57.25%; }
+.flex-video.vimeo { padding-top: 0; }
+.flex-video iframe, .flex-video object, .flex-video embed, .flex-video video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
diff --git a/docs/named_data_theme/static/named_data_doxygen.css b/docs/named_data_theme/static/named_data_doxygen.css
new file mode 100644
index 0000000..02bcbf6
--- /dev/null
+++ b/docs/named_data_theme/static/named_data_doxygen.css
@@ -0,0 +1,776 @@
+@import url("base.css");
+
+@import url("foundation.css");
+
+table {
+ border: 0;
+}
+
+pre {
+ padding: 10px;
+ background-color: #fafafa;
+ color: #222;
+ line-height: 1.0em;
+ border: 2px solid #C6C9CB;
+ font-size: 0.9em;
+ /* margin: 1.5em 0 1.5em 0; */
+ margin: 0;
+ border-right-style: none;
+ border-left-style: none;
+}
+
+/* General */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+a:link {
+ text-decoration: none;
+}
+a:visited {
+ text-decoration: none;
+}
+a:active,
+a:hover {
+ text-decoration: none;
+}
+
+h1,h2,h3,h4,h5,h6 {
+ color: #000;
+ margin-bottom: 18px;
+}
+
+h1 { font-weight: normal; font-size: 24px; line-height: 24px; }
+h2 { font-weight: normal; font-size: 18px; line-height: 18px; }
+h3 { font-weight: bold; font-size: 18px; line-height: 18px; }
+h4 { font-weight: normal; font-size: 18px; line-height: 178px; }
+
+hr {
+ background-color: #c6c6c6;
+ border:0;
+ height: 1px;
+ margin-bottom: 18px;
+ clear:both;
+}
+
+div.hr {
+ height: 1px;
+ background: #c6c6c6;
+}
+
+div.hr2 {
+ height: 1px;
+ background: #c6c6c6;
+}
+
+div.hr hr, div.hr2 hr {
+ display: none;
+}
+
+p {
+ padding: 0 0 0.5em;
+ line-height:1.6em;
+}
+ul {
+ list-style: square;
+ margin: 0 0 18px 0;
+}
+ol {
+ list-style: decimal;
+ margin: 0 0 18px 1.5em;
+}
+ol ol {
+ list-style:upper-alpha;
+}
+ol ol ol {
+ list-style:lower-roman;
+}
+ol ol ol ol {
+ list-style:lower-alpha;
+}
+ul ul,
+ol ol,
+ul ol,
+ol ul {
+ margin-bottom:0;
+}
+dl {
+ margin:0 0 24px 0;
+}
+dt {
+ font-weight: bold;
+}
+dd {
+ margin-bottom: 18px;
+}
+strong {
+ font-weight: bold;
+ color: #000;
+}
+cite,
+em,
+i {
+ font-style: italic;
+ border: none;
+}
+big {
+ font-size: 131.25%;
+}
+ins {
+ background: #FFFFCC;
+ border: none;
+ color: #333;
+}
+del {
+ text-decoration: line-through;
+ color: #555;
+}
+blockquote {
+ font-style: italic;
+ padding: 0 3em;
+}
+blockquote cite,
+blockquote em,
+blockquote i {
+ font-style: normal;
+}
+pre {
+ background: #f7f7f7;
+ color: #222;
+ padding: 1.5em;
+}
+abbr,
+acronym {
+ border-bottom: 1px solid #666;
+ cursor: help;
+}
+ins {
+ text-decoration: none;
+}
+sup,
+sub {
+ height: 0;
+ line-height: 1;
+ vertical-align: baseline;
+ position: relative;
+ font-size: 10px;
+}
+sup {
+ bottom: 1ex;
+}
+sub {
+ top: .5ex;
+}
+
+p,
+ul,
+ol,
+dd,
+hr {
+ margin-bottom:10px;
+}
+ul ul,
+ol ol,
+ul ol,
+ol ul {
+ margin-bottom:0;
+}
+pre,
+kbd,
+tt,
+var {
+}
+code {
+ font-size: 13px;
+}
+strong,
+b,
+dt,
+th {
+ color: #000;
+}
+
+
+/* main_container */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#wrapper {
+ padding: 0px 0px;
+ margin-top: 20px;
+}
+
+/* header*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#search-header{
+ margin-top:15px;
+ padding-bottom:13px;
+}
+
+#search-header #search{
+ background: #222;
+
+}
+
+#search-header #search #s{
+ background: #222;
+ font-size:12px;
+ color: #aaa;
+}
+
+#header_container{
+ padding-bottom: 25px;
+ padding-top: 0px;
+ background: #fff;
+}
+
+#header {
+
+}
+
+#header2 {
+
+}
+
+#content_container{
+ padding-top: 15px;
+}
+
+#left-col {
+ padding: 10px 20px;
+ padding-left: 0px;
+ background: #fff;
+
+}
+
+
+/*footer*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+
+#footer {
+ padding: 5px 20px;
+ background: #ddd;
+}
+
+#footer-container{
+ padding: 5px 20px;
+ background: #303030;
+ border-top: 8px solid #000;
+ font-size:11px;
+}
+
+#footer-info {
+ color:#ccc;
+ text-align:left;
+ background: #1b1b1b;
+ padding: 20px 0;
+}
+
+
+#footer-info a{
+ text-decoration:none;
+ color: #fff;
+}
+
+#footer-info a:hover{
+ color: #ebebeb;
+}
+
+#copyright{float: left;}
+
+.scroll-top {
+ text-align:right;
+}
+
+#footer-widget{
+ padding: 8px 0px 8px 0px;
+ color:#6f6f6f;
+}
+
+#footer-widget #search {
+ width:120px;
+ height:28px;
+ background: #222;
+ margin-left: 0px;
+ position: relative;
+ border: 1px solid #666;
+}
+
+#footer-widget #search #s {
+ width:110px;
+ height:23px;
+ border:0px;
+ margin-left:7px;
+ margin-right:10px;
+ margin-top:3px;
+ color:#fff;
+ display: inline;
+ background: #222;
+ float: left;
+}
+
+#footer-widget #calendar_wrap {
+ padding: 8px 0px;
+}
+
+#footer-widget #wp-calendar td{
+ padding:2px;
+}
+
+
+#footer-widget .textwidget {
+ padding: 5px 0px;
+ line-height: 23px;
+}
+
+
+#footer-widget .widget_tag_cloud a{
+ text-decoration: none;
+ margin: 5px;
+ line-height: 24px;
+ margin-left: 0px;
+ color: #6f6f6f;
+}
+
+#footer-widget .widget_tag_cloud a:hover{
+ color: #fff;
+}
+
+#footer-widget .widget-container ul li a {
+ color:#fd7800;
+}
+
+#footer-widget .widget-container ul li a:hover {
+ color: #ccc;
+}
+
+#footer-widget .widget-container h3 {
+ color: #a5a5a5;
+ text-transform: uppercase;
+ margin-bottom: 0px;
+ padding-top: 10px;
+ padding-left: 0px;
+ font-size: 25px;
+ padding-bottom: 8px;
+ font-weight: bold;
+}
+
+#footer-widget .widget-container ul li {
+ padding: 5px 0px;
+ background: none;
+ }
+
+#footer-widget ul {
+ margin-left: 0px;
+ }
+
+#footer-bar1 {
+ padding-right: 40px;
+}
+#footer-bar2 {
+ padding-right: 40px;
+}
+#footer-bar3 {
+}
+#footer-bar4 {
+}
+
+span#follow-box{
+ position: absolute;
+ right: 100px;
+}
+
+span#follow-box img{
+ margin: 0 2px;
+}
+
+/*logo*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#logo {
+ margin: 0px 0px 0px 0px;
+}
+
+#logo2 {
+ margin: 0px 0px 0px 0px;
+}
+
+#logo img{
+ border: none;
+}
+
+#logo2{
+ text-decoration: none;
+ font-size: 42px;
+ letter-spacing: -1pt;
+ font-weight: bold;
+ font-family:arial, "Times New Roman", Times, serif;
+ text-align: left;
+ line-height: 57px;
+ padding-left: 0px;
+}
+
+#logo2 a, #slogan{
+ color: #fd7800;
+}
+
+#slogan{
+ text-align: left;
+ padding-left: 0px;
+}
+
+/*search*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#search {
+ width:180px;
+ height:28px;
+ border: 1px solid #ccc;
+ margin-left: 10px;
+ position: relative;
+}
+
+#sidebar #search {
+ margin-top: 20px;
+}
+
+#search #searchsubmit {
+ background:url(images/go-btn.png) no-repeat top right;
+ width:28px;
+ height:28px;
+ border:0px;
+ position:absolute;
+ right: -35px;
+}
+
+#search #s {
+ width:170px;
+ height:23px;
+ border:0px;
+ margin-left:7px;
+ margin-right:10px;
+ margin-top:3px;
+ color:#000;
+ display: inline;
+ float: left;
+}
+
+/*menu bar*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#menu_container{
+ padding-top: 0px;
+}
+
+
+/*responsive menu*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+/* default style */
+.selectnav { display: none; }
+
+/* small screen */
+@media screen and (max-width: 600px) {
+ .js #nav { display: none; }
+ .js #nav2 { display: none; }
+ .js .selectnav { display: block; }
+}
+
+
+/*welcome*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+#welcome_container h1{
+ margin-top: 0px;
+}
+
+/*homepage boxes*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#box_container{
+ padding-top: 35px;
+ padding-bottom: 15px;
+}
+
+.box-head {
+ float: left;
+ padding-bottom: 20px;
+}
+
+.box-head img{
+
+}
+
+.title-head{
+ padding-top:2px;
+}
+
+.title-box{
+ color: #333;
+ line-height: 15px;
+ text-transform: uppercase;
+}
+
+.title-box h1 {
+ font-size: 18px;
+ margin-bottom: 3px;
+}
+
+.box-content {
+ float: left;
+ padding-top: 10px;
+ line-height: 20px;
+}
+
+
+/* POST */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+
+.post {
+ overflow: hidden;
+
+}
+
+.post-shadow{
+ background: url("images/post_shadow.png") no-repeat bottom;
+ height: 9px;
+ margin-bottom: 25px;
+}
+
+.post ol{
+ margin-left: 20px;
+}
+
+.post ul {
+ margin-left: 15px;
+}
+.post-entry ul { margin: 0 0 10px 10px; }
+.post-entry ul li {
+ display: block;
+ margin: 5px 0;
+ padding: 0 0 0 20px;
+ /*background: url(images/bullet.png) no-repeat 0 7px;*/
+}
+
+.post-entry ol {
+ list-style: decimal;
+ margin: 0 0 18px 1.6em;
+}
+.post-entry ol li {
+ list-style: decimal;
+ }
+
+.post-entry {
+ padding-bottom: 10px;
+ padding-top: 10px;
+ overflow: hidden;
+
+}
+
+.post-head {
+ margin-bottom: 5px;
+ padding-top: 15px;
+}
+
+.post-head h1 a, .post-head h1 {
+ text-decoration:none;
+ color:#000;
+ margin: 0px;
+ font-size: 27px;
+}
+
+.post-head h1 a:hover {
+ color:#777;
+}
+
+
+.post-head-notfound h1, .post-head-404 h1, .post-head-archive h1, .post-head-search h1 {
+ margin-bottom: 10px;
+ font-weight:normal;
+ text-decoration:none;
+ color:#000;
+ font-size: 27px;
+}
+
+.post-thumb img {
+ border: 0px solid #ebebeb;
+}
+
+.post-entry img{
+ margin-bottom: 10px;
+ height:auto;
+ max-width:100% !important;
+}
+
+.meta-data{
+ line-height: 16px;
+ padding: 6px 3px;
+ margin-bottom: 3px;
+ font-size: 11px;
+ border-bottom: 1px solid #e9e9e9;
+}
+
+.meta-data a{
+ color: #fd7800;
+}
+
+.meta-data a:hover{
+ color: #777;
+}
+
+.read-more {
+color: #000;
+ background: #fff;
+ padding: 4px 8px;
+ border-radius: 3px;
+ display: inline-block;
+ font-size: 11px;
+ font-weight: bold;
+ text-decoration: none;
+ text-transform: capitalize;
+ cursor: pointer;
+ margin-top: 20px;
+}
+
+.read-more:hover{
+ background: #fff;
+ color: #666;
+}
+
+.clear {
+ clear:both;
+}
+
+.sticky {
+
+}
+
+/* content */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+#content_container table {
+ border: 1px solid #e7e7e7;
+ margin: 0 -1px 24px 0;
+ text-align: left;
+ width: 100%;
+
+}
+#content_container tr th,
+#content_container thead th {
+ color: #888;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: 18px;
+ padding: 9px 10px;
+}
+#content_container tr td {
+
+ padding: 6px 10px;
+}
+#content_container tr.odd td {
+ background: #f2f7fc;
+}
+
+/*--navigation--*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+.navigation {
+ float: left;
+ width: 100%;
+ margin: 20px 0;
+}
+
+
+.navigation .alignleft a {
+ float: left;
+}
+
+.navigation .alignright a {
+ float: right;
+}
+
+#nav-single {
+ overflow:hidden;
+ margin-top:20px;
+ margin-bottom:10px;
+}
+.nav-previous {
+ float: left;
+ width: 50%;
+}
+.nav-next {
+ float: right;
+ text-align: right;
+ width: 50%;
+}
+
+/*--sub head and breadcrumbs--*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#subhead_container{
+ padding: 7px 0px;
+}
+
+#subhead h1{
+ color: #000;
+ padding-top: 10px;
+ padding-left: 0px;
+ font-size: 30px;
+}
+
+#breadcrumbs {
+ padding-left: 25px;
+ margin-bottom: 15px;
+ color: #9e9e9e;
+ margin:0 auto;
+ width: 964px;
+ font-size: 10px;
+}
+
+#breadcrumbs a{
+ text-decoration: none;
+ color: #9e9e9e;
+}
+
+/*Alignments */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+.alignleft,
+img.alignleft {
+ display: inline;
+ float: left;
+ margin-right: 22px;
+ margin-top: 9px;
+}
+
+.alignright,
+img.alignright {
+ display: inline;
+ float: right;
+ margin-left: 22px;
+ margin-top: 8px;
+}
+.aligncenter,
+img.aligncenter {
+ clear: both;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.alignleft,
+.alignright,
+.aligncenter,
+img.alignleft,
+img.alignright,
+img.aligncenter
+{
+ margin-bottom: 10px;
+}
+
+
+a img.aligncenter {
+ display:block;
+ margin-left:auto;
+ margin-right:auto;
+}
+
+img { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; }
diff --git a/docs/named_data_theme/static/named_data_style.css_t b/docs/named_data_theme/static/named_data_style.css_t
new file mode 100644
index 0000000..3edfb72
--- /dev/null
+++ b/docs/named_data_theme/static/named_data_style.css_t
@@ -0,0 +1,813 @@
+@import url("base.css");
+
+@import url("foundation.css");
+
+table {
+ border: 0;
+}
+
+pre {
+ padding: 10px;
+ background-color: #fafafa;
+ color: #222;
+ /* line-height: 1.0em; */
+ border: 2px solid #C6C9CB;
+ font-size: 0.9em;
+ /* margin: 1.5em 0 1.5em 0; */
+ margin: 0;
+ border-right-style: none;
+ border-left-style: none;
+}
+
+/* General */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+a:link {
+ text-decoration: none;
+}
+a:visited {
+ text-decoration: none;
+}
+a:active,
+a:hover {
+ text-decoration: none;
+}
+
+h1,h2,h3,h4,h5,h6 {
+ color: #000;
+ margin-bottom: 18px;
+}
+
+h1 { font-weight: bold; font-size: 24px; }
+h2 { font-weight: bold; font-size: 18px; }
+h3 { font-weight: bold; font-size: 16px; }
+h4 { font-weight: bold; font-size: 14px; }
+
+hr {
+ background-color: #c6c6c6;
+ border:0;
+ height: 1px;
+ margin-bottom: 18px;
+ clear:both;
+}
+
+div.hr {
+ height: 1px;
+ background: #c6c6c6;
+}
+
+div.hr2 {
+ height: 1px;
+ background: #c6c6c6;
+}
+
+div.hr hr, div.hr2 hr {
+ display: none;
+}
+
+p {
+ padding: 0;
+ line-height:1.6em;
+}
+ul {
+ list-style: square;
+ margin: 0 0 18px 0;
+}
+ol {
+ list-style: decimal;
+ margin: 0 0 18px 1.5em;
+}
+ol ol {
+ list-style:upper-alpha;
+}
+ol ol ol {
+ list-style:lower-roman;
+}
+ol ol ol ol {
+ list-style:lower-alpha;
+}
+ul ul,
+ol ol,
+ul ol,
+ol ul {
+ margin-bottom:0;
+}
+dl {
+ margin:0 0 24px 0;
+}
+dt {
+ font-weight: bold;
+}
+dd {
+ margin-bottom: 18px;
+}
+strong {
+ font-weight: bold;
+ color: #000;
+}
+cite,
+em,
+i {
+ font-style: italic;
+ border: none;
+}
+big {
+ font-size: 131.25%;
+}
+ins {
+ background: #FFFFCC;
+ border: none;
+ color: #333;
+}
+del {
+ text-decoration: line-through;
+ color: #555;
+}
+blockquote {
+ padding: 0 3em;
+}
+blockquote cite,
+blockquote em,
+blockquote i {
+ font-style: normal;
+}
+pre {
+ background: #f7f7f7;
+ color: #222;
+ padding: 1.5em;
+}
+abbr,
+acronym {
+ border-bottom: 1px solid #666;
+ cursor: help;
+}
+ins {
+ text-decoration: none;
+}
+sup,
+sub {
+ height: 0;
+ line-height: 1;
+ vertical-align: baseline;
+ position: relative;
+ font-size: 10px;
+}
+sup {
+ bottom: 1ex;
+}
+sub {
+ top: .5ex;
+}
+
+p,
+ul,
+ol,
+dd,
+hr {
+ margin-bottom:10px;
+}
+ul ul,
+ol ol,
+ul ol,
+ol ul {
+ margin-bottom:0;
+}
+pre,
+kbd,
+tt,
+var {
+}
+code {
+ font-size: 13px;
+}
+strong,
+b,
+dt,
+th {
+ color: #000;
+}
+
+
+/* main_container */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#wrapper {
+ padding: 0px 0px;
+ margin-top: 20px;
+}
+
+/* header*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#search-header{
+ margin-top:15px;
+ padding-bottom:13px;
+}
+
+#search-header #search{
+ background: #222;
+
+}
+
+#search-header #search #s{
+ background: #222;
+ font-size:12px;
+ color: #aaa;
+}
+
+#header_container{
+ padding-bottom: 25px;
+ padding-top: 0px;
+ background: #fff;
+}
+
+#header {
+
+}
+
+#header2 {
+
+}
+
+#content_container{
+ padding-top: 15px;
+}
+
+#left-col {
+ padding: 10px 20px;
+ padding-left: 0px;
+ background: #fff;
+
+}
+
+
+/*footer*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+
+#footer {
+ padding: 5px 20px;
+ background: #ddd;
+}
+
+#footer-container{
+ padding: 5px 20px;
+ background: #303030;
+ border-top: 8px solid #000;
+ font-size:11px;
+}
+
+#footer-info {
+ color:#ccc;
+ text-align:left;
+ background: #1b1b1b;
+ padding: 20px 0;
+}
+
+
+#footer-info a{
+ text-decoration:none;
+ color: #fff;
+}
+
+#footer-info a:hover{
+ color: #ebebeb;
+}
+
+#copyright{float: left;}
+
+.scroll-top {
+ text-align:right;
+}
+
+#footer-widget{
+ padding: 8px 0px 8px 0px;
+ color:#6f6f6f;
+}
+
+#footer-widget #search {
+ width:120px;
+ height:28px;
+ background: #222;
+ margin-left: 0px;
+ position: relative;
+ border: 1px solid #666;
+}
+
+#footer-widget #search #s {
+ width:110px;
+ height:23px;
+ border:0px;
+ margin-left:7px;
+ margin-right:10px;
+ margin-top:3px;
+ color:#fff;
+ display: inline;
+ background: #222;
+ float: left;
+}
+
+#footer-widget #calendar_wrap {
+ padding: 8px 0px;
+}
+
+#footer-widget #wp-calendar td{
+ padding:2px;
+}
+
+
+#footer-widget .textwidget {
+ padding: 5px 0px;
+ line-height: 23px;
+}
+
+
+#footer-widget .widget_tag_cloud a{
+ text-decoration: none;
+ margin: 5px;
+ line-height: 24px;
+ margin-left: 0px;
+ color: #6f6f6f;
+}
+
+#footer-widget .widget_tag_cloud a:hover{
+ color: #fff;
+}
+
+#footer-widget .widget-container ul li a {
+ color:#fd7800;
+}
+
+#footer-widget .widget-container ul li a:hover {
+ color: #ccc;
+}
+
+#footer-widget .widget-container h3 {
+ color: #a5a5a5;
+ text-transform: uppercase;
+ margin-bottom: 0px;
+ padding-top: 10px;
+ padding-left: 0px;
+ font-size: 25px;
+ padding-bottom: 8px;
+ font-weight: bold;
+}
+
+#footer-widget .widget-container ul li {
+ padding: 5px 0px;
+ background: none;
+ }
+
+#footer-widget ul {
+ margin-left: 0px;
+ }
+
+#footer-bar1 {
+ padding-right: 40px;
+}
+#footer-bar2 {
+ padding-right: 40px;
+}
+#footer-bar3 {
+}
+#footer-bar4 {
+}
+
+span#follow-box{
+ position: absolute;
+ right: 100px;
+}
+
+span#follow-box img{
+ margin: 0 2px;
+}
+
+/*logo*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#logo {
+ margin: 0px 0px 0px 0px;
+}
+
+#logo2 {
+ margin: 0px 0px 0px 0px;
+}
+
+#logo img{
+ border: none;
+}
+
+#logo2{
+ text-decoration: none;
+ font-size: 42px;
+ letter-spacing: -1pt;
+ font-weight: bold;
+ font-family:arial, "Times New Roman", Times, serif;
+ text-align: left;
+ line-height: 57px;
+ padding-left: 0px;
+}
+
+#logo2 a, #slogan{
+ color: #fd7800;
+}
+
+#slogan{
+ text-align: left;
+ padding-left: 0px;
+}
+
+/*search*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#search {
+ width:180px;
+ height:28px;
+ border: 1px solid #ccc;
+ margin-left: 10px;
+ position: relative;
+}
+
+#sidebar #search {
+ margin-top: 20px;
+}
+
+#search #searchsubmit {
+ background:url(images/go-btn.png) no-repeat top right;
+ width:28px;
+ height:28px;
+ border:0px;
+ position:absolute;
+ right: -35px;
+}
+
+#search #s {
+ width:170px;
+ height:23px;
+ border:0px;
+ margin-left:7px;
+ margin-right:10px;
+ margin-top:3px;
+ color:#000;
+ display: inline;
+ float: left;
+}
+
+/*menu bar*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#menu_container{
+ padding-top: 0px;
+}
+
+
+/*responsive menu*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+/* default style */
+.selectnav { display: none; }
+
+/* small screen */
+@media screen and (max-width: 600px) {
+ .js #nav { display: none; }
+ .js #nav2 { display: none; }
+ .js .selectnav { display: block; }
+}
+
+
+/*welcome*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+#welcome_container h1{
+ margin-top: 0px;
+}
+
+/*homepage boxes*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#box_container{
+ padding-top: 35px;
+ padding-bottom: 15px;
+}
+
+.box-head {
+ float: left;
+ padding-bottom: 20px;
+}
+
+.box-head img{
+
+}
+
+.title-head{
+ padding-top:2px;
+}
+
+.title-box{
+ color: #333;
+ line-height: 15px;
+ text-transform: uppercase;
+}
+
+.title-box h1 {
+ font-size: 18px;
+ margin-bottom: 3px;
+}
+
+.box-content {
+ float: left;
+ padding-top: 10px;
+ line-height: 20px;
+}
+
+
+/* POST */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+
+.post {
+ overflow: hidden;
+
+}
+
+.post-shadow{
+ background: url("images/post_shadow.png") no-repeat bottom;
+ height: 9px;
+ margin-bottom: 25px;
+}
+
+.post ol{
+ margin-left: 20px;
+}
+
+.post ul {
+ margin-left: 15px;
+}
+.post-entry ul { margin: 0 0 10px 10px; }
+.post-entry ul li {
+ display: block;
+ margin: 5px 0;
+ padding: 0 0 0 20px;
+ /*background: url(images/bullet.png) no-repeat 0 7px;*/
+}
+
+.post-entry ol {
+ list-style: decimal;
+ margin: 0 0 18px 1.6em;
+}
+.post-entry ol li {
+ list-style: decimal;
+ }
+
+.post-entry {
+ padding-bottom: 10px;
+ padding-top: 10px;
+ overflow: hidden;
+
+}
+
+.post-head {
+ margin-bottom: 5px;
+ padding-top: 15px;
+}
+
+.post-head h1 a, .post-head h1 {
+ text-decoration:none;
+ color:#000;
+ margin: 0px;
+ font-size: 27px;
+}
+
+.post-head h1 a:hover {
+ color:#777;
+}
+
+
+.post-head-notfound h1, .post-head-404 h1, .post-head-archive h1, .post-head-search h1 {
+ margin-bottom: 10px;
+ font-weight:normal;
+ text-decoration:none;
+ color:#000;
+ font-size: 27px;
+}
+
+.post-thumb img {
+ border: 0px solid #ebebeb;
+}
+
+.post-entry img{
+ margin-bottom: 10px;
+ height:auto;
+ max-width:100% !important;
+}
+
+.meta-data{
+ line-height: 16px;
+ padding: 6px 3px;
+ margin-bottom: 3px;
+ font-size: 11px;
+ border-bottom: 1px solid #e9e9e9;
+}
+
+.meta-data a{
+ color: #fd7800;
+}
+
+.meta-data a:hover{
+ color: #777;
+}
+
+.read-more {
+color: #000;
+ background: #fff;
+ padding: 4px 8px;
+ border-radius: 3px;
+ display: inline-block;
+ font-size: 11px;
+ font-weight: bold;
+ text-decoration: none;
+ text-transform: capitalize;
+ cursor: pointer;
+ margin-top: 20px;
+}
+
+.read-more:hover{
+ background: #fff;
+ color: #666;
+}
+
+.clear {
+ clear:both;
+}
+
+.sticky {
+
+}
+
+/* content */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+#content_container table {
+ border: 1px solid #e7e7e7;
+ margin: 0 -1px 24px 0;
+ text-align: left;
+ width: 100%;
+
+}
+#content_container tr th,
+#content_container thead th {
+ color: #888;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: 18px;
+ padding: 9px 10px;
+}
+#content_container tr td {
+
+ padding: 6px 10px;
+}
+#content_container tr.odd td {
+ background: #f2f7fc;
+}
+
+/* sidebar*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#sidebar {
+ padding:0px 20px 20px 0px;
+}
+
+#sidebar ul {
+ list-style: none;
+}
+
+#sidebar { word-wrap: break-word;}
+
+
+/*--navigation--*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+.navigation {
+ float: left;
+ width: 100%;
+ margin: 20px 0;
+}
+
+
+.navigation .alignleft a {
+ float: left;
+}
+
+.navigation .alignright a {
+ float: right;
+}
+
+#nav-single {
+ overflow:hidden;
+ margin-top:20px;
+ margin-bottom:10px;
+}
+.nav-previous {
+ float: left;
+ width: 50%;
+}
+.nav-next {
+ float: right;
+ text-align: right;
+ width: 50%;
+}
+
+/*--slider--*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#slider_container {
+ background: #fff;
+}
+
+.flex-caption{
+background: #232323;
+color: #fff;
+padding: 7px;
+}
+
+.flexslider p{
+ margin: 0px;
+}
+
+/*--sub head and breadcrumbs--*/
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+#subhead_container{
+ padding: 7px 0px;
+}
+
+#subhead h1{
+ color: #000;
+ padding-top: 10px;
+ padding-left: 0px;
+ font-size: 30px;
+}
+
+#breadcrumbs {
+ padding-left: 25px;
+ margin-bottom: 15px;
+ color: #9e9e9e;
+ margin:0 auto;
+ width: 964px;
+ font-size: 10px;
+}
+
+#breadcrumbs a{
+ text-decoration: none;
+ color: #9e9e9e;
+}
+
+/*Alignments */
+/*////////////////////////////////////////////////////////////////////////////////////////////*/
+
+.alignleft,
+img.alignleft {
+ display: inline;
+ float: left;
+ margin-right: 22px;
+ margin-top: 9px;
+}
+
+.alignright,
+img.alignright {
+ display: inline;
+ float: right;
+ margin-left: 22px;
+ margin-top: 8px;
+}
+.aligncenter,
+img.aligncenter {
+ clear: both;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.alignleft,
+.alignright,
+.aligncenter,
+img.alignleft,
+img.alignright,
+img.aligncenter
+{
+ margin-bottom: 10px;
+}
+
+
+a img.aligncenter {
+ display:block;
+ margin-left:auto;
+ margin-right:auto;
+}
+
+
+table {
+ border-collapse:collapse;
+}
+table, th, td {
+ border: 1px solid black;
+ padding: 5px;
+}
\ No newline at end of file
diff --git a/docs/named_data_theme/static/nav_f.png b/docs/named_data_theme/static/nav_f.png
new file mode 100644
index 0000000..f09ac2f
--- /dev/null
+++ b/docs/named_data_theme/static/nav_f.png
Binary files differ
diff --git a/docs/named_data_theme/static/tab_b.png b/docs/named_data_theme/static/tab_b.png
new file mode 100644
index 0000000..801fb4e
--- /dev/null
+++ b/docs/named_data_theme/static/tab_b.png
Binary files differ
diff --git a/docs/named_data_theme/theme.conf b/docs/named_data_theme/theme.conf
new file mode 100644
index 0000000..aa5a7ff
--- /dev/null
+++ b/docs/named_data_theme/theme.conf
@@ -0,0 +1,15 @@
+[theme]
+inherit = agogo
+stylesheet = named_data_style.css
+# pygments_style = sphinx
+
+theme_bodyfont = "normal 12px Verdana, sans-serif"
+theme_bgcolor = "#ccc"
+
+theme_documentwidth = "100%"
+theme_textalign = "left"
+
+[options]
+
+stickysidebar = true
+collapsiblesidebar = true
diff --git a/src/consumer.cpp b/src/consumer.cpp
new file mode 100644
index 0000000..545acea
--- /dev/null
+++ b/src/consumer.cpp
@@ -0,0 +1,209 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "consumer.hpp"
+#include "detail/state.hpp"
+
+#include <ndn-cxx/util/logger.hpp>
+
+#include <boost/algorithm/string.hpp>
+
+namespace psync {
+
+NDN_LOG_INIT(psync.Consumer);
+
+Consumer::Consumer(const ndn::Name& syncPrefix,
+ ndn::Face& face,
+ const ReceiveHelloCallback& onReceiveHelloData,
+ const UpdateCallback& onUpdate,
+ unsigned int count,
+ double false_positive = 0.001,
+ ndn::time::milliseconds helloInterestLifetime,
+ ndn::time::milliseconds syncInterestLifetime)
+ : m_face(face)
+ , m_scheduler(m_face.getIoService())
+ , m_syncPrefix(syncPrefix)
+ , m_helloInterestPrefix(ndn::Name(m_syncPrefix).append("hello"))
+ , m_syncInterestPrefix(ndn::Name(m_syncPrefix).append("sync"))
+ , m_onReceiveHelloData(onReceiveHelloData)
+ , m_onUpdate(onUpdate)
+ , m_bloomFilter(count, false_positive)
+ , m_helloInterestLifetime(helloInterestLifetime)
+ , m_syncInterestLifetime(syncInterestLifetime)
+ , m_rng(std::random_device{}())
+ , m_rangeUniformRandom(100, 500)
+{
+}
+
+bool
+Consumer::addSubscription(const ndn::Name& prefix)
+{
+ auto it = m_prefixes.insert(std::pair<ndn::Name, uint64_t>(prefix, 0));
+ if (!it.second) {
+ return false;
+ }
+ m_subscriptionList.insert(prefix);
+ m_bloomFilter.insert(prefix.toUri());
+ return true;
+}
+
+void
+Consumer::sendHelloInterest()
+{
+ ndn::Interest helloInterest(m_helloInterestPrefix);
+ helloInterest.setInterestLifetime(m_helloInterestLifetime);
+ helloInterest.setCanBePrefix(true);
+ helloInterest.setMustBeFresh(true);
+
+ NDN_LOG_DEBUG("Send Hello Interest " << helloInterest);
+
+ m_face.expressInterest(helloInterest,
+ std::bind(&Consumer::onHelloData, this, _1, _2),
+ std::bind(&Consumer::onNackForHello, this, _1, _2),
+ std::bind(&Consumer::onHelloTimeout, this, _1));
+}
+
+void
+Consumer::onHelloData(const ndn::Interest& interest, const ndn::Data& data)
+{
+ ndn::Name helloDataName = data.getName();
+
+ NDN_LOG_DEBUG("On Hello Data");
+
+ // Extract IBF from name which is the last element in hello data's name
+ m_iblt = helloDataName.getSubName(helloDataName.size()-1, 1);
+
+ NDN_LOG_TRACE("m_iblt: " << std::hash<std::string>{}(m_iblt.toUri()));
+
+ State state(data.getContent());
+
+ NDN_LOG_DEBUG("Content: " << state);
+
+ m_onReceiveHelloData(state.getContent());
+}
+
+void
+Consumer::sendSyncInterest()
+{
+ BOOST_ASSERT(!m_iblt.empty());
+
+ ndn::Name syncInterestName(m_syncInterestPrefix);
+
+ // Append subscription list
+ m_bloomFilter.appendToName(syncInterestName);
+
+ // Append IBF received in hello/sync data
+ syncInterestName.append(m_iblt);
+
+ ndn::Interest syncInterest(syncInterestName);
+ syncInterest.setInterestLifetime(m_syncInterestLifetime);
+ syncInterest.setCanBePrefix(true);
+ syncInterest.setMustBeFresh(true);
+
+ NDN_LOG_DEBUG("sendSyncInterest, nonce: " << syncInterest.getNonce() <<
+ " hash: " << std::hash<std::string>{}(syncInterest.getName().toUri()));
+
+ // Remove last pending interest before sending a new one
+ if (m_outstandingInterestId != nullptr) {
+ m_face.removePendingInterest(m_outstandingInterestId);
+ m_outstandingInterestId = nullptr;
+ }
+
+ m_outstandingInterestId = m_face.expressInterest(syncInterest,
+ std::bind(&Consumer::onSyncData, this, _1, _2),
+ std::bind(&Consumer::onNackForSync, this, _1, _2),
+ std::bind(&Consumer::onSyncTimeout, this, _1));
+}
+
+void
+Consumer::onSyncData(const ndn::Interest& interest, const ndn::Data& data)
+{
+ ndn::Name syncDataName = data.getName();
+
+ // Extract IBF from sync data name which is the last component
+ m_iblt = syncDataName.getSubName(syncDataName.size()-1, 1);
+
+ if (data.getContentType() == ndn::tlv::ContentType_Nack) {
+ NDN_LOG_DEBUG("Received application Nack from producer, renew sync interest");
+ sendSyncInterest();
+ return;
+ }
+
+ State state(data.getContent());
+ std::vector <MissingDataInfo> updates;
+
+ for (const auto& content : state.getContent()) {
+ NDN_LOG_DEBUG(content);
+ ndn::Name prefix = content.getPrefix(-1);
+ uint64_t seq = content.get(content.size()-1).toNumber();
+ if (m_prefixes.find(prefix) == m_prefixes.end() || seq > m_prefixes[prefix]) {
+ // If this is just the next seq number then we had already informed the consumer about
+ // the previous sequence number and hence seq low and seq high should be equal to current seq
+ updates.push_back(MissingDataInfo{prefix, m_prefixes[prefix] + 1, seq});
+ m_prefixes[prefix] = seq;
+ }
+ // Else updates will be empty and consumer will not be notified.
+ }
+
+ NDN_LOG_DEBUG("Sync Data: " << state);
+
+ if (!updates.empty()) {
+ m_onUpdate(updates);
+ }
+
+ sendSyncInterest();
+}
+
+void
+Consumer::onHelloTimeout(const ndn::Interest& interest)
+{
+ NDN_LOG_DEBUG("on hello timeout");
+ this->sendHelloInterest();
+}
+
+void
+Consumer::onSyncTimeout(const ndn::Interest& interest)
+{
+ NDN_LOG_DEBUG("on sync timeout " << interest.getNonce());
+
+ ndn::time::milliseconds after(m_rangeUniformRandom(m_rng));
+ m_scheduler.scheduleEvent(after, [this] { sendSyncInterest(); });
+}
+
+void
+Consumer::onNackForHello(const ndn::Interest& interest, const ndn::lp::Nack& nack)
+{
+ NDN_LOG_DEBUG("received Nack with reason " << nack.getReason() <<
+ " for interest " << interest << std::endl);
+
+ ndn::time::milliseconds after(m_rangeUniformRandom(m_rng));
+ m_scheduler.scheduleEvent(after, [this] { sendHelloInterest(); });
+}
+
+void
+Consumer::onNackForSync(const ndn::Interest& interest, const ndn::lp::Nack& nack)
+{
+ NDN_LOG_DEBUG("received Nack with reason " << nack.getReason() <<
+ " for interest " << interest << std::endl);
+
+ ndn::time::milliseconds after(m_rangeUniformRandom(m_rng));
+ m_scheduler.scheduleEvent(after, [this] { sendSyncInterest(); });
+}
+
+} // namespace psync
diff --git a/src/consumer.hpp b/src/consumer.hpp
new file mode 100644
index 0000000..47825a9
--- /dev/null
+++ b/src/consumer.hpp
@@ -0,0 +1,201 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#ifndef PSYNC_CONSUMER_HPP
+#define PSYNC_CONSUMER_HPP
+
+#include "detail/bloom-filter.hpp"
+#include "detail/util.hpp"
+#include "detail/test-access-control.hpp"
+
+#include <ndn-cxx/face.hpp>
+#include <ndn-cxx/util/scheduler.hpp>
+#include <ndn-cxx/util/time.hpp>
+
+#include <random>
+#include <map>
+#include <vector>
+
+namespace psync {
+
+using namespace ndn::literals::time_literals;
+
+typedef std::function<void(const std::vector<ndn::Name>&)> ReceiveHelloCallback;
+typedef std::function<void(const std::vector<MissingDataInfo>&)> UpdateCallback;
+
+const ndn::time::milliseconds HELLO_INTEREST_LIFETIME = 1_s;
+const ndn::time::milliseconds SYNC_INTEREST_LIFETIME = 1_s;
+
+/**
+ * @brief Consumer logic to subscribe to producer's data
+ *
+ * Application needs to call sendHelloInterest to get the subscription list
+ * in ReceiveHelloCallback. It can then add the desired names using addSubscription.
+ * Finally application will call sendSyncInterest. If the application adds something
+ * later to the subscription list then it may call sendSyncInterest again for
+ * sending the next sync interest with updated IBF immediately to reduce any delay in sync data.
+ * Whenever there is new data UpdateCallback will be called to notify the application.
+ * Currently, fetching of the data needs to be handled by the application.
+ */
+class Consumer
+{
+public:
+ /**
+ * @brief constructor
+ *
+ * @param syncPrefix syncPrefix to send hello/sync interests to producer
+ * @param face application's face
+ * @param onReceiveHelloData call back to give hello data back to application
+ * @param onUpdate call back to give sync data back to application
+ * @param count bloom filter number of expected elements (subscriptions) in bloom filter
+ * @param false_positive bloom filter false positive probability
+ * @param helloInterestLifetime lifetime of hello interest
+ * @param syncInterestLifetime lifetime of sync interest
+ */
+ Consumer(const ndn::Name& syncPrefix,
+ ndn::Face& face,
+ const ReceiveHelloCallback& onReceiveHelloData,
+ const UpdateCallback& onUpdate,
+ unsigned int count,
+ double false_positive,
+ ndn::time::milliseconds helloInterestLifetime = HELLO_INTEREST_LIFETIME,
+ ndn::time::milliseconds syncInterestLifetime = SYNC_INTEREST_LIFETIME);
+
+ /**
+ * @brief send hello interest /<sync-prefix>/hello/
+ *
+ * Should be called by the application whenever it wants to send a hello
+ */
+ void
+ sendHelloInterest();
+
+ /**
+ * @brief send sync interest /<sync-prefix>/sync/\<BF\>/\<producers-IBF\>
+ *
+ * Should be called after subscription list is set or updated
+ */
+ void
+ sendSyncInterest();
+
+ /**
+ * @brief Add prefix to subscription list
+ *
+ * @param prefix prefix to be added to the list
+ */
+ bool
+ addSubscription(const ndn::Name& prefix);
+
+ std::set<ndn::Name>
+ getSubscriptionList() const
+ {
+ return m_subscriptionList;
+ }
+
+ bool
+ isSubscribed(const ndn::Name& prefix) const
+ {
+ return m_subscriptionList.find(prefix) != m_subscriptionList.end();
+ }
+
+ ndn::optional<uint64_t>
+ getSeqNo(const ndn::Name& prefix) const
+ {
+ auto it = m_prefixes.find(prefix);
+ if (it == m_prefixes.end()) {
+ return ndn::nullopt;
+ }
+ return it->second;
+ }
+
+private:
+ /**
+ * @brief Get hello data from the producer
+ *
+ * Format: /<sync-prefix>/hello/\<BF\>/\<producer-IBF\>
+ * Data content is all the prefixes the producer has.
+ * We store the producer's IBF to be used in sending sync interest
+ *
+ * m_onReceiveHelloData is called to let the application know
+ * so that it can set the subscription list using addSubscription
+ *
+ * @param interest hello interest
+ * @param data hello data
+ */
+ void
+ onHelloData(const ndn::Interest& interest, const ndn::Data& data);
+
+ /**
+ * @brief Get hello data from the producer
+ *
+ * Format: <sync-prefix>/sync/\<BF\>/\<producers-IBF\>/\<producers-latest-IBF\>
+ * Data content is all the prefixes the producer thinks the consumer doesn't have
+ * have the latest update for. We update our copy of producer's IBF with the latest one.
+ * Then we send another sync interest after a random jitter.
+ *
+ * @param interest sync interest
+ * @param data sync data
+ */
+ void
+ onSyncData(const ndn::Interest& interest, const ndn::Data& data);
+
+ void
+ onHelloTimeout(const ndn::Interest& interest);
+
+ void
+ onSyncTimeout(const ndn::Interest& interest);
+
+ void
+ onNackForHello(const ndn::Interest& interest, const ndn::lp::Nack& nack);
+
+ void
+ onNackForSync(const ndn::Interest& interest, const ndn::lp::Nack& nack);
+
+PUBLIC_WITH_TESTS_ELSE_PRIVATE:
+ ndn::Face& m_face;
+ ndn::Scheduler m_scheduler;
+
+ ndn::Name m_syncPrefix;
+ ndn::Name m_helloInterestPrefix;
+ ndn::Name m_syncInterestPrefix;
+ ndn::Name m_iblt;
+
+ ReceiveHelloCallback m_onReceiveHelloData;
+
+ // Called when new sync update is received from producer.
+ UpdateCallback m_onUpdate;
+
+ // Bloom filter is used to store application/user's subscription list.
+ BloomFilter m_bloomFilter;
+
+ ndn::time::milliseconds m_helloInterestLifetime;
+ ndn::time::milliseconds m_syncInterestLifetime;
+
+ // Store sequence number for the prefix.
+ std::map<ndn::Name, uint64_t> m_prefixes;
+ std::set<ndn::Name> m_subscriptionList;
+
+ const ndn::PendingInterestId* m_outstandingInterestId;
+
+ std::mt19937 m_rng;
+ std::uniform_int_distribution<> m_rangeUniformRandom;
+};
+
+} // namespace psync
+
+#endif // PSYNC_CONSUMER_HPP
diff --git a/src/detail/bloom-filter.cpp b/src/detail/bloom-filter.cpp
new file mode 100644
index 0000000..b74a00b
--- /dev/null
+++ b/src/detail/bloom-filter.cpp
@@ -0,0 +1,349 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ *
+
+ * This file incorporates work covered by the following copyright and
+ * permission notice:
+
+ * The MIT License (MIT)
+
+ * Copyright (c) 2000 Arash Partow
+
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+*/
+
+#include "bloom-filter.hpp"
+#include "util.hpp"
+
+#include <ndn-cxx/util/logger.hpp>
+
+#include <algorithm>
+#include <cmath>
+#include <cstddef>
+#include <iterator>
+#include <limits>
+#include <cstdlib>
+
+// https://github.com/ArashPartow/bloom
+
+NDN_LOG_INIT(psync.BloomFilter);
+
+namespace psync {
+
+static const std::size_t bits_per_char = 0x08;
+static const unsigned char bit_mask[bits_per_char] = {
+ 0x01, //00000001
+ 0x02, //00000010
+ 0x04, //00000100
+ 0x08, //00001000
+ 0x10, //00010000
+ 0x20, //00100000
+ 0x40, //01000000
+ 0x80 //10000000
+};
+
+BloomParameters::BloomParameters()
+: minimum_size(1)
+, maximum_size(std::numeric_limits<unsigned int>::max())
+, minimum_number_of_hashes(1)
+, maximum_number_of_hashes(std::numeric_limits<unsigned int>::max())
+, projected_element_count(200)
+, false_positive_probability(1.0 / projected_element_count)
+, random_seed(0xA5A5A5A55A5A5A5AULL)
+{}
+
+bool
+BloomParameters::compute_optimal_parameters()
+{
+ if (!(*this)) {
+ return false;
+ }
+
+ double min_m = std::numeric_limits<double>::infinity();
+ double min_k = 0.0;
+ double curr_m = 0.0;
+ double k = 1.0;
+
+ while (k < 1000.0)
+ {
+ double numerator = (- k * projected_element_count);
+ double denominator = std::log(1.0 - std::pow(false_positive_probability, 1.0 / k));
+ curr_m = numerator / denominator;
+ if (curr_m < min_m)
+ {
+ min_m = curr_m;
+ min_k = k;
+ }
+ k += 1.0;
+ }
+
+ optimal_parameters_t& optp = optimal_parameters;
+
+ optp.number_of_hashes = static_cast<unsigned int>(min_k);
+ optp.table_size = static_cast<unsigned int>(min_m);
+ optp.table_size += (((optp.table_size % bits_per_char) != 0) ? (bits_per_char - (optp.table_size % bits_per_char)) : 0);
+
+ if (optp.number_of_hashes < minimum_number_of_hashes)
+ optp.number_of_hashes = minimum_number_of_hashes;
+ else if (optp.number_of_hashes > maximum_number_of_hashes)
+ optp.number_of_hashes = maximum_number_of_hashes;
+
+ if (optp.table_size < minimum_size)
+ optp.table_size = minimum_size;
+ else if (optp.table_size > maximum_size)
+ optp.table_size = maximum_size;
+
+ return true;
+}
+
+BloomFilter::BloomFilter()
+ : bit_table_(0)
+ , salt_count_(0)
+ , table_size_(0)
+ , raw_table_size_(0)
+ , projected_element_count_(0)
+ , inserted_element_count_(0)
+ , random_seed_(0)
+ , desired_false_positive_probability_(0.0)
+{}
+
+BloomFilter::BloomFilter(const BloomParameters& p)
+ : bit_table_(0)
+ , projected_element_count_(p.projected_element_count)
+ , inserted_element_count_(0)
+ , random_seed_((p.random_seed * 0xA5A5A5A5) + 1)
+ , desired_false_positive_probability_(p.false_positive_probability)
+{
+ salt_count_ = p.optimal_parameters.number_of_hashes;
+ table_size_ = p.optimal_parameters.table_size;
+ generate_unique_salt();
+ raw_table_size_ = table_size_ / bits_per_char;
+ //bit_table_ = new cell_type[static_cast<std::size_t>(raw_table_size_)];
+ bit_table_.resize(static_cast<std::size_t>(raw_table_size_), 0x00);
+}
+
+BloomFilter::BloomFilter(unsigned int projected_element_count,
+ double false_positive_probability)
+ : BloomFilter(getParameters(projected_element_count, false_positive_probability))
+{
+}
+
+BloomFilter::BloomFilter(unsigned int projected_element_count,
+ double false_positive_probability,
+ const ndn::name::Component& bfName)
+ : BloomFilter(projected_element_count, false_positive_probability)
+{
+ std::vector<BloomFilter::cell_type> table(bfName.value_begin(), bfName.value_end());
+
+ if (table.size() != raw_table_size_) {
+ BOOST_THROW_EXCEPTION(Error("Received BloomFilter cannot be decoded!"));
+ }
+ bit_table_ = table;
+}
+
+BloomParameters
+BloomFilter::getParameters(unsigned int projected_element_count,
+ double false_positive_probability)
+{
+ BloomParameters opt;
+ opt.false_positive_probability = false_positive_probability;
+ opt.projected_element_count = projected_element_count;
+
+ if (!opt) {
+ NDN_LOG_WARN("Bloom parameters are not correct!");
+ }
+
+ opt.compute_optimal_parameters();
+ return opt;
+}
+
+void
+BloomFilter::appendToName(ndn::Name& name) const
+{
+ name.appendNumber(projected_element_count_);
+ name.appendNumber((int)(desired_false_positive_probability_ * 1000));
+ name.append(bit_table_.begin(), bit_table_.end());
+}
+
+void
+BloomFilter::clear()
+{
+ bit_table_.resize(static_cast<std::size_t>(raw_table_size_), 0x00);
+ inserted_element_count_ = 0;
+}
+
+void
+BloomFilter::insert(const std::string& key)
+{
+ std::size_t bit_index = 0;
+ std::size_t bit = 0;
+ for (std::size_t i = 0; i < salt_.size(); ++i)
+ {
+ compute_indices(murmurHash3(salt_[i], key), bit_index, bit);
+ bit_table_[bit_index/bits_per_char] |= bit_mask[bit];
+ }
+ ++inserted_element_count_;
+}
+
+bool
+BloomFilter::contains(const std::string& key) const
+{
+ std::size_t bit_index = 0;
+ std::size_t bit = 0;
+
+ for (std::size_t i = 0; i < salt_.size(); ++i)
+ {
+ compute_indices(murmurHash3(salt_[i], key), bit_index, bit);
+ if ((bit_table_[bit_index/bits_per_char] & bit_mask[bit]) != bit_mask[bit]) {
+ return false;
+ }
+ }
+
+ return true;
+}
+
+std::vector <BloomFilter::cell_type>
+BloomFilter::table() const
+{
+ return bit_table_;
+}
+
+void
+BloomFilter::generate_unique_salt()
+{
+ /*
+ Note:
+ A distinct hash function need not be implementation-wise
+ distinct. In the current implementation "seeding" a common
+ hash function with different values seems to be adequate.
+ */
+ const unsigned int predef_salt_count = 128;
+ static const bloom_type predef_salt[predef_salt_count] =
+ {
+ 0xAAAAAAAA, 0x55555555, 0x33333333, 0xCCCCCCCC,
+ 0x66666666, 0x99999999, 0xB5B5B5B5, 0x4B4B4B4B,
+ 0xAA55AA55, 0x55335533, 0x33CC33CC, 0xCC66CC66,
+ 0x66996699, 0x99B599B5, 0xB54BB54B, 0x4BAA4BAA,
+ 0xAA33AA33, 0x55CC55CC, 0x33663366, 0xCC99CC99,
+ 0x66B566B5, 0x994B994B, 0xB5AAB5AA, 0xAAAAAA33,
+ 0x555555CC, 0x33333366, 0xCCCCCC99, 0x666666B5,
+ 0x9999994B, 0xB5B5B5AA, 0xFFFFFFFF, 0xFFFF0000,
+ 0xB823D5EB, 0xC1191CDF, 0xF623AEB3, 0xDB58499F,
+ 0xC8D42E70, 0xB173F616, 0xA91A5967, 0xDA427D63,
+ 0xB1E8A2EA, 0xF6C0D155, 0x4909FEA3, 0xA68CC6A7,
+ 0xC395E782, 0xA26057EB, 0x0CD5DA28, 0x467C5492,
+ 0xF15E6982, 0x61C6FAD3, 0x9615E352, 0x6E9E355A,
+ 0x689B563E, 0x0C9831A8, 0x6753C18B, 0xA622689B,
+ 0x8CA63C47, 0x42CC2884, 0x8E89919B, 0x6EDBD7D3,
+ 0x15B6796C, 0x1D6FDFE4, 0x63FF9092, 0xE7401432,
+ 0xEFFE9412, 0xAEAEDF79, 0x9F245A31, 0x83C136FC,
+ 0xC3DA4A8C, 0xA5112C8C, 0x5271F491, 0x9A948DAB,
+ 0xCEE59A8D, 0xB5F525AB, 0x59D13217, 0x24E7C331,
+ 0x697C2103, 0x84B0A460, 0x86156DA9, 0xAEF2AC68,
+ 0x23243DA5, 0x3F649643, 0x5FA495A8, 0x67710DF8,
+ 0x9A6C499E, 0xDCFB0227, 0x46A43433, 0x1832B07A,
+ 0xC46AFF3C, 0xB9C8FFF0, 0xC9500467, 0x34431BDF,
+ 0xB652432B, 0xE367F12B, 0x427F4C1B, 0x224C006E,
+ 0x2E7E5A89, 0x96F99AA5, 0x0BEB452A, 0x2FD87C39,
+ 0x74B2E1FB, 0x222EFD24, 0xF357F60C, 0x440FCB1E,
+ 0x8BBE030F, 0x6704DC29, 0x1144D12F, 0x948B1355,
+ 0x6D8FD7E9, 0x1C11A014, 0xADD1592F, 0xFB3C712E,
+ 0xFC77642F, 0xF9C4CE8C, 0x31312FB9, 0x08B0DD79,
+ 0x318FA6E7, 0xC040D23D, 0xC0589AA7, 0x0CA5C075,
+ 0xF874B172, 0x0CF914D5, 0x784D3280, 0x4E8CFEBC,
+ 0xC569F575, 0xCDB2A091, 0x2CC016B4, 0x5C5F4421
+ };
+
+ if (salt_count_ <= predef_salt_count)
+ {
+ std::copy(predef_salt,
+ predef_salt + salt_count_,
+ std::back_inserter(salt_));
+ for (unsigned int i = 0; i < salt_.size(); ++i)
+ {
+ salt_[i] = salt_[i] * salt_[(i + 3) % salt_.size()] + static_cast<bloom_type>(random_seed_);
+ }
+ }
+ else
+ {
+ std::copy(predef_salt,predef_salt + predef_salt_count,std::back_inserter(salt_));
+ srand(static_cast<unsigned int>(random_seed_));
+ while (salt_.size() < salt_count_)
+ {
+ bloom_type current_salt = static_cast<bloom_type>(rand()) * static_cast<bloom_type>(rand());
+ if (0 == current_salt) continue;
+ if (salt_.end() == std::find(salt_.begin(), salt_.end(), current_salt))
+ {
+ salt_.push_back(current_salt);
+ }
+ }
+ }
+}
+
+void
+BloomFilter::compute_indices(const bloom_type& hash,
+ std::size_t& bit_index, std::size_t& bit) const
+{
+ bit_index = hash % table_size_;
+ bit = bit_index % bits_per_char;
+}
+
+bool
+operator==(const BloomFilter& bf1, const BloomFilter& bf2)
+{
+ auto table1 = bf1.table();
+ auto table2 = bf2.table();
+
+ if (table1.size() != table2.size()) {
+ return false;
+ }
+
+ for (size_t i = 0; i < table1.size(); i++) {
+ if (table1[i] != table2[i]) {
+ return false;
+ }
+ }
+ return true;
+}
+
+std::ostream&
+operator<<(std::ostream& out, const BloomFilter& bf)
+{
+ for (const auto& element : bf.table()) {
+ out << unsigned(element);
+ }
+ return out;
+}
+
+} // namespace psync
\ No newline at end of file
diff --git a/src/detail/bloom-filter.hpp b/src/detail/bloom-filter.hpp
new file mode 100644
index 0000000..319f1c1
--- /dev/null
+++ b/src/detail/bloom-filter.hpp
@@ -0,0 +1,180 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ *
+
+ * This file incorporates work covered by the following copyright and
+ * permission notice:
+
+ * The MIT License (MIT)
+
+ * Copyright (c) 2000 Arash Partow
+
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+*/
+
+#ifndef PSYNC_BLOOM_FILTER_HPP
+#define PSYNC_BLOOM_FILTER_HPP
+
+#include <ndn-cxx/name.hpp>
+
+#include <string>
+#include <vector>
+#include <cmath>
+#include <cstdlib>
+
+namespace psync {
+
+struct optimal_parameters_t
+{
+ optimal_parameters_t()
+ : number_of_hashes(0),
+ table_size(0)
+ {}
+
+ unsigned int number_of_hashes;
+ unsigned int table_size;
+};
+
+class BloomParameters
+{
+public:
+ BloomParameters();
+
+ bool
+ compute_optimal_parameters();
+
+ bool operator!() const
+ {
+ return (minimum_size > maximum_size) ||
+ (minimum_number_of_hashes > maximum_number_of_hashes) ||
+ (minimum_number_of_hashes < 1) ||
+ (0 == maximum_number_of_hashes) ||
+ (0 == projected_element_count) ||
+ (false_positive_probability < 0.0) ||
+ (std::numeric_limits<double>::infinity() == std::abs(false_positive_probability)) ||
+ (0 == random_seed) ||
+ (0xFFFFFFFFFFFFFFFFULL == random_seed);
+ }
+
+ unsigned int minimum_size;
+ unsigned int maximum_size;
+ unsigned int minimum_number_of_hashes;
+ unsigned int maximum_number_of_hashes;
+ unsigned int projected_element_count;
+ double false_positive_probability;
+ unsigned long long int random_seed;
+ optimal_parameters_t optimal_parameters;
+};
+
+class BloomFilter
+{
+protected:
+ typedef uint32_t bloom_type;
+ typedef uint8_t cell_type;
+ typedef std::vector <cell_type>::iterator Iterator;
+
+public:
+ class Error : public std::runtime_error
+ {
+ public:
+ using std::runtime_error::runtime_error;
+ };
+
+ BloomFilter();
+
+ explicit BloomFilter(const BloomParameters& p);
+
+ BloomFilter(unsigned int projected_element_count,
+ double false_positive_probability);
+
+ BloomFilter(unsigned int projected_element_count,
+ double false_positive_probability,
+ const ndn::name::Component& bfName);
+
+ BloomParameters
+ getParameters(unsigned int projected_element_count,
+ double false_positive_probability);
+
+ /**
+ * @brief Append our bloom filter to the given name
+ *
+ * Append the count and false positive probability
+ * along with the bloom filter so that producer (PartialProducer) can construct a copy.
+ *
+ * @param name append bloom filter to this name
+ */
+ void
+ appendToName(ndn::Name& name) const;
+
+ void
+ clear();
+
+ void
+ insert(const std::string& key);
+
+ bool
+ contains(const std::string& key) const;
+
+ std::vector<cell_type>
+ table() const;
+
+private:
+ void
+ generate_unique_salt();
+
+ void
+ compute_indices(const bloom_type& hash,
+ std::size_t& bit_index, std::size_t& bit) const;
+
+private:
+ std::vector <bloom_type> salt_;
+ std::vector <cell_type> bit_table_;
+ unsigned int salt_count_;
+ unsigned int table_size_; // 8 * raw_table_size;
+ unsigned int raw_table_size_;
+ unsigned int projected_element_count_;
+ unsigned int inserted_element_count_;
+ unsigned long long int random_seed_;
+ double desired_false_positive_probability_;
+};
+
+bool
+operator==(const BloomFilter& bf1, const BloomFilter& bf2);
+
+std::ostream&
+operator<<(std::ostream& out, const BloomFilter& bf);
+
+} // namespace psync
+
+#endif // PSYNC_BLOOM_FILTER_HPP
\ No newline at end of file
diff --git a/src/detail/iblt.cpp b/src/detail/iblt.cpp
new file mode 100644
index 0000000..495c232
--- /dev/null
+++ b/src/detail/iblt.cpp
@@ -0,0 +1,277 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ *
+
+ * This file incorporates work covered by the following copyright and
+ * permission notice:
+
+ * The MIT License (MIT)
+
+ * Copyright (c) 2014 Gavin Andresen
+
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+*/
+
+#include "iblt.hpp"
+#include "util.hpp"
+
+#include <sstream>
+
+namespace psync {
+
+const size_t N_HASH(3);
+const size_t N_HASHCHECK(11);
+
+bool
+HashTableEntry::isPure() const
+{
+ if (count == 1 || count == -1) {
+ uint32_t check = murmurHash3(N_HASHCHECK, keySum);
+ return keyCheck == check;
+ }
+
+ return false;
+}
+
+bool
+HashTableEntry::isEmpty() const
+{
+ return count == 0 && keySum == 0 && keyCheck == 0;
+}
+
+IBLT::IBLT(size_t expectedNumEntries)
+{
+ // 1.5x expectedNumEntries gives very low probability of decoding failure
+ size_t nEntries = expectedNumEntries + expectedNumEntries / 2;
+ // make nEntries exactly divisible by N_HASH
+ size_t remainder = nEntries % N_HASH;
+ if (remainder != 0) {
+ nEntries += (N_HASH - remainder);
+ }
+
+ m_hashTable.resize(nEntries);
+}
+
+void
+IBLT::initialize(const ndn::name::Component& ibltName)
+{
+ const auto& values = extractValueFromName(ibltName);
+
+ if (3 * m_hashTable.size() != values.size()) {
+ BOOST_THROW_EXCEPTION(Error("Received IBF cannot be decoded!"));
+ }
+
+ for (size_t i = 0; i < m_hashTable.size(); i++) {
+ HashTableEntry& entry = m_hashTable.at(i);
+ if (values[i * 3] != 0) {
+ entry.count = values[i * 3];
+ entry.keySum = values[(i * 3) + 1];
+ entry.keyCheck = values[(i * 3) + 2];
+ }
+ }
+}
+
+void
+IBLT::update(int plusOrMinus, uint32_t key)
+{
+ size_t bucketsPerHash = m_hashTable.size() / N_HASH;
+
+ for (size_t i = 0; i < N_HASH; i++) {
+ size_t startEntry = i * bucketsPerHash;
+ uint32_t h = murmurHash3(i, key);
+ HashTableEntry& entry = m_hashTable.at(startEntry + (h % bucketsPerHash));
+ entry.count += plusOrMinus;
+ entry.keySum ^= key;
+ entry.keyCheck ^= murmurHash3(N_HASHCHECK, key);
+ }
+}
+
+void
+IBLT::insert(uint32_t key)
+{
+ update(INSERT, key);
+}
+
+void
+IBLT::erase(uint32_t key)
+{
+ update(ERASE, key);
+}
+
+bool
+IBLT::listEntries(std::set<uint32_t>& positive, std::set<uint32_t>& negative) const
+{
+ IBLT peeled = *this;
+
+ size_t nErased = 0;
+ do {
+ nErased = 0;
+ for (const auto& entry : peeled.m_hashTable) {
+ if (entry.isPure()) {
+ if (entry.count == 1) {
+ positive.insert(entry.keySum);
+ }
+ else {
+ negative.insert(entry.keySum);
+ }
+ peeled.update(-entry.count, entry.keySum);
+ ++nErased;
+ }
+ }
+ } while (nErased > 0);
+
+ // If any buckets for one of the hash functions is not empty,
+ // then we didn't peel them all:
+ for (const auto& entry : peeled.m_hashTable) {
+ if (entry.isEmpty() != true) {
+ return false;
+ }
+ }
+
+ return true;
+}
+
+IBLT
+IBLT::operator-(const IBLT& other) const
+{
+ BOOST_ASSERT(m_hashTable.size() == other.m_hashTable.size());
+
+ IBLT result(*this);
+ for (size_t i = 0; i < m_hashTable.size(); i++) {
+ HashTableEntry& e1 = result.m_hashTable.at(i);
+ const HashTableEntry& e2 = other.m_hashTable.at(i);
+ e1.count -= e2.count;
+ e1.keySum ^= e2.keySum;
+ e1.keyCheck ^= e2.keyCheck;
+ }
+
+ return result;
+}
+
+bool
+operator==(const IBLT& iblt1, const IBLT& iblt2)
+{
+ auto iblt1HashTable = iblt1.getHashTable();
+ auto iblt2HashTable = iblt2.getHashTable();
+ if (iblt1HashTable.size() != iblt2HashTable.size()) {
+ return false;
+ }
+
+ size_t N = iblt1HashTable.size();
+
+ for (size_t i = 0; i < N; i++) {
+ if (iblt1HashTable[i].count != iblt2HashTable[i].count ||
+ iblt1HashTable[i].keySum != iblt2HashTable[i].keySum ||
+ iblt1HashTable[i].keyCheck != iblt2HashTable[i].keyCheck)
+ return false;
+ }
+
+ return true;
+}
+
+bool
+operator!=(const IBLT& iblt1, const IBLT& iblt2)
+{
+ return !(iblt1 == iblt2);
+}
+
+std::ostream&
+operator<<(std::ostream& out, const IBLT& iblt)
+{
+ out << "count keySum keyCheckMatch\n";
+ for (const auto& entry : iblt.getHashTable()) {
+ out << entry.count << " " << entry.keySum << " ";
+ out << ((murmurHash3(N_HASHCHECK, entry.keySum) == entry.keyCheck) ||
+ (entry.isEmpty())? "true" : "false");
+ out << "\n";
+ }
+
+ return out;
+}
+
+void
+IBLT::appendToName(ndn::Name& name) const
+{
+ size_t n = m_hashTable.size();
+ size_t unitSize = (32 * 3) / 8; // hard coding
+ size_t tableSize = unitSize * n;
+
+ std::vector <uint8_t> table(tableSize);
+
+ for (size_t i = 0; i < n; i++) {
+ // table[i*12], table[i*12+1], table[i*12+2], table[i*12+3] --> hashTable[i].count
+
+ table[(i * unitSize)] = 0xFF & m_hashTable[i].count;
+ table[(i * unitSize) + 1] = 0xFF & (m_hashTable[i].count >> 8);
+ table[(i * unitSize) + 2] = 0xFF & (m_hashTable[i].count >> 16);
+ table[(i * unitSize) + 3] = 0xFF & (m_hashTable[i].count >> 24);
+
+ // table[i*12+4], table[i*12+5], table[i*12+6], table[i*12+7] --> hashTable[i].keySum
+
+ table[(i * unitSize) + 4] = 0xFF & m_hashTable[i].keySum;
+ table[(i * unitSize) + 5] = 0xFF & (m_hashTable[i].keySum >> 8);
+ table[(i * unitSize) + 6] = 0xFF & (m_hashTable[i].keySum >> 16);
+ table[(i * unitSize) + 7] = 0xFF & (m_hashTable[i].keySum >> 24);
+
+ // table[i*12+8], table[i*12+9], table[i*12+10], table[i*12+11] --> hashTable[i].keyCheck
+
+ table[(i * unitSize) + 8] = 0xFF & m_hashTable[i].keyCheck;
+ table[(i * unitSize) + 9] = 0xFF & (m_hashTable[i].keyCheck >> 8);
+ table[(i * unitSize) + 10] = 0xFF & (m_hashTable[i].keyCheck >> 16);
+ table[(i * unitSize) + 11] = 0xFF & (m_hashTable[i].keyCheck >> 24);
+ }
+
+ name.append(table.begin(), table.end());
+}
+
+std::vector<uint32_t>
+IBLT::extractValueFromName(const ndn::name::Component& ibltName) const
+{
+ std::vector<uint8_t> ibltValues(ibltName.value_begin(), ibltName.value_end());
+ size_t n = ibltValues.size() / 4;
+
+ std::vector<uint32_t> values(n, 0);
+
+ for (size_t i = 0; i < 4 * n; i += 4) {
+ uint32_t t = (ibltValues[i + 3] << 24) +
+ (ibltValues[i + 2] << 16) +
+ (ibltValues[i + 1] << 8) +
+ ibltValues[i];
+ values[i / 4] = t;
+ }
+
+ return values;
+}
+
+} // namespace psync
diff --git a/src/detail/iblt.hpp b/src/detail/iblt.hpp
new file mode 100644
index 0000000..f03797a
--- /dev/null
+++ b/src/detail/iblt.hpp
@@ -0,0 +1,181 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ *
+
+ * This file incorporates work covered by the following copyright and
+ * permission notice:
+
+ * The MIT License (MIT)
+
+ * Copyright (c) 2014 Gavin Andresen
+
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+*/
+
+#ifndef PSYNC_IBLT_HPP
+#define PSYNC_IBLT_HPP
+
+#include <ndn-cxx/name.hpp>
+
+#include <inttypes.h>
+#include <set>
+#include <vector>
+#include <string>
+
+namespace psync {
+
+class HashTableEntry
+{
+public:
+ int32_t count;
+ uint32_t keySum;
+ uint32_t keyCheck;
+
+ bool
+ isPure() const;
+
+ bool
+ isEmpty() const;
+};
+
+extern const size_t N_HASH;
+extern const size_t N_HASHCHECK;
+
+/**
+ * @brief Invertible Bloom Lookup Table (Invertible Bloom Filter)
+ *
+ * Used by Partial Sync (PartialProducer) and Full Sync (Full Producer)
+ */
+class IBLT
+{
+public:
+ class Error : public std::runtime_error
+ {
+ public:
+ using std::runtime_error::runtime_error;
+ };
+
+ /**
+ * @brief constructor
+ *
+ * @param expectedNumEntries the expected number of entries in the IBLT
+ */
+ explicit IBLT(size_t expectedNumEntries);
+
+ /**
+ * @brief Populate the hash table using the vector representation of IBLT
+ *
+ * @param ibltName the Component representation of IBLT
+ * @throws Error if size of values is not compatible with this IBF
+ */
+ void
+ initialize(const ndn::name::Component& ibltName);
+
+ void
+ insert(uint32_t key);
+
+ void
+ erase(uint32_t key);
+
+ /**
+ * @brief List all the entries in the IBLT
+ *
+ * This is called on a difference of two IBLTs: ownIBLT - rcvdIBLT
+ * Entries listed in positive are in ownIBLT but not in rcvdIBLT
+ * Entries listed in negative are in rcvdIBLT but not in ownIBLT
+ *
+ * @param positive
+ * @param negative
+ * @return true if decoding is complete successfully
+ */
+ bool
+ listEntries(std::set<uint32_t>& positive, std::set<uint32_t>& negative) const;
+
+ IBLT
+ operator-(const IBLT& other) const;
+
+ std::vector<HashTableEntry>
+ getHashTable() const
+ {
+ return m_hashTable;
+ }
+
+ /**
+ * @brief Appends self to name
+ *
+ * Encodes our hash table from uint32_t vector to uint8_t vector
+ * We create a uin8_t vector 12 times the size of uint32_t vector
+ * We put the first count in first 4 cells, keySum in next 4, and keyCheck in next 4.
+ * Repeat for all the other cells of the hash table.
+ * Then we append this uint8_t vector to the name.
+ *
+ * @param name
+ */
+ void
+ appendToName(ndn::Name& name) const;
+
+ /**
+ * @brief Extracts IBLT from name component
+ *
+ * Converts the name into a uint8_t vector which is then decoded to a
+ * a uint32_t vector.
+ *
+ * @param ibltName IBLT represented as a Name Component
+ * @return a uint32_t vector representing the hash table of the IBLT
+ */
+ std::vector<uint32_t>
+ extractValueFromName(const ndn::name::Component& ibltName) const;
+
+private:
+ void
+ update(int plusOrMinus, uint32_t key);
+
+private:
+ std::vector<HashTableEntry> m_hashTable;
+ static const int INSERT = 1;
+ static const int ERASE = -1;
+};
+
+bool
+operator==(const IBLT& iblt1, const IBLT& iblt2);
+
+bool
+operator!=(const IBLT& iblt1, const IBLT& iblt2);
+
+std::ostream&
+operator<<(std::ostream& out, const IBLT& iblt);
+
+} // namespace psync
+
+#endif // PSYNC_IBLT_HPP
\ No newline at end of file
diff --git a/src/detail/state.cpp b/src/detail/state.cpp
new file mode 100644
index 0000000..e5c6c47
--- /dev/null
+++ b/src/detail/state.cpp
@@ -0,0 +1,113 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "state.hpp"
+
+namespace psync {
+
+State::State(const ndn::Block& block)
+{
+ wireDecode(block);
+}
+
+void
+State::addContent(const ndn::Name& prefix)
+{
+ m_content.emplace_back(prefix);
+}
+
+const ndn::Block&
+State::wireEncode() const
+{
+ if (m_wire.hasWire()) {
+ return m_wire;
+ }
+
+ ndn::EncodingEstimator estimator;
+ size_t estimatedSize = wireEncode(estimator);
+
+ ndn::EncodingBuffer buffer(estimatedSize, 0);
+ wireEncode(buffer);
+
+ m_wire = buffer.block();
+ return m_wire;
+}
+
+template<ndn::encoding::Tag TAG>
+size_t
+State::wireEncode(ndn::EncodingImpl<TAG>& block) const
+{
+ size_t totalLength = 0;
+
+ for (std::vector<ndn::Name>::const_reverse_iterator it = m_content.rbegin();
+ it != m_content.rend(); ++it) {
+ totalLength += it->wireEncode(block);
+ }
+
+ totalLength += block.prependVarNumber(totalLength);
+ totalLength += block.prependVarNumber(tlv::PSyncContent);
+
+ return totalLength;
+}
+
+NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS(State);
+
+void
+State::wireDecode(const ndn::Block& wire)
+{
+ if (!wire.hasWire()) {
+ BOOST_THROW_EXCEPTION(ndn::tlv::Error("The supplied block does not contain wire format"));
+ }
+
+ wire.parse();
+ m_wire = wire;
+
+ auto it = m_wire.elements_begin();
+
+ if (it->type() != tlv::PSyncContent) {
+ BOOST_THROW_EXCEPTION(ndn::tlv::Error("Unexpected TLV type when decoding Content: " +
+ ndn::to_string(wire.type())));
+ }
+
+ it->parse();
+
+ for (auto val = it->elements_begin(); val != it->elements_end(); ++val) {
+ if (val->type() == ndn::tlv::Name) {
+ m_content.emplace_back(*val);
+ }
+ else {
+ BOOST_THROW_EXCEPTION(ndn::tlv::Error("Expected Name Block, but Block is of a different type: #" +
+ ndn::to_string(m_wire.type())));
+ }
+ }
+}
+
+std::ostream&
+operator<<(std::ostream& os, const State& state)
+{
+ std::vector<ndn::Name> content = state.getContent();
+
+ os << "[";
+ std::copy(content.begin(), content.end(), ndn::make_ostream_joiner(os, ", "));
+ os << "]";
+
+ return os;
+}
+
+} // namespace psync
diff --git a/src/detail/state.hpp b/src/detail/state.hpp
new file mode 100644
index 0000000..bdc6088
--- /dev/null
+++ b/src/detail/state.hpp
@@ -0,0 +1,73 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#ifndef PSYNC_STATE_HPP
+#define PSYNC_STATE_HPP
+
+#include <ndn-cxx/name.hpp>
+
+namespace psync {
+
+namespace tlv {
+
+enum {
+ PSyncContent = 128
+};
+
+} // namespace tlv
+
+class State
+{
+public:
+ explicit State(const ndn::Block& block);
+
+ State() = default;
+
+ void
+ addContent(const ndn::Name& prefix);
+
+ std::vector<ndn::Name>
+ getContent() const
+ {
+ return m_content;
+ }
+
+ const ndn::Block&
+ wireEncode() const;
+
+ template<ndn::encoding::Tag TAG>
+ size_t
+ wireEncode(ndn::EncodingImpl<TAG>& block) const;
+
+ void
+ wireDecode(const ndn::Block& wire);
+
+private:
+ std::vector<ndn::Name> m_content;
+ mutable ndn::Block m_wire;
+};
+
+NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(State);
+
+std::ostream&
+operator<<(std::ostream& os, const State& State);
+
+} // namespace psync
+
+#endif // PSYNC_STATE_HPP
\ No newline at end of file
diff --git a/src/detail/test-access-control.hpp b/src/detail/test-access-control.hpp
new file mode 100644
index 0000000..5253a7a
--- /dev/null
+++ b/src/detail/test-access-control.hpp
@@ -0,0 +1,39 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/**
+ * Copyright (c) 2014-2018, The University of Memphis,
+ * Regents of the University of California
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>
+ *
+ **/
+
+#ifndef PSYNC_TEST_ACCESS_CONTROL_HPP
+#define PSYNC_TEST_ACCESS_CONTROL_HPP
+
+#include "psync-config.hpp"
+
+#ifdef WITH_TESTS
+#define VIRTUAL_WITH_TESTS virtual
+#define PUBLIC_WITH_TESTS_ELSE_PROTECTED public
+#define PUBLIC_WITH_TESTS_ELSE_PRIVATE public
+#define PROTECTED_WITH_TESTS_ELSE_PRIVATE protected
+#else
+#define VIRTUAL_WITH_TESTS
+#define PUBLIC_WITH_TESTS_ELSE_PROTECTED protected
+#define PUBLIC_WITH_TESTS_ELSE_PRIVATE private
+#define PROTECTED_WITH_TESTS_ELSE_PRIVATE private
+#endif
+
+#endif // PSYNC_TEST_ACCESS_CONTROL_HPP
diff --git a/src/detail/util.cpp b/src/detail/util.cpp
new file mode 100644
index 0000000..ab2c541
--- /dev/null
+++ b/src/detail/util.cpp
@@ -0,0 +1,109 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * murmurHash3 was written by Austin Appleby, and is placed in the public
+ * domain. The author hereby disclaims copyright to this source code.
+ * https://github.com/aappleby/smhasher/blob/master/src/murmurHash3.cpp
+ **/
+
+#include "util.hpp"
+
+#include <ndn-cxx/util/backports.hpp>
+
+#include <string>
+
+namespace psync {
+
+static uint32_t
+ROTL32 ( uint32_t x, int8_t r )
+{
+ return (x << r) | (x >> (32 - r));
+}
+
+uint32_t
+murmurHash3(uint32_t nHashSeed, const std::vector<unsigned char>& vDataToHash)
+{
+ uint32_t h1 = nHashSeed;
+ const uint32_t c1 = 0xcc9e2d51;
+ const uint32_t c2 = 0x1b873593;
+
+ const size_t nblocks = vDataToHash.size() / 4;
+
+ //----------
+ // body
+ const uint32_t * blocks = (const uint32_t *)(&vDataToHash[0] + nblocks*4);
+
+ for (size_t i = -nblocks; i; i++) {
+ uint32_t k1 = blocks[i];
+
+ k1 *= c1;
+ k1 = ROTL32(k1,15);
+ k1 *= c2;
+
+ h1 ^= k1;
+ h1 = ROTL32(h1,13);
+ h1 = h1*5+0xe6546b64;
+ }
+
+ //----------
+ // tail
+ const uint8_t * tail = (const uint8_t*)(&vDataToHash[0] + nblocks*4);
+
+ uint32_t k1 = 0;
+
+ switch (vDataToHash.size() & 3) {
+ case 3:
+ k1 ^= tail[2] << 16;
+ NDN_CXX_FALLTHROUGH;
+
+ case 2:
+ k1 ^= tail[1] << 8;
+ NDN_CXX_FALLTHROUGH;
+
+ case 1:
+ k1 ^= tail[0];
+ k1 *= c1; k1 = ROTL32(k1,15); k1 *= c2; h1 ^= k1;
+ }
+
+ //----------
+ // finalization
+ h1 ^= vDataToHash.size();
+ h1 ^= h1 >> 16;
+ h1 *= 0x85ebca6b;
+ h1 ^= h1 >> 13;
+ h1 *= 0xc2b2ae35;
+ h1 ^= h1 >> 16;
+
+ return h1;
+}
+
+uint32_t
+murmurHash3(uint32_t nHashSeed, const std::string& str)
+{
+ return murmurHash3(nHashSeed, std::vector<unsigned char>(str.begin(), str.end()));
+}
+
+uint32_t
+murmurHash3(uint32_t nHashSeed, uint32_t value)
+{
+ return murmurHash3(nHashSeed,
+ std::vector<unsigned char>((unsigned char*)&value,
+ (unsigned char*)&value + sizeof(uint32_t)));
+}
+
+} // namespace psync
diff --git a/src/detail/util.hpp b/src/detail/util.hpp
new file mode 100644
index 0000000..980b6ed
--- /dev/null
+++ b/src/detail/util.hpp
@@ -0,0 +1,53 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * murmurHash3 was written by Austin Appleby, and is placed in the public
+ * domain. The author hereby disclaims copyright to this source code.
+ * https://github.com/aappleby/smhasher/blob/master/src/murmurHash3.cpp
+ **/
+
+#ifndef PSYNC_UTIL_HPP
+#define PSYNC_UTIL_HPP
+
+#include <ndn-cxx/name.hpp>
+
+#include <inttypes.h>
+#include <vector>
+#include <string>
+
+namespace psync {
+
+uint32_t
+murmurHash3(uint32_t nHashSeed, const std::vector<unsigned char>& vDataToHash);
+
+uint32_t
+murmurHash3(uint32_t nHashSeed, const std::string& str);
+
+uint32_t
+murmurHash3(uint32_t nHashSeed, uint32_t value);
+
+struct MissingDataInfo
+{
+ ndn::Name prefix;
+ uint64_t lowSeq;
+ uint64_t highSeq;
+};
+
+} // namespace psync
+
+#endif // PSYNC_UTIL_HPP
diff --git a/src/full-producer.cpp b/src/full-producer.cpp
new file mode 100644
index 0000000..dd4d452
--- /dev/null
+++ b/src/full-producer.cpp
@@ -0,0 +1,466 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of NLSR (Named-data Link State Routing).
+ * See AUTHORS.md for complete list of NLSR authors and contributors.
+ *
+ * NLSR is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "full-producer.hpp"
+
+#include <ndn-cxx/util/logger.hpp>
+#include <ndn-cxx/util/segment-fetcher.hpp>
+#include <ndn-cxx/security/validator-null.hpp>
+
+#include <iostream>
+#include <cstring>
+#include <limits>
+#include <functional>
+
+namespace psync {
+
+NDN_LOG_INIT(psync.FullProducer);
+
+FullProducer::FullProducer(const size_t expectedNumEntries,
+ ndn::Face& face,
+ const ndn::Name& syncPrefix,
+ const ndn::Name& userPrefix,
+ const UpdateCallback& onUpdateCallBack,
+ ndn::time::milliseconds syncInterestLifetime,
+ ndn::time::milliseconds syncReplyFreshness)
+ : ProducerBase(expectedNumEntries, face, syncPrefix, userPrefix, syncReplyFreshness)
+ , m_syncInterestLifetime(syncInterestLifetime)
+ , m_onUpdate(onUpdateCallBack)
+ , m_outstandingInterestId(nullptr)
+ , m_scheduledSyncInterestId(m_scheduler)
+{
+ int jitter = m_syncInterestLifetime.count() * .20;
+ m_jitter = std::uniform_int_distribution<>(-jitter, jitter);
+
+ m_registerPrefixId =
+ m_face.setInterestFilter(ndn::InterestFilter(m_syncPrefix).allowLoopback(false),
+ std::bind(&FullProducer::onInterest, this, _1, _2),
+ std::bind(&FullProducer::onRegisterFailed, this, _1, _2));
+
+ // Should we do this after setInterestFilter success call back
+ // (Currently following ChronoSync's way)
+ sendSyncInterest();
+}
+
+FullProducer::~FullProducer()
+{
+ if (m_outstandingInterestId != nullptr) {
+ m_face.removePendingInterest(m_outstandingInterestId);
+ }
+
+ m_face.unsetInterestFilter(m_registerPrefixId);
+}
+
+void
+FullProducer::publishName(const ndn::Name& prefix, ndn::optional<uint64_t> seq)
+{
+ if (m_prefixes.find(prefix) == m_prefixes.end()) {
+ NDN_LOG_WARN("Prefix not added: " << prefix);
+ return;
+ }
+
+ uint64_t newSeq = seq.value_or(m_prefixes[prefix] + 1);
+
+ NDN_LOG_INFO("Publish: "<< prefix << "/" << newSeq);
+
+ updateSeqNo(prefix, newSeq);
+
+ satisfyPendingInterests();
+}
+
+void
+FullProducer::sendSyncInterest()
+{
+ // If we send two sync interest one after the other
+ // since there is no new data in the network yet,
+ // when data is available it may satisfy both of them
+ if (m_outstandingInterestId != nullptr) {
+ m_face.removePendingInterest(m_outstandingInterestId);
+ }
+
+ // Sync Interest format for full sync: /<sync-prefix>/<ourLatestIBF>
+ ndn::Name syncInterestName = m_syncPrefix;
+
+ // Append our latest IBF
+ m_iblt.appendToName(syncInterestName);
+
+ m_outstandingInterestName = syncInterestName;
+
+ m_scheduledSyncInterestId =
+ m_scheduler.scheduleEvent(m_syncInterestLifetime / 2 + ndn::time::milliseconds(m_jitter(m_rng)),
+ [this] { sendSyncInterest(); });
+
+ ndn::Interest syncInterest(syncInterestName);
+ syncInterest.setInterestLifetime(m_syncInterestLifetime);
+ // Other side appends hash of IBF to sync data name
+ syncInterest.setCanBePrefix(true);
+ syncInterest.setMustBeFresh(true);
+
+ syncInterest.setNonce(1);
+ syncInterest.refreshNonce();
+
+ m_outstandingInterestId = m_face.expressInterest(syncInterest,
+ std::bind(&FullProducer::onSyncData, this, _1, _2),
+ [] (const ndn::Interest& interest, const ndn::lp::Nack& nack) {
+ NDN_LOG_TRACE("received Nack with reason " << nack.getReason() <<
+ " for Interest with Nonce: " << interest.getNonce());
+ },
+ [] (const ndn::Interest& interest) {
+ NDN_LOG_DEBUG("On full sync timeout " << interest.getNonce());
+ });
+
+ NDN_LOG_DEBUG("sendFullSyncInterest, nonce: " << syncInterest.getNonce() <<
+ ", hash: " << std::hash<ndn::Name>{}(syncInterestName));
+}
+
+void
+FullProducer::onInterest(const ndn::Name& prefixName, const ndn::Interest& interest)
+{
+ ndn::Name nameWithoutSyncPrefix = interest.getName().getSubName(prefixName.size());
+ if (nameWithoutSyncPrefix.size() == 2 &&
+ nameWithoutSyncPrefix.get(nameWithoutSyncPrefix.size() - 1) == RECOVERY_PREFIX.get(0)) {
+ onRecoveryInterest(interest);
+ }
+ else if (nameWithoutSyncPrefix.size() == 1) {
+ onSyncInterest(interest);
+ }
+}
+
+void
+FullProducer::onSyncInterest(const ndn::Interest& interest)
+{
+ ndn::Name interestName = interest.getName();
+ ndn::name::Component ibltName = interestName.get(interestName.size()-1);
+
+ NDN_LOG_DEBUG("Full Sync Interest Received, nonce: " << interest.getNonce() <<
+ ", hash: " << std::hash<ndn::Name>{}(interestName));
+
+ IBLT iblt(m_expectedNumEntries);
+ try {
+ iblt.initialize(ibltName);
+ }
+ catch (const std::exception& e) {
+ NDN_LOG_WARN(e.what());
+ return;
+ }
+
+ IBLT diff = m_iblt - iblt;
+
+ std::set<uint32_t> positive;
+ std::set<uint32_t> negative;
+
+ if (!diff.listEntries(positive, negative)) {
+ NDN_LOG_TRACE("Cannot decode differences, positive: " << positive.size()
+ << " negative: " << negative.size() << " m_threshold: "
+ << m_threshold);
+
+ // Send nack if greater then threshold, else send positive below as usual
+ // Or send if we can't get neither positive nor negative differences
+ if (positive.size() + negative.size() >= m_threshold ||
+ (positive.size() == 0 && negative.size() == 0)) {
+
+ // If we don't have anything to offer means that
+ // we are behind and should not mislead other nodes.
+ bool haveSomethingToOffer = false;
+ for (const auto& content : m_prefixes) {
+ if (content.second != 0) {
+ haveSomethingToOffer = true;
+ }
+ }
+
+ if (haveSomethingToOffer) {
+ sendApplicationNack(interestName);
+ }
+ return;
+ }
+ }
+
+ State state;
+ for (const auto& hash : positive) {
+ ndn::Name prefix = m_hash2prefix[hash];
+ // Don't sync up sequence number zero
+ if (m_prefixes[prefix] != 0 && !isFutureHash(prefix.toUri(), negative)) {
+ state.addContent(ndn::Name(prefix).appendNumber(m_prefixes[prefix]));
+ }
+ }
+
+ if (!state.getContent().empty()) {
+ NDN_LOG_DEBUG("Sending sync content: " << state);
+ sendSyncData(interestName, state.wireEncode());
+ return;
+ }
+
+ ndn::util::scheduler::ScopedEventId scopedEventId(m_scheduler);
+ auto it = m_pendingEntries.emplace(interestName,
+ PendingEntryInfoFull{iblt, std::move(scopedEventId)});
+
+ it.first->second.expirationEvent =
+ m_scheduler.scheduleEvent(interest.getInterestLifetime(),
+ [this, interest] {
+ NDN_LOG_TRACE("Erase Pending Interest " << interest.getNonce());
+ m_pendingEntries.erase(interest.getName());
+ });
+}
+
+void
+FullProducer::onRecoveryInterest(const ndn::Interest& interest)
+{
+ NDN_LOG_DEBUG("Recovery interest received");
+
+ State state;
+ for (const auto& content : m_prefixes) {
+ if (content.second != 0) {
+ state.addContent(ndn::Name(content.first).appendNumber(content.second));
+ }
+ }
+
+ // Send even if state is empty to let other side know that we are behind
+ sendRecoveryData(interest.getName(), state);
+}
+
+void
+FullProducer::sendSyncData(const ndn::Name& name, const ndn::Block& block)
+{
+ NDN_LOG_DEBUG("Checking if data will satisfy our own pending interest");
+
+ ndn::Name nameWithIblt;
+ m_iblt.appendToName(nameWithIblt);
+
+ // Append hash of our IBF so that data name maybe different for each node answering
+ ndn::Data data(ndn::Name(name).appendNumber(std::hash<ndn::Name>{}(nameWithIblt)));
+ data.setFreshnessPeriod(m_syncReplyFreshness);
+ data.setContent(block);
+ m_keyChain.sign(data);
+
+ // checking if our own interest got satisfied
+ if (m_outstandingInterestName == name) {
+ NDN_LOG_DEBUG("Satisfied our own pending interest");
+ // remove outstanding interest
+ if (m_outstandingInterestId != nullptr) {
+ NDN_LOG_DEBUG("Removing our pending interest from face");
+ m_face.removePendingInterest(m_outstandingInterestId);
+ m_outstandingInterestId = nullptr;
+ m_outstandingInterestName = ndn::Name("");
+ }
+
+ NDN_LOG_DEBUG("Sending Sync Data");
+
+ // Send data after removing pending sync interest on face
+ m_face.put(data);
+
+ NDN_LOG_TRACE("Renewing sync interest");
+ sendSyncInterest();
+ }
+ else {
+ NDN_LOG_DEBUG("Sending Sync Data");
+ m_face.put(data);
+ }
+}
+
+void
+FullProducer::onSyncData(const ndn::Interest& interest, const ndn::Data& data)
+{
+ ndn::Name interestName = interest.getName();
+ deletePendingInterests(interest.getName());
+
+ if (data.getContentType() == ndn::tlv::ContentType_Nack) {
+ NDN_LOG_DEBUG("Got application nack, sending recovery interest");
+ sendRecoveryInterest(interest);
+ return;
+ }
+
+ State state(data.getContent());
+ std::vector<MissingDataInfo> updates;
+
+ if (interestName.get(interestName.size()-1) == RECOVERY_PREFIX.get(0) &&
+ state.getContent().empty()) {
+ NDN_LOG_TRACE("Recovery data is empty, other side is behind");
+ return;
+ }
+
+ NDN_LOG_DEBUG("Sync Data Received: " << state);
+
+ for (const auto& content : state.getContent()) {
+ ndn::Name prefix = content.getPrefix(-1);
+ uint64_t seq = content.get(content.size()-1).toNumber();
+
+ if (m_prefixes.find(prefix) == m_prefixes.end() || m_prefixes[prefix] < seq) {
+ updates.push_back(MissingDataInfo{prefix, m_prefixes[prefix] + 1, seq});
+ updateSeqNo(prefix, seq);
+ // We should not call satisfyPendingSyncInterests here because we just
+ // got data and deleted pending interest by calling deletePendingFullSyncInterests
+ // But we might have interests not matching to this interest that might not have deleted
+ // from pending sync interest
+ }
+ }
+
+ // We just got the data, so send a new sync interest
+ if (!updates.empty()) {
+ m_onUpdate(updates);
+ NDN_LOG_TRACE("Renewing sync interest");
+ sendSyncInterest();
+ }
+ else {
+ NDN_LOG_TRACE("No new update, interest nonce: " << interest.getNonce() <<
+ " , hash: " << std::hash<ndn::Name>{}(interestName));
+ }
+}
+
+void
+FullProducer::satisfyPendingInterests()
+{
+ NDN_LOG_DEBUG("Satisfying full sync interest: " << m_pendingEntries.size());
+
+ for (auto it = m_pendingEntries.begin(); it != m_pendingEntries.end();) {
+ const PendingEntryInfoFull& entry = it->second;
+ IBLT diff = m_iblt - entry.iblt;
+ std::set<uint32_t> positive;
+ std::set<uint32_t> negative;
+
+ if (!diff.listEntries(positive, negative)) {
+ NDN_LOG_TRACE("Decode failed for pending interest");
+ if (positive.size() + negative.size() >= m_threshold ||
+ (positive.size() == 0 && negative.size() == 0)) {
+ NDN_LOG_TRACE("pos + neg > threshold or no diff can be found, erase pending interest");
+ m_pendingEntries.erase(it++);
+ continue;
+ }
+ }
+
+ State state;
+ for (const auto& hash : positive) {
+ ndn::Name prefix = m_hash2prefix[hash];
+
+ if (m_prefixes[prefix] != 0) {
+ state.addContent(ndn::Name(prefix).appendNumber(m_prefixes[prefix]));
+ }
+ }
+
+ if (!state.getContent().empty()) {
+ NDN_LOG_DEBUG("Satisfying sync content: " << state);
+ sendSyncData(it->first, state.wireEncode());
+ m_pendingEntries.erase(it++);
+ }
+ else {
+ ++it;
+ }
+ }
+}
+
+bool
+FullProducer::isFutureHash(const ndn::Name& prefix, const std::set<uint32_t>& negative)
+{
+ uint32_t nextHash = murmurHash3(N_HASHCHECK,
+ ndn::Name(prefix).appendNumber(m_prefixes[prefix] + 1).toUri());
+ for (const auto& nHash : negative) {
+ if (nHash == nextHash) {
+ return true;
+ break;
+ }
+ }
+ return false;
+}
+
+void
+FullProducer::deletePendingInterests(const ndn::Name& interestName) {
+ for (auto it = m_pendingEntries.begin(); it != m_pendingEntries.end();) {
+ if (it->first == interestName) {
+ NDN_LOG_TRACE("Delete pending interest: " << interestName);
+ m_pendingEntries.erase(it++);
+ }
+ else {
+ ++it;
+ }
+ }
+}
+
+void
+FullProducer::sendRecoveryData(const ndn::Name& prefix, const State& state)
+{
+ ndn::EncodingBuffer buffer;
+ buffer.prependBlock(state.wireEncode());
+
+ const uint8_t* rawBuffer = buffer.buf();
+ const uint8_t* segmentBegin = rawBuffer;
+ const uint8_t* end = rawBuffer + buffer.size();
+
+ uint64_t segmentNo = 0;
+ do {
+ const uint8_t* segmentEnd = segmentBegin + (ndn::MAX_NDN_PACKET_SIZE >> 1);
+ if (segmentEnd > end) {
+ segmentEnd = end;
+ }
+
+ ndn::Name segmentName(prefix);
+ segmentName.appendSegment(segmentNo);
+
+ std::shared_ptr<ndn::Data> data = std::make_shared<ndn::Data>(segmentName);
+ data->setContent(segmentBegin, segmentEnd - segmentBegin);
+ data->setFreshnessPeriod(m_syncReplyFreshness);
+
+ segmentBegin = segmentEnd;
+ if (segmentBegin >= end) {
+ data->setFinalBlock(segmentName[-1]);
+ }
+
+ m_keyChain.sign(*data);
+ m_face.put(*data);
+
+ NDN_LOG_DEBUG("Sending recovery data, seq: " << segmentNo);
+
+ ++segmentNo;
+ } while (segmentBegin < end);
+}
+
+void
+FullProducer::sendRecoveryInterest(const ndn::Interest& interest)
+{
+ if (m_outstandingInterestId != nullptr) {
+ m_face.removePendingInterest(m_outstandingInterestId);
+ m_outstandingInterestId = nullptr;
+ }
+
+ ndn::Name ibltName;
+ m_iblt.appendToName(ibltName);
+
+ ndn::Name recoveryInterestName(m_syncPrefix);
+ recoveryInterestName.appendNumber(std::hash<ndn::Name>{}(ibltName));
+ recoveryInterestName.append(RECOVERY_PREFIX);
+
+ ndn::Interest recoveryInterest(recoveryInterestName);
+ recoveryInterest.setInterestLifetime(m_syncInterestLifetime);
+
+ auto fetcher = ndn::util::SegmentFetcher::start(m_face,
+ recoveryInterest,
+ ndn::security::v2::getAcceptAllValidator());
+
+ fetcher->onComplete.connect([this, recoveryInterest] (ndn::ConstBufferPtr bufferPtr) {
+ NDN_LOG_TRACE("Segment fetcher got data");
+ ndn::Data data;
+ data.setContent(std::move(bufferPtr));
+ onSyncData(recoveryInterest, data);
+ });
+
+ fetcher->onError.connect([] (uint32_t errorCode, const std::string& msg) {
+ NDN_LOG_ERROR("Cannot recover, error: " << errorCode <<
+ " message: " << msg);
+ });
+}
+
+} // namespace psync
\ No newline at end of file
diff --git a/src/full-producer.hpp b/src/full-producer.hpp
new file mode 100644
index 0000000..2f97522
--- /dev/null
+++ b/src/full-producer.hpp
@@ -0,0 +1,243 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of NLSR (Named-data Link State Routing).
+ * See AUTHORS.md for complete list of NLSR authors and contributors.
+ *
+ * NLSR is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#ifndef PSYNC_FULL_PRODUCER_HPP
+#define PSYNC_FULL_PRODUCER_HPP
+
+#include "producer-base.hpp"
+#include "detail/state.hpp"
+
+#include <map>
+#include <unordered_set>
+#include <random>
+
+#include <ndn-cxx/face.hpp>
+#include <ndn-cxx/util/scheduler.hpp>
+#include <ndn-cxx/util/scheduler-scoped-event-id.hpp>
+#include <ndn-cxx/util/time.hpp>
+#include <ndn-cxx/security/key-chain.hpp>
+
+namespace psync {
+
+// Name has to be different than PendingEntryInfo
+// used in partial-producer otherwise get strange segmentation-faults
+// when partial producer is destructed
+struct PendingEntryInfoFull
+{
+ IBLT iblt;
+ ndn::util::scheduler::ScopedEventId expirationEvent;
+};
+
+typedef std::function<void(const std::vector<MissingDataInfo>&)> UpdateCallback;
+
+const ndn::time::milliseconds SYNC_INTEREST_LIFTIME = 1_s;
+const ndn::Name RECOVERY_PREFIX("recovery");
+
+/**
+ * @brief Full sync logic to synchronize with other nodes
+ * where all nodes wants to get all names prefixes synced.
+ *
+ * Application should call publishName whenever it wants to
+ * let consumers know that new data is available for the userPrefix.
+ * Multiple userPrefixes can be added by using addUserNode.
+ * Currently, fetching and publishing of data needs to be handled by the application.
+ */
+class FullProducer : public ProducerBase
+{
+public:
+ /**
+ * @brief constructor
+ *
+ * Registers syncPrefix in NFD and sends a sync interest
+ *
+ * @param expectedNumEntries expected entries in IBF
+ * @param face application's face
+ * @param syncPrefix The prefix of the sync group
+ * @param userPrefix The prefix of the first user in the group
+ * @param onUpdateCallBack The call back to be called when there is new data
+ * @param syncInterestLifetime lifetime of the sync interest
+ * @param syncReplyFreshness freshness of sync data
+ */
+ FullProducer(size_t expectedNumEntries,
+ ndn::Face& face,
+ const ndn::Name& syncPrefix,
+ const ndn::Name& userPrefix,
+ const UpdateCallback& onUpdateCallBack,
+ ndn::time::milliseconds syncInterestLifetime = SYNC_INTEREST_LIFTIME,
+ ndn::time::milliseconds syncReplyFreshness = SYNC_REPLY_FRESHNESS);
+
+ ~FullProducer();
+
+ /**
+ * @brief Publish name to let others know
+ *
+ * addUserNode needs to be called before this to add the prefix
+ * if not already added via the constructor.
+ * If seq is null then the seq of prefix is incremented by 1 else
+ * the supplied sequence is set in the IBF.
+ *
+ * @param prefix the prefix to be updated
+ * @param seq the sequence number of the prefix
+ */
+ void
+ publishName(const ndn::Name& prefix, ndn::optional<uint64_t> seq = ndn::nullopt);
+
+private:
+ /**
+ * @brief Send sync interest for full synchronization
+ *
+ * Forms the interest name: /<sync-prefix>/<own-IBF>
+ * Cancels any pending sync interest we sent earlier on the face
+ * Sends the sync interest
+ */
+ void
+ sendSyncInterest();
+
+PUBLIC_WITH_TESTS_ELSE_PRIVATE:
+ /**
+ * @brief Process interest from other parties
+ *
+ * Determine whether this is a sync interest or recovery interest
+ * and dispatch to onSyncInterest or onRecoveryInterest respectively.
+ *
+ * @param prefixName prefix for sync group which we registered
+ * @param interest the interest we got
+ */
+ void
+ onInterest(const ndn::Name& prefixName, const ndn::Interest& interest);
+
+private:
+ /**
+ * @brief Process sync interest from other parties
+ *
+ * Get differences b/w our IBF and IBF in the sync interest.
+ * If we cannot get the differences successfully then send an application nack.
+ *
+ * If we have some things in our IBF that the other side does not have, reply with the content or
+ * If no. of different items is greater than threshold or equals zero then send a nack.
+ * Otherwise add the sync interest into a map with interest name as key and PendingEntryInfoFull
+ * as value.
+ *
+ * @param interest the sync interest we got
+ */
+ void
+ onSyncInterest(const ndn::Interest& interest);
+
+ /**
+ * @brief Publish our entire state so that requester can catch up.
+ *
+ * @param interest the recovery interest we got
+ */
+ void
+ onRecoveryInterest(const ndn::Interest& interest);
+
+ /**
+ * @brief Send sync data
+ *
+ * Check if the data will satisfy our own pending interest,
+ * remove it first if it does, and then renew the sync interest
+ * Otherwise just send the data
+ *
+ * @param name name to be set as data name
+ * @param block the content of the data
+ */
+ void
+ sendSyncData(const ndn::Name& name, const ndn::Block& block);
+
+ /**
+ * @brief Process sync data
+ *
+ * Call deletePendingInterests to delete any pending sync interest with
+ * interest name would have been satisfied once NFD got the data.
+ *
+ * For each prefix/seq in data content check that we don't already have the
+ * prefix/seq and updateSeq(prefix, seq)
+ *
+ * Notify the application about the updates
+ * sendSyncInterest because the last one was satisfied by the incoming data
+ *
+ * @param interest interest for which we got the data
+ * @param data the data packet we got
+ */
+ void
+ onSyncData(const ndn::Interest& interest, const ndn::Data& data);
+
+ /**
+ * @brief Satisfy pending sync interests
+ *
+ * For pending sync interests SI, if IBF of SI has any difference from our own IBF:
+ * send data back.
+ * If we can't decode differences from the stored IBF, then delete it.
+ */
+ void
+ satisfyPendingInterests();
+
+ /**
+ * @brief Delete pending sync interests that match given name
+ *
+ */
+ void
+ deletePendingInterests(const ndn::Name& interestName);
+
+ /**
+ * @brief Check if hash(prefix + 1) is in negative
+ *
+ * Sometimes what happens is that interest from other side
+ * gets to us before the data
+ */
+ bool
+ isFutureHash(const ndn::Name& prefix, const std::set<uint32_t>& negative);
+
+ /**
+ * @brief Segment and send state with the given data name
+ *
+ */
+ void
+ sendRecoveryData(const ndn::Name& prefix, const State& state);
+
+ /**
+ * @brief Send recovery interest using segment fetcher
+ *
+ * Recovery data is expected go over max packet size
+ * Appends the RECOVERY_PREFIX to the given interest
+ */
+ void
+ sendRecoveryInterest(const ndn::Interest& interest);
+
+private:
+ std::map <ndn::Name, PendingEntryInfoFull> m_pendingEntries;
+
+ ndn::time::milliseconds m_syncInterestLifetime;
+
+ UpdateCallback m_onUpdate;
+
+ const ndn::PendingInterestId* m_outstandingInterestId;
+
+ ndn::util::scheduler::ScopedEventId m_scheduledSyncInterestId;
+
+ std::uniform_int_distribution<> m_jitter;
+
+ ndn::Name m_outstandingInterestName;
+
+ const ndn::RegisteredPrefixId* m_registerPrefixId;
+};
+
+} // namespace psync
+
+#endif // PSYNC_FULL_PRODUCER_HPP
\ No newline at end of file
diff --git a/src/partial-producer.cpp b/src/partial-producer.cpp
new file mode 100644
index 0000000..73fb677
--- /dev/null
+++ b/src/partial-producer.cpp
@@ -0,0 +1,252 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "partial-producer.hpp"
+#include "detail/state.hpp"
+
+#include <ndn-cxx/util/logger.hpp>
+
+#include <iostream>
+#include <cstring>
+#include <limits>
+
+namespace psync {
+
+NDN_LOG_INIT(psync.PartialProducer);
+
+PartialProducer::PartialProducer(size_t expectedNumEntries,
+ ndn::Face& face,
+ const ndn::Name& syncPrefix,
+ const ndn::Name& userPrefix,
+ ndn::time::milliseconds syncReplyFreshness,
+ ndn::time::milliseconds helloReplyFreshness)
+ : ProducerBase(expectedNumEntries, face, syncPrefix,
+ userPrefix, syncReplyFreshness, helloReplyFreshness)
+{
+ m_registerPrefixId =
+ m_face.registerPrefix(m_syncPrefix,
+ [this] (const ndn::Name& syncPrefix) {
+ m_face.setInterestFilter(ndn::Name(m_syncPrefix).append("hello"),
+ std::bind(&PartialProducer::onHelloInterest, this, _1, _2));
+
+ m_face.setInterestFilter(ndn::Name(m_syncPrefix).append("sync"),
+ std::bind(&PartialProducer::onSyncInterest, this, _1, _2));
+ },
+ std::bind(&PartialProducer::onRegisterFailed, this, _1, _2));
+}
+
+PartialProducer::~PartialProducer()
+{
+ m_face.unregisterPrefix(m_registerPrefixId, nullptr, nullptr);
+}
+
+void
+PartialProducer::publishName(const ndn::Name& prefix, ndn::optional<uint64_t> seq)
+{
+ if (m_prefixes.find(prefix) == m_prefixes.end()) {
+ return;
+ }
+
+ uint64_t newSeq = seq.value_or(m_prefixes[prefix] + 1);
+
+ NDN_LOG_INFO("Publish: " << prefix << "/" << newSeq);
+
+ updateSeqNo(prefix, newSeq);
+
+ satisfyPendingSyncInterests(prefix);
+}
+
+void
+PartialProducer::onHelloInterest(const ndn::Name& prefix, const ndn::Interest& interest)
+{
+ NDN_LOG_DEBUG("Hello Interest Received, nonce: " << interest.getNonce());
+
+ State state;
+
+ for (const auto& p : m_prefixes) {
+ state.addContent(p.first);
+ }
+ NDN_LOG_DEBUG("sending content p: " << state);
+
+ ndn::Name helloDataName = prefix;
+ m_iblt.appendToName(helloDataName);
+
+ ndn::Data data;
+ data.setName(helloDataName);
+ data.setFreshnessPeriod(m_helloReplyFreshness);
+ data.setContent(state.wireEncode());
+
+ m_keyChain.sign(data);
+ m_face.put(data);
+}
+
+void
+PartialProducer::onSyncInterest(const ndn::Name& prefix, const ndn::Interest& interest)
+{
+ NDN_LOG_DEBUG("Sync Interest Received, nonce: " << interest.getNonce() <<
+ " hash: " << std::hash<std::string>{}(interest.getName().toUri()));
+
+ ndn::Name interestName = interest.getName();
+
+ ndn::name::Component bfName, ibltName;
+ unsigned int projectedCount;
+ double falsePositiveProb;
+ try {
+ projectedCount = interestName.get(interestName.size()-4).toNumber();
+ falsePositiveProb = interestName.get(interestName.size()-3).toNumber()/1000.;
+ bfName = interestName.get(interestName.size()-2);
+
+ ibltName = interestName.get(interestName.size()-1);
+ }
+ catch (const std::exception& e) {
+ NDN_LOG_ERROR("Cannot extract bloom filter and IBF from sync interest: " << e.what());
+ NDN_LOG_ERROR("Format: /<syncPrefix>/sync/<BF-count>/<BF-false-positive-probability>/<BF>/<IBF>");
+ return;
+ }
+
+ BloomFilter bf;
+ IBLT iblt(m_expectedNumEntries);
+
+ try {
+ bf = BloomFilter(projectedCount, falsePositiveProb, bfName);
+ iblt.initialize(ibltName);
+ }
+ catch (const std::exception& e) {
+ NDN_LOG_WARN(e.what());
+ return;
+ }
+
+ // get the difference
+ IBLT diff = m_iblt - iblt;
+
+ // non-empty positive means we have some elements that the others don't
+ std::set<uint32_t> positive;
+ std::set<uint32_t> negative;
+
+ NDN_LOG_TRACE("Number elements in IBF: " << m_prefixes.size());
+
+ bool peel = diff.listEntries(positive, negative);
+
+ NDN_LOG_TRACE("Result of listEntries on the difference: " << peel);
+
+ if (!peel) {
+ NDN_LOG_DEBUG("Can't decode the difference, sending application Nack");
+ sendApplicationNack(interestName);
+ return;
+ }
+
+ // generate content for Sync reply
+ State state;
+ NDN_LOG_TRACE("Size of positive set " << positive.size());
+ NDN_LOG_TRACE("Size of negative set " << negative.size());
+ for (const auto& hash : positive) {
+ ndn::Name prefix = m_hash2prefix[hash];
+ if (bf.contains(prefix.toUri())) {
+ // generate data
+ state.addContent(ndn::Name(prefix).appendNumber(m_prefixes[prefix]));
+ NDN_LOG_DEBUG("Content: " << prefix << " " << std::to_string(m_prefixes[prefix]));
+ }
+ }
+
+ NDN_LOG_TRACE("m_threshold: " << m_threshold << " Total: " << positive.size() + negative.size());
+
+ if (positive.size() + negative.size() >= m_threshold || !state.getContent().empty()) {
+
+ // send back data
+ ndn::Name syncDataName = interestName;
+ m_iblt.appendToName(syncDataName);
+ ndn::Data data;
+ data.setName(syncDataName);
+ data.setFreshnessPeriod(m_syncReplyFreshness);
+ data.setContent(state.wireEncode());
+
+ m_keyChain.sign(data);
+ NDN_LOG_DEBUG("Sending sync data");
+ m_face.put(data);
+
+ return;
+ }
+
+ ndn::util::scheduler::ScopedEventId scopedEventId(m_scheduler);
+ auto it = m_pendingEntries.emplace(interestName,
+ PendingEntryInfo{bf, iblt, std::move(scopedEventId)});
+
+ it.first->second.expirationEvent =
+ m_scheduler.scheduleEvent(interest.getInterestLifetime(),
+ [this, interest] {
+ NDN_LOG_TRACE("Erase Pending Interest " << interest.getNonce());
+ m_pendingEntries.erase(interest.getName());
+ });
+}
+
+void
+PartialProducer::satisfyPendingSyncInterests(const ndn::Name& prefix) {
+ NDN_LOG_TRACE("size of pending interest: " << m_pendingEntries.size());
+
+ for (auto it = m_pendingEntries.begin(); it != m_pendingEntries.end();) {
+ const PendingEntryInfo& entry = it->second;
+
+ IBLT diff = m_iblt - entry.iblt;
+ std::set<uint32_t> positive;
+ std::set<uint32_t> negative;
+
+ bool peel = diff.listEntries(positive, negative);
+
+ NDN_LOG_TRACE("Result of listEntries on the difference: " << peel);
+
+ NDN_LOG_TRACE("Number elements in IBF: " << m_prefixes.size());
+ NDN_LOG_TRACE("m_threshold: " << m_threshold << " Total: " << positive.size() + negative.size());
+
+ if (!peel) {
+ NDN_LOG_TRACE("Decoding of differences with stored IBF unsuccessful, deleting pending interest");
+ m_pendingEntries.erase(it++);
+ continue;
+ }
+
+ State state;
+ if (entry.bf.contains(prefix.toUri()) || positive.size() + negative.size() >= m_threshold) {
+ if (entry.bf.contains(prefix.toUri())) {
+ state.addContent(ndn::Name(prefix).appendNumber(m_prefixes[prefix]));
+ NDN_LOG_DEBUG("sending sync content " << prefix << " " << std::to_string(m_prefixes[prefix]));
+ }
+ else {
+ NDN_LOG_DEBUG("Sending with empty content to send latest IBF to consumer");
+ }
+
+ // generate sync data and cancel the event
+ ndn::Name syncDataName = it->first;
+ m_iblt.appendToName(syncDataName);
+ ndn::Data data;
+ data.setName(syncDataName);
+ data.setFreshnessPeriod(m_syncReplyFreshness);
+ data.setContent(state.wireEncode());
+
+ m_keyChain.sign(data);
+ NDN_LOG_DEBUG("Sending sync data");
+ m_face.put(data);
+
+ m_pendingEntries.erase(it++);
+ }
+ else {
+ ++it;
+ }
+ }
+}
+
+} // namespace psync
diff --git a/src/partial-producer.hpp b/src/partial-producer.hpp
new file mode 100644
index 0000000..a2db7ac
--- /dev/null
+++ b/src/partial-producer.hpp
@@ -0,0 +1,128 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#ifndef PSYNC_PARTIAL_PRODUCER_HPP
+#define PSYNC_PARTIAL_PRODUCER_HPP
+
+#include "detail/bloom-filter.hpp"
+#include "producer-base.hpp"
+
+#include <map>
+#include <unordered_set>
+
+#include <ndn-cxx/face.hpp>
+#include <ndn-cxx/util/scheduler.hpp>
+#include <ndn-cxx/util/scheduler-scoped-event-id.hpp>
+#include <ndn-cxx/util/time.hpp>
+#include <ndn-cxx/security/key-chain.hpp>
+
+namespace psync {
+
+struct PendingEntryInfo
+{
+ BloomFilter bf;
+ IBLT iblt;
+ ndn::util::scheduler::ScopedEventId expirationEvent;
+};
+
+/**
+ * @brief Partial sync logic to publish data names
+ *
+ * Application should call publishName whenever it wants to
+ * let consumers know that new data is available.
+ * Additional userPrefix should be added via addUserNode before calling publishName
+ * Currently, publishing of data needs to be handled by the application.
+ */
+class PartialProducer : public ProducerBase
+{
+public:
+ /**
+ * @brief constructor
+ *
+ * Registers syncPrefix in NFD and sets internal filters for
+ * "sync" and "hello" under syncPrefix
+ *
+ * @param expectedNumEntries expected entries in IBF
+ * @param face application's face
+ * @param syncPrefix The prefix of the sync group
+ * @param userPrefix The prefix of the first user in the group
+ * @param syncReplyFreshness freshness of sync data
+ * @param helloReplyFreshness freshness of hello data
+ */
+ PartialProducer(size_t expectedNumEntries,
+ ndn::Face& face,
+ const ndn::Name& syncPrefix,
+ const ndn::Name& userPrefix,
+ ndn::time::milliseconds helloReplyFreshness = HELLO_REPLY_FRESHNESS,
+ ndn::time::milliseconds syncReplyFreshness = SYNC_REPLY_FRESHNESS);
+
+ ~PartialProducer();
+
+ /**
+ * @brief Publish name to let subscribed consumers know
+ *
+ * If seq is null then the seq of prefix is incremented by 1 else
+ * the supplied sequence is set in the IBF.
+ * Upon updating the sequence in the IBF satisfyPendingSyncInterests
+ * is called to let subscribed consumers know.
+ *
+ * @param prefix the prefix to be updated
+ * @param seq the sequence number of the prefix
+ */
+ void
+ publishName(const ndn::Name& prefix, ndn::optional<uint64_t> seq = ndn::nullopt);
+
+private:
+ /**
+ * @brief Satisfy any pending interest that have subscription for prefix
+ *
+ * @param prefix the prefix that was updated in publishName
+ */
+ void
+ satisfyPendingSyncInterests(const ndn::Name& prefix);
+
+ /**
+ * @brief Receive hello interest from consumer and respond with hello data
+ *
+ * Hello data's name format is: /\<sync-prefix\>/hello/\<current-IBF\>
+ */
+ void
+ onHelloInterest(const ndn::Name& prefix, const ndn::Interest& interest);
+
+PUBLIC_WITH_TESTS_ELSE_PRIVATE:
+ /**
+ * @brief Receive sync interest from consumer
+ *
+ * Either respond with sync data if consumer is behind or
+ * store sync interest in m_pendingEntries
+ *
+ * Sync data's name format is: /\<sync-prefix\>/sync/\<old-IBF\>/\<current-IBF\>
+ */
+ void
+ onSyncInterest(const ndn::Name& prefix, const ndn::Interest& interest);
+
+PUBLIC_WITH_TESTS_ELSE_PRIVATE:
+ std::map <ndn::Name, PendingEntryInfo> m_pendingEntries;
+
+ const ndn::RegisteredPrefixId* m_registerPrefixId;
+};
+
+} // namespace psync
+
+#endif // PSYNC_PARTIAL_PRODUCER_HPP
diff --git a/src/producer-base.cpp b/src/producer-base.cpp
new file mode 100644
index 0000000..e24fb5b
--- /dev/null
+++ b/src/producer-base.cpp
@@ -0,0 +1,146 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "producer-base.hpp"
+
+#include <ndn-cxx/util/logger.hpp>
+#include <boost/algorithm/string.hpp>
+
+#include <cstring>
+#include <limits>
+#include <functional>
+
+namespace psync {
+
+NDN_LOG_INIT(psync.ProducerBase);
+
+ProducerBase::ProducerBase(size_t expectedNumEntries,
+ ndn::Face& face,
+ const ndn::Name& syncPrefix,
+ const ndn::Name& userPrefix,
+ ndn::time::milliseconds syncReplyFreshness,
+ ndn::time::milliseconds helloReplyFreshness)
+ : m_iblt(expectedNumEntries)
+ , m_expectedNumEntries(expectedNumEntries)
+ , m_threshold(expectedNumEntries/2)
+ , m_face(face)
+ , m_scheduler(m_face.getIoService())
+ , m_syncPrefix(syncPrefix)
+ , m_userPrefix(userPrefix)
+ , m_syncReplyFreshness(syncReplyFreshness)
+ , m_helloReplyFreshness(helloReplyFreshness)
+{
+ addUserNode(userPrefix);
+}
+
+bool
+ProducerBase::addUserNode(const ndn::Name& prefix)
+{
+ if (m_prefixes.find(prefix) == m_prefixes.end()) {
+ m_prefixes[prefix] = 0;
+ return true;
+ }
+ else {
+ return false;
+ }
+}
+
+void
+ProducerBase::removeUserNode(const ndn::Name& prefix)
+{
+ auto it = m_prefixes.find(prefix);
+ if (it != m_prefixes.end()) {
+ uint64_t seqNo = it->second;
+ m_prefixes.erase(it);
+
+ ndn::Name prefixWithSeq = ndn::Name(prefix).appendNumber(seqNo);
+ auto hashIt = m_prefix2hash.find(prefixWithSeq);
+ if (hashIt != m_prefix2hash.end()) {
+ uint32_t hash = hashIt->second;
+ m_prefix2hash.erase(hashIt);
+ m_hash2prefix.erase(hash);
+ m_iblt.erase(hash);
+ }
+ }
+}
+
+void
+ProducerBase::updateSeqNo(const ndn::Name& prefix, uint64_t seq)
+{
+ NDN_LOG_DEBUG("UpdateSeq: " << prefix << " " << seq);
+
+ uint64_t oldSeq;
+ auto it = m_prefixes.find(prefix);
+ if (it != m_prefixes.end()) {
+ oldSeq = it->second;
+ }
+ else {
+ NDN_LOG_WARN("Prefix not found in m_prefixes");
+ return;
+ }
+
+ if (oldSeq >= seq) {
+ NDN_LOG_WARN("Update has lower/equal seq no for prefix, doing nothing!");
+ return;
+ }
+
+ // Delete the last sequence prefix from the iblt
+ // Because we don't insert zeroth prefix in IBF so no need to delete that
+ if (oldSeq != 0) {
+ ndn::Name prefixWithSeq = ndn::Name(prefix).appendNumber(oldSeq);
+ auto hashIt = m_prefix2hash.find(prefixWithSeq);
+ if (hashIt != m_prefix2hash.end()) {
+ uint32_t hash = hashIt->second;
+ m_prefix2hash.erase(hashIt);
+ m_hash2prefix.erase(hash);
+ m_iblt.erase(hash);
+ }
+ }
+
+ // Insert the new seq no
+ it->second = seq;
+ ndn::Name prefixWithSeq = ndn::Name(prefix).appendNumber(seq);
+ uint32_t newHash = murmurHash3(N_HASHCHECK, prefixWithSeq.toUri());
+ m_prefix2hash[prefixWithSeq] = newHash;
+ m_hash2prefix[newHash] = prefix;
+ m_iblt.insert(newHash);
+}
+
+void
+ProducerBase::sendApplicationNack(const ndn::Name& name)
+{
+ NDN_LOG_DEBUG("Sending application nack");
+ ndn::Name dataName(name);
+ m_iblt.appendToName(dataName);
+
+ ndn::Data data(dataName);
+ data.setFreshnessPeriod(m_syncReplyFreshness);
+ data.setContentType(ndn::tlv::ContentType_Nack);
+ m_keyChain.sign(data);
+ m_face.put(data);
+}
+
+void
+ProducerBase::onRegisterFailed(const ndn::Name& prefix, const std::string& msg) const
+{
+ NDN_LOG_ERROR("ProduerBase::onRegisterFailed " << prefix << " " << msg);
+ BOOST_THROW_EXCEPTION(Error(msg));
+}
+
+} // namespace psync
diff --git a/src/producer-base.hpp b/src/producer-base.hpp
new file mode 100644
index 0000000..079b803
--- /dev/null
+++ b/src/producer-base.hpp
@@ -0,0 +1,188 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#ifndef PSYNC_PRODUCER_BASE_HPP
+#define PSYNC_PRODUCER_BASE_HPP
+
+#include "detail/iblt.hpp"
+#include "detail/bloom-filter.hpp"
+#include "detail/util.hpp"
+#include "detail/test-access-control.hpp"
+
+#include <ndn-cxx/face.hpp>
+#include <ndn-cxx/util/scheduler.hpp>
+#include <ndn-cxx/util/time.hpp>
+#include <ndn-cxx/security/key-chain.hpp>
+#include <ndn-cxx/security/validator-config.hpp>
+
+#include <map>
+#include <unordered_set>
+#include <random>
+
+namespace psync {
+
+using namespace ndn::literals::time_literals;
+
+const ndn::time::milliseconds SYNC_REPLY_FRESHNESS = 1_s;
+const ndn::time::milliseconds HELLO_REPLY_FRESHNESS = 1_s;
+
+/**
+ * @brief Base class for PartialProducer and FullProducer
+ *
+ * Contains code common to both
+ */
+class ProducerBase
+{
+ class Error : public std::runtime_error
+ {
+ public:
+ using std::runtime_error::runtime_error;
+ };
+
+PUBLIC_WITH_TESTS_ELSE_PROTECTED:
+ /**
+ * @brief constructor
+ *
+ * @param expectedNumEntries expected number entries in IBF
+ * @param face application's face
+ * @param syncPrefix The prefix of the sync group
+ * @param userPrefix The prefix of the first user in the group
+ * @param syncReplyFreshness freshness of sync data
+ * @param helloReplyFreshness freshness of hello data
+ */
+ ProducerBase(size_t expectedNumEntries,
+ ndn::Face& face,
+ const ndn::Name& syncPrefix,
+ const ndn::Name& userPrefix,
+ ndn::time::milliseconds syncReplyFreshness = SYNC_REPLY_FRESHNESS,
+ ndn::time::milliseconds helloReplyFreshness = HELLO_REPLY_FRESHNESS);
+public:
+ /**
+ * @brief Returns the current sequence number of the given prefix
+ *
+ * @param prefix prefix to get the sequence number of
+ */
+ ndn::optional<uint64_t>
+ getSeqNo(const ndn::Name& prefix) const
+ {
+ auto it = m_prefixes.find(prefix);
+ if (it == m_prefixes.end()) {
+ return ndn::nullopt;
+ }
+ return it->second;
+ }
+
+ /**
+ * @brief Adds a user node for synchronization
+ *
+ * Initializes m_prefixes[prefix] to zero
+ * Does not add zero-th sequence number to IBF
+ * because if a large number of user nodes are added
+ * then decoding of the difference between own IBF and
+ * other IBF will not be possible
+ *
+ * @param prefix the user node to be added
+ */
+ bool
+ addUserNode(const ndn::Name& prefix);
+
+ /**
+ * @brief Remove the user node from synchronization
+ *
+ * Erases prefix from IBF and other maps
+ *
+ * @param prefix the user node to be removed
+ */
+ void
+ removeUserNode(const ndn::Name& prefix);
+
+PUBLIC_WITH_TESTS_ELSE_PROTECTED:
+ /**
+ * @brief Update m_prefixes and IBF with the given prefix and seq
+ *
+ * Whoever calls this needs to make sure that prefix is in m_prefixes
+ * We remove already existing prefix/seq from IBF
+ * (unless seq is zero because we don't insert zero seq into IBF)
+ * Then we update m_prefix, m_prefix2hash, m_hash2prefix, and IBF
+ *
+ * @param prefix prefix of the update
+ * @param seq sequence number of the update
+ */
+ void
+ updateSeqNo(const ndn::Name& prefix, uint64_t seq);
+
+ bool
+ isUserNode(const ndn::Name& prefix) {
+ if (m_prefixes.find(prefix) == m_prefixes.end()) {
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * @brief Sends a data packet with content type nack
+ *
+ * Producer sends a nack to consumer if consumer has very old IBF
+ * whose differences with latest IBF can't be decoded successfully
+ *
+ * @param name send application nack with this name
+ */
+ void
+ sendApplicationNack(const ndn::Name& name);
+
+ /**
+ * @brief Logs a message if setting an interest filter fails
+ *
+ * @param prefix
+ * @param msg
+ */
+ void
+ onRegisterFailed(const ndn::Name& prefix, const std::string& msg) const;
+
+PUBLIC_WITH_TESTS_ELSE_PROTECTED:
+ IBLT m_iblt;
+ uint32_t m_expectedNumEntries;
+ // Threshold is used check if the differences are greater
+ // than it and whether we need to update the other side.
+ uint32_t m_threshold;
+
+ // prefix and sequence number
+ std::map <ndn::Name, uint64_t> m_prefixes;
+ // Just for looking up hash faster (instead of calculating it again)
+ // Only used in updateSeqNo, prefix/seqNo is the key
+ std::map <ndn::Name, uint32_t> m_prefix2hash;
+ // Value is prefix (and not prefix/seqNo)
+ std::map <uint32_t, ndn::Name> m_hash2prefix;
+
+ ndn::Face& m_face;
+ ndn::KeyChain m_keyChain;
+ ndn::Scheduler m_scheduler;
+
+ ndn::Name m_syncPrefix;
+ ndn::Name m_userPrefix;
+
+ ndn::time::milliseconds m_syncReplyFreshness;
+ ndn::time::milliseconds m_helloReplyFreshness;
+
+ std::mt19937 m_rng;
+};
+
+} // namespace psync
+
+#endif // PSYNC_PRODUCER_BASE_HPP
diff --git a/tests/boost-multi-log-formatter.hpp b/tests/boost-multi-log-formatter.hpp
new file mode 100644
index 0000000..26946f9
--- /dev/null
+++ b/tests/boost-multi-log-formatter.hpp
@@ -0,0 +1,214 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/**
+ * Copyright (c) 2014-2018 Regents of the University of California.
+ *
+ * Based on work by Martin Ba (http://stackoverflow.com/a/26718189)
+ *
+ * This file is distributed under the Boost Software License, Version 1.0.
+ * (See http://www.boost.org/LICENSE_1_0.txt)
+ */
+
+#ifndef NDN_TESTS_BOOST_MULTI_LOG_FORMATTER_HPP
+#define NDN_TESTS_BOOST_MULTI_LOG_FORMATTER_HPP
+
+#include <boost/version.hpp>
+
+#if BOOST_VERSION >= 105900
+#include <boost/test/unit_test_parameters.hpp>
+#else
+#include <boost/test/detail/unit_test_parameters.hpp>
+#endif // BOOST_VERSION >= 105900
+
+#include <boost/test/unit_test_log_formatter.hpp>
+#include <boost/test/output/compiler_log_formatter.hpp>
+#include <boost/test/output/xml_log_formatter.hpp>
+
+namespace boost {
+namespace unit_test {
+namespace output {
+
+/**
+ * @brief Log formatter for Boost.Test that outputs the logging to multiple formatters
+ *
+ * The log formatter is designed to output to one or multiple formatters at the same time. For
+ * example, one HRF formatter can output to the standard output, while XML formatter output to
+ * the file.
+ *
+ * Usage:
+ *
+ * // Call in init_unit_test_suite: (this will override the --log_format parameter)
+ * auto formatter = new boost::unit_test::output::multi_log_formatter; // same as already configured logger
+ *
+ * // Prepare and add additional logger(s)
+ * formatter.add(std::make_shared<boost::unit_test::output::xml_log_formatter>(),
+ * std::make_shared<std::ofstream>("out.xml"));
+ *
+ * boost::unit_test::unit_test_log.set_formatter(formatter);
+ *
+ * @note Calling `boost::unit_test::unit_test_log.set_stream(...)` will change the stream for
+ * the original logger.
+ */
+class multi_log_formatter : public unit_test_log_formatter
+{
+public:
+ /**
+ * @brief Create instance of the logger, based on the configured logger instance
+ */
+ multi_log_formatter()
+ {
+ auto format =
+#if BOOST_VERSION > 105900
+ runtime_config::get<output_format>(runtime_config::LOG_FORMAT);
+#else
+ runtime_config::log_format();
+#endif // BOOST_VERSION > 105900
+
+ switch (format) {
+ default:
+#if BOOST_VERSION >= 105900
+ case OF_CLF:
+#else
+ case CLF:
+#endif // BOOST_VERSION >= 105900
+ m_loggers.push_back({std::make_shared<compiler_log_formatter>(), nullptr});
+ break;
+#if BOOST_VERSION >= 105900
+ case OF_XML:
+#else
+ case XML:
+#endif // BOOST_VERSION >= 105900
+ m_loggers.push_back({std::make_shared<xml_log_formatter>(), nullptr});
+ break;
+ }
+ }
+
+ void
+ add(std::shared_ptr<unit_test_log_formatter> formatter, std::shared_ptr<std::ostream> os)
+ {
+ m_loggers.push_back({formatter, os});
+ }
+
+ // Formatter interface
+ void
+ log_start(std::ostream& os, counter_t test_cases_amount)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_start(l.os == nullptr ? os : *l.os, test_cases_amount);
+ }
+
+ void
+ log_finish(std::ostream& os)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_finish(l.os == nullptr ? os : *l.os);
+ }
+
+ void
+ log_build_info(std::ostream& os)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_build_info(l.os == nullptr ? os : *l.os);
+ }
+
+ void
+ test_unit_start(std::ostream& os, const test_unit& tu)
+ {
+ for (auto& l : m_loggers)
+ l.logger->test_unit_start(l.os == nullptr ? os : *l.os, tu);
+ }
+
+ void
+ test_unit_finish(std::ostream& os, const test_unit& tu, unsigned long elapsed)
+ {
+ for (auto& l : m_loggers)
+ l.logger->test_unit_finish(l.os == nullptr ? os : *l.os, tu, elapsed);
+ }
+
+ void
+ test_unit_skipped(std::ostream& os, const test_unit& tu)
+ {
+ for (auto& l : m_loggers)
+ l.logger->test_unit_skipped(l.os == nullptr ? os : *l.os, tu);
+ }
+
+#if BOOST_VERSION >= 105900
+ void
+ log_exception_start(std::ostream& os, const log_checkpoint_data& lcd, const execution_exception& ex)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_exception_start(l.os == nullptr ? os : *l.os, lcd, ex);
+ }
+
+ void
+ log_exception_finish(std::ostream& os)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_exception_finish(l.os == nullptr ? os : *l.os);
+ }
+#else
+ void
+ log_exception(std::ostream& os, const log_checkpoint_data& lcd, const execution_exception& ex)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_exception(l.os == nullptr ? os : *l.os, lcd, ex);
+ }
+#endif // BOOST_VERSION >= 105900
+
+ void
+ log_entry_start(std::ostream& os, const log_entry_data& entry_data, log_entry_types let)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_entry_start(l.os == nullptr ? os : *l.os, entry_data, let);
+ }
+
+ void
+ log_entry_value(std::ostream& os, const_string value)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_entry_value(l.os == nullptr ? os : *l.os, value);
+ }
+
+ void
+ log_entry_finish(std::ostream& os)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_entry_finish(l.os == nullptr ? os : *l.os);
+ }
+
+#if BOOST_VERSION >= 105900
+ void
+ entry_context_start(std::ostream& os, log_level level)
+ {
+ for (auto& l : m_loggers)
+ l.logger->entry_context_start(l.os == nullptr ? os : *l.os, level);
+ }
+
+ void
+ log_entry_context(std::ostream& os, const_string value)
+ {
+ for (auto& l : m_loggers)
+ l.logger->log_entry_context(l.os == nullptr ? os : *l.os, value);
+ }
+
+ void
+ entry_context_finish(std::ostream& os)
+ {
+ for (auto& l : m_loggers)
+ l.logger->entry_context_finish(l.os == nullptr ? os : *l.os);
+ }
+#endif // BOOST_VERSION >= 105900
+
+private:
+ struct LoggerInfo
+ {
+ std::shared_ptr<unit_test_log_formatter> logger;
+ std::shared_ptr<std::ostream> os;
+ };
+ std::vector<LoggerInfo> m_loggers;
+};
+
+} // namespace output
+} // namespace unit_test
+} // namespace boost
+
+#endif // NDN_TESTS_BOOST_MULTI_LOG_FORMATTER_HPP
diff --git a/tests/boost-test.hpp b/tests/boost-test.hpp
new file mode 100644
index 0000000..ec1f40f
--- /dev/null
+++ b/tests/boost-test.hpp
@@ -0,0 +1,35 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/**
+ * Copyright (c) 2014-2018, The University of Memphis
+ * Regents of the University of California,
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * \author Yingdi Yu <yingdi@cs.ucla.edu>
+ *
+ **/
+
+#ifndef PSYNC_TESTS_BOOST_TEST_HPP
+#define PSYNC_TESTS_BOOST_TEST_HPP
+
+// suppress warnings from Boost.Test
+#pragma GCC system_header
+#pragma clang system_header
+
+#include <boost/test/unit_test.hpp>
+#include <boost/concept_check.hpp>
+#include <boost/test/output_test_stream.hpp>
+
+#endif // PSYNC_TESTS_BOOST_TEST_HPP
diff --git a/tests/main.cpp b/tests/main.cpp
new file mode 100644
index 0000000..65d5e4c
--- /dev/null
+++ b/tests/main.cpp
@@ -0,0 +1,115 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/**
+ * Copyright (c) 2014-2018, Regents of the University of California,
+ * Arizona Board of Regents,
+ * Colorado State University,
+ * University Pierre & Marie Curie, Sorbonne University,
+ * Washington University in St. Louis,
+ * Beijing Institute of Technology,
+ * The University of Memphis.
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_ALTERNATIVE_INIT_API
+
+#include <boost/version.hpp>
+
+#if BOOST_VERSION >= 106200
+// Boost.Test v3.3 (Boost 1.62) natively supports multi-logger output
+#include "boost-test.hpp"
+#else
+#define BOOST_TEST_NO_MAIN
+#include "boost-test.hpp"
+
+#include "boost-multi-log-formatter.hpp"
+
+#include <boost/program_options/options_description.hpp>
+#include <boost/program_options/variables_map.hpp>
+#include <boost/program_options/parsers.hpp>
+
+#include <fstream>
+#include <iostream>
+
+static bool
+init_tests()
+{
+ init_unit_test();
+
+ namespace po = boost::program_options;
+ namespace ut = boost::unit_test;
+
+ po::options_description extraOptions;
+ std::string logger;
+ std::string outputFile = "-";
+ extraOptions.add_options()
+ ("log_format2", po::value<std::string>(&logger), "Type of second log formatter: HRF or XML")
+ ("log_sink2", po::value<std::string>(&outputFile)->default_value(outputFile), "Second log sink, - for stdout")
+ ;
+ po::variables_map vm;
+ try {
+ po::store(po::command_line_parser(ut::framework::master_test_suite().argc,
+ ut::framework::master_test_suite().argv)
+ .options(extraOptions)
+ .run(),
+ vm);
+ po::notify(vm);
+ }
+ catch (const std::exception& e) {
+ std::cerr << "ERROR: " << e.what() << "\n"
+ << extraOptions << std::endl;
+ return false;
+ }
+
+ if (vm.count("log_format2") == 0) {
+ // second logger is not configured
+ return true;
+ }
+
+ std::shared_ptr<ut::unit_test_log_formatter> formatter;
+ if (logger == "XML") {
+ formatter = std::make_shared<ut::output::xml_log_formatter>();
+ }
+ else if (logger == "HRF") {
+ formatter = std::make_shared<ut::output::compiler_log_formatter>();
+ }
+ else {
+ std::cerr << "ERROR: only HRF or XML log formatter can be specified" << std::endl;
+ return false;
+ }
+
+ std::shared_ptr<std::ostream> output;
+ if (outputFile == "-") {
+ output = std::shared_ptr<std::ostream>(&std::cout, std::bind([]{}));
+ }
+ else {
+ output = std::make_shared<std::ofstream>(outputFile.c_str());
+ }
+
+ auto multiFormatter = new ut::output::multi_log_formatter;
+ multiFormatter->add(formatter, output);
+ ut::unit_test_log.set_formatter(multiFormatter);
+
+ return true;
+}
+
+int
+main(int argc, char* argv[])
+{
+ return ::boost::unit_test::unit_test_main(&init_tests, argc, argv);
+}
+
+#endif // BOOST_VERSION >= 106200
diff --git a/tests/test-bloom-filter.cpp b/tests/test-bloom-filter.cpp
new file mode 100644
index 0000000..55b71e8
--- /dev/null
+++ b/tests/test-bloom-filter.cpp
@@ -0,0 +1,59 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "detail/bloom-filter.hpp"
+
+#include <boost/test/unit_test.hpp>
+#include <ndn-cxx/name.hpp>
+
+namespace psync {
+
+using namespace ndn;
+
+BOOST_AUTO_TEST_SUITE(TestBloomFilter)
+
+BOOST_AUTO_TEST_CASE(Basic)
+{
+ BloomFilter bf(100, 0.001);
+
+ std::string insertName("/memphis");
+ bf.insert(insertName);
+ BOOST_CHECK(bf.contains(insertName));
+}
+
+BOOST_AUTO_TEST_CASE(NameAppendAndExtract)
+{
+ Name bfName("/test");
+ BloomFilter bf(100, 0.001);
+ bf.insert("/memphis");
+
+ bf.appendToName(bfName);
+
+ BloomFilter bfFromName(100, 0.001, bfName.get(-1));
+
+ BOOST_CHECK_EQUAL(bfName.get(1).toNumber(), 100);
+ BOOST_CHECK_EQUAL(bfName.get(2).toNumber(), 1);
+ BOOST_CHECK_EQUAL(bf, bfFromName);
+
+ BOOST_CHECK_THROW(BloomFilter inCompatibleBf(200, 0.001, bfName.get(-1)), std::runtime_error);
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace psync
\ No newline at end of file
diff --git a/tests/test-consumer.cpp b/tests/test-consumer.cpp
new file mode 100644
index 0000000..c67afaf
--- /dev/null
+++ b/tests/test-consumer.cpp
@@ -0,0 +1,63 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "consumer.hpp"
+
+#include <boost/test/unit_test.hpp>
+#include <ndn-cxx/name.hpp>
+#include <ndn-cxx/util/dummy-client-face.hpp>
+
+#include <iostream>
+
+namespace psync {
+
+using namespace ndn;
+using namespace std;
+
+BOOST_AUTO_TEST_SUITE(TestConsumer)
+
+BOOST_AUTO_TEST_CASE(Constructor)
+{
+ util::DummyClientFace face({true, true});
+ BOOST_REQUIRE_NO_THROW(Consumer(Name("/psync"),
+ face,
+ [] (const vector<Name>& availableSubs) {},
+ [] (const vector<MissingDataInfo>) {},
+ 40,
+ 0.001));
+}
+
+BOOST_AUTO_TEST_CASE(AddSubscription)
+{
+ util::DummyClientFace face({true, true});
+ Consumer consumer(Name("/psync"), face,
+ [] (const vector<Name>& availableSubs) {},
+ [] (const vector<MissingDataInfo>) {},
+ 40, 0.001);
+
+ Name subscription("test");
+
+ BOOST_CHECK(!consumer.isSubscribed(subscription));
+ BOOST_CHECK(consumer.addSubscription(subscription));
+ BOOST_CHECK(!consumer.addSubscription(subscription));
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace psync
\ No newline at end of file
diff --git a/tests/test-full-producer.cpp b/tests/test-full-producer.cpp
new file mode 100644
index 0000000..23d2ab5
--- /dev/null
+++ b/tests/test-full-producer.cpp
@@ -0,0 +1,57 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "full-producer.hpp"
+
+#include <boost/test/unit_test.hpp>
+#include <ndn-cxx/name.hpp>
+#include <ndn-cxx/util/dummy-client-face.hpp>
+#include <ndn-cxx/mgmt/nfd/control-parameters.hpp>
+
+#include <iostream>
+
+namespace psync {
+
+using namespace ndn;
+using namespace std;
+
+BOOST_AUTO_TEST_SUITE(TestFullProducer)
+
+BOOST_AUTO_TEST_CASE(Constructor)
+{
+ util::DummyClientFace face({true, true});
+ BOOST_REQUIRE_NO_THROW(FullProducer(40, face, Name("/psync"), Name("/testUser"), nullptr));
+}
+
+BOOST_AUTO_TEST_CASE(OnInterest)
+{
+ Name syncPrefix("/psync"), userNode("/testUser");
+ util::DummyClientFace face({true, true});
+
+ FullProducer node(40, face, syncPrefix, userNode, nullptr);
+
+ Name syncInterestName(syncPrefix);
+ syncInterestName.append("malicious-IBF");
+
+ BOOST_REQUIRE_NO_THROW(node.onInterest(syncPrefix, Interest(syncInterestName)));
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace psync
\ No newline at end of file
diff --git a/tests/test-full-sync.cpp b/tests/test-full-sync.cpp
new file mode 100644
index 0000000..3553c86
--- /dev/null
+++ b/tests/test-full-sync.cpp
@@ -0,0 +1,430 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "full-producer.hpp"
+#include "consumer.hpp"
+#include "unit-test-time-fixture.hpp"
+#include "detail/state.hpp"
+
+#include <boost/test/unit_test.hpp>
+#include <ndn-cxx/name.hpp>
+#include <ndn-cxx/util/dummy-client-face.hpp>
+
+#include <iostream>
+
+namespace psync {
+
+using namespace ndn;
+using namespace std;
+
+class FullSyncFixture : public tests::UnitTestTimeFixture
+{
+public:
+ FullSyncFixture()
+ : syncPrefix("psync")
+ {
+ }
+
+ void
+ addNode(int id)
+ {
+ faces[id] = std::make_shared<util::DummyClientFace>(io, util::DummyClientFace::Options{true, true});
+ userPrefixes[id] = Name("userPrefix" + to_string(id));
+ nodes[id] = make_shared<FullProducer>(40, *faces[id], syncPrefix, userPrefixes[id],
+ [] (const std::vector<MissingDataInfo>& updates) {});
+ }
+
+ Name syncPrefix;
+ shared_ptr<util::DummyClientFace> faces[4];
+ Name userPrefixes[4];
+ shared_ptr<FullProducer> nodes[4];
+};
+
+BOOST_FIXTURE_TEST_SUITE(FullSync, FullSyncFixture)
+
+BOOST_AUTO_TEST_CASE(TwoNodesSimple)
+{
+ addNode(0);
+ addNode(1);
+
+ faces[0]->linkTo(*faces[1]);
+ advanceClocks(ndn::time::milliseconds(10));
+
+ nodes[0]->publishName(userPrefixes[0]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+
+ nodes[1]->publishName(userPrefixes[1]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[1]).value_or(-1), 1);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[1]).value_or(-1), 1);
+
+ nodes[1]->publishName(userPrefixes[1]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[1]).value_or(-1), 2);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[1]).value_or(-1), 2);
+}
+
+BOOST_AUTO_TEST_CASE(TwoNodesForceSeqNo)
+{
+ addNode(0);
+ addNode(1);
+
+ faces[0]->linkTo(*faces[1]);
+ advanceClocks(ndn::time::milliseconds(10));
+
+ nodes[0]->publishName(userPrefixes[0], 3);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[0]).value_or(-1), 3);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[0]).value_or(-1), 3);
+}
+
+BOOST_AUTO_TEST_CASE(TwoNodesWithMultipleUserNodes)
+{
+ addNode(0);
+ addNode(1);
+
+ faces[0]->linkTo(*faces[1]);
+ advanceClocks(ndn::time::milliseconds(10));
+
+ Name nodeZeroExtraUser("userPrefix0-1");
+ Name nodeOneExtraUser("userPrefix1-1");
+
+ nodes[0]->addUserNode(nodeZeroExtraUser);
+ nodes[1]->addUserNode(nodeOneExtraUser);
+
+ nodes[0]->publishName(userPrefixes[0]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+
+ nodes[0]->publishName(nodeZeroExtraUser);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(nodeZeroExtraUser).value_or(-1), 1);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(nodeZeroExtraUser).value_or(-1), 1);
+
+ nodes[1]->publishName(nodeOneExtraUser);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(nodeOneExtraUser).value_or(-1), 1);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(nodeOneExtraUser).value_or(-1), 1);
+}
+
+BOOST_AUTO_TEST_CASE(MultipleNodes)
+{
+ for (int i = 0; i < 4; i++) {
+ addNode(i);
+ }
+
+ for (int i = 0; i < 3; i++) {
+ faces[i]->linkTo(*faces[i + 1]);
+ }
+
+ nodes[0]->publishName(userPrefixes[0]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ for (int i = 0; i < 4; i++) {
+ BOOST_CHECK_EQUAL(nodes[i]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+ }
+
+ nodes[1]->publishName(userPrefixes[1]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ for (int i = 0; i < 4; i++) {
+ BOOST_CHECK_EQUAL(nodes[i]->getSeqNo(userPrefixes[1]).value_or(-1), 1);
+ }
+
+ nodes[1]->publishName(userPrefixes[1]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ for (int i = 0; i < 4; i++) {
+ BOOST_CHECK_EQUAL(nodes[i]->getSeqNo(userPrefixes[1]).value_or(-1), 2);
+ }
+}
+
+BOOST_AUTO_TEST_CASE(MultipleNodesSimulataneousPublish)
+{
+ for (int i = 0; i < 4; i++) {
+ addNode(i);
+ }
+
+ for (int i = 0; i < 3; i++) {
+ faces[i]->linkTo(*faces[i + 1]);
+ }
+
+ for (int i = 0; i < 4; i++) {
+ nodes[i]->publishName(userPrefixes[i]);
+ }
+
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ for (int i = 0; i < 4; i++) {
+ for (int j = 0; j < 4; j++) {
+ BOOST_CHECK_EQUAL(nodes[i]->getSeqNo(userPrefixes[j]).value_or(-1), 1);
+ }
+ }
+
+ for (int i = 0; i < 4; i++) {
+ nodes[i]->publishName(userPrefixes[i], 4);
+ }
+
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ for (int i = 0; i < 4; i++) {
+ for (int j = 0; j < 4; j++) {
+ BOOST_CHECK_EQUAL(nodes[i]->getSeqNo(userPrefixes[j]).value_or(-1), 4);
+ }
+ }
+}
+
+BOOST_AUTO_TEST_CASE(NetworkPartition)
+{
+ for (int i = 0; i < 4; i++) {
+ addNode(i);
+ }
+
+ for (int i = 0; i < 3; i++) {
+ faces[i]->linkTo(*faces[i + 1]);
+ }
+
+ nodes[0]->publishName(userPrefixes[0]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ for (int i = 0; i < 4; i++) {
+ BOOST_CHECK_EQUAL(nodes[i]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+ }
+
+ for (int i = 0; i < 3; i++) {
+ faces[i]->unlink();
+ }
+
+ faces[0]->linkTo(*faces[1]);
+ faces[2]->linkTo(*faces[3]);
+
+ nodes[0]->publishName(userPrefixes[0]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[0]).value_or(-1), 2);
+ BOOST_CHECK_EQUAL(nodes[2]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+ BOOST_CHECK_EQUAL(nodes[3]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+
+ nodes[1]->publishName(userPrefixes[1], 2);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[1]).value_or(-1), 2);
+
+ nodes[2]->publishName(userPrefixes[2], 2);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[3]->getSeqNo(userPrefixes[2]).value_or(-1), 2);
+
+ nodes[3]->publishName(userPrefixes[3], 2);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[2]->getSeqNo(userPrefixes[3]).value_or(-1), 2);
+
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[3]).value_or(-1), -1);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[3]).value_or(-1), -1);
+
+ for (int i = 0; i < 3; i++) {
+ faces[i]->unlink();
+ }
+
+ for (int i = 0; i < 3; i++) {
+ faces[i]->linkTo(*faces[i + 1]);
+ }
+
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ for (int i = 0; i < 4; i++) {
+ for (int j = 0; j < 4; j++) {
+ BOOST_CHECK_EQUAL(nodes[i]->getSeqNo(userPrefixes[j]).value_or(-1), 2);
+ }
+ }
+}
+
+BOOST_AUTO_TEST_CASE(IBFOverflow)
+{
+ addNode(0);
+ addNode(1);
+
+ faces[0]->linkTo(*faces[1]);
+ advanceClocks(ndn::time::milliseconds(10));
+
+ // 50 > 40 (expected number of entries in IBF)
+ for (int i = 0; i < 50; i++) {
+ nodes[0]->addUserNode(Name("userNode0-" + to_string(i)));
+ }
+
+ for (int i = 0; i < 20; i++) {
+ // Suppose all sync data were lost for these:
+ nodes[0]->updateSeqNo(Name("userNode0-" + to_string(i)), 1);
+ }
+ nodes[0]->publishName(Name("userNode0-" + to_string(20)));
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ for (int i = 0; i <= 20; i++) {
+ Name userPrefix("userNode0-" + to_string(i));
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefix).value_or(-1), 1);
+ }
+
+ for (int i = 21; i < 49; i++) {
+ nodes[0]->updateSeqNo(Name("userNode0-" + to_string(i)), 1);
+ }
+ nodes[0]->publishName(Name("userNode0-49"));
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ for (int i = 21; i < 49; i++) {
+ Name userPrefix("userNode0-" + to_string(i));
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefix).value_or(-1), 1);
+ }
+}
+
+BOOST_AUTO_TEST_CASE(DiffIBFDecodeFailureSimple)
+{
+ addNode(0);
+ addNode(1);
+
+ faces[0]->linkTo(*faces[1]);
+ advanceClocks(ndn::time::milliseconds(10));
+
+ // Lowest number that triggers a decode failure for IBF size of 40
+ int totalUpdates = 47;
+
+ for (int i = 0; i <= totalUpdates; i++) {
+ nodes[0]->addUserNode(Name("userNode0-" + to_string(i)));
+ if (i != totalUpdates) {
+ nodes[0]->updateSeqNo(Name("userNode0-" + to_string(i)), 1);
+ }
+ }
+ nodes[0]->publishName(Name("userNode0-" + to_string(totalUpdates)));
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ // No mechanism to recover yet
+ for (int i = 0; i <= totalUpdates; i++) {
+ Name userPrefix("userNode0-" + to_string(i));
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefix).value_or(-1), 1);
+ }
+
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[1]).value_or(-1), -1);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[0]).value_or(-1), -1);
+
+ nodes[1]->publishName(userPrefixes[1]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[1]).value_or(-1), 1);
+
+ nodes[0]->publishName(userPrefixes[0]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+}
+
+BOOST_AUTO_TEST_CASE(DiffIBFDecodeFailureSimpleSegmentedRecovery)
+{
+ addNode(0);
+ addNode(1);
+
+ // Simple content store
+ faces[0]->onSendInterest.connect([this] (const Interest& interest) {
+ for (const auto& data : faces[1]->sentData) {
+ if (data.getName() == interest.getName()) {
+ faces[0]->receive(data);
+ return;
+ }
+ }
+ faces[1]->receive(interest);
+ });
+
+ faces[0]->onSendData.connect([this] (const Data& data) {
+ faces[1]->receive(data);
+ });
+
+ faces[1]->onSendInterest.connect([this] (const Interest& interest) {
+ for (const auto& data : faces[0]->sentData) {
+ if (data.getName() == interest.getName()) {
+ faces[1]->receive(data);
+ return;
+ }
+ }
+ faces[0]->receive(interest);
+ });
+
+ faces[1]->onSendData.connect([this] (const Data& data) {
+ faces[0]->receive(data);
+ });
+
+ advanceClocks(ndn::time::milliseconds(10));
+
+ // Lowest number that triggers a decode failure for IBF size of 40
+ int totalUpdates = 270;
+
+ for (int i = 0; i <= totalUpdates; i++) {
+ nodes[0]->addUserNode(Name("userNode0-" + to_string(i)));
+ if (i != totalUpdates) {
+ nodes[0]->updateSeqNo(Name("userNode0-" + to_string(i)), 1);
+ }
+ }
+ nodes[0]->publishName(Name("userNode0-" + to_string(totalUpdates)));
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ // No mechanism to recover yet
+ for (int i = 0; i <= totalUpdates; i++) {
+ Name userPrefix("userNode0-" + to_string(i));
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefix).value_or(-1), 1);
+ }
+
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[1]).value_or(-1), -1);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[0]).value_or(-1), -1);
+
+ nodes[1]->publishName(userPrefixes[1]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[0]->getSeqNo(userPrefixes[1]).value_or(-1), 1);
+
+ nodes[0]->publishName(userPrefixes[0]);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(nodes[1]->getSeqNo(userPrefixes[0]).value_or(-1), 1);
+}
+
+BOOST_AUTO_TEST_CASE(DiffIBFDecodeFailureMultipleNodes)
+{
+ for (int i = 0; i < 4; i++) {
+ addNode(i);
+ }
+
+ for (int i = 0; i < 3; i++) {
+ faces[i]->linkTo(*faces[i + 1]);
+ }
+
+ // Lowest number that triggers a decode failure for IBF size of 40
+ int totalUpdates = 47;
+
+ for (int i = 0; i <= totalUpdates; i++) {
+ nodes[0]->addUserNode(Name("userNode0-" + to_string(i)));
+ if (i != totalUpdates) {
+ nodes[0]->updateSeqNo(Name("userNode0-" + to_string(i)), 1);
+ }
+ }
+ nodes[0]->publishName(Name("userNode0-" + to_string(totalUpdates)));
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ // No mechanism to recover yet
+ for (int i = 0; i <= totalUpdates; i++) {
+ Name userPrefix("userNode0-" + to_string(i));
+ for (int j = 0; j < 4; j++) {
+ BOOST_CHECK_EQUAL(nodes[j]->getSeqNo(userPrefix).value_or(-1), 1);
+ }
+ }
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace psync
\ No newline at end of file
diff --git a/tests/test-iblt.cpp b/tests/test-iblt.cpp
new file mode 100644
index 0000000..3934938
--- /dev/null
+++ b/tests/test-iblt.cpp
@@ -0,0 +1,201 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "detail/iblt.hpp"
+#include "detail/util.hpp"
+
+#include <boost/test/unit_test.hpp>
+#include <ndn-cxx/name.hpp>
+#include <ndn-cxx/interest.hpp>
+
+namespace psync {
+
+using namespace ndn;
+
+BOOST_AUTO_TEST_SUITE(TestIBLT)
+
+BOOST_AUTO_TEST_CASE(Equal)
+{
+ int size = 10;
+
+ IBLT iblt1(size);
+ IBLT iblt2(size);
+ BOOST_CHECK_EQUAL(iblt1, iblt2);
+
+ std::string prefix = Name("/test/memphis").appendNumber(1).toUri();
+ uint32_t newHash = murmurHash3(11, prefix);
+ iblt1.insert(newHash);
+ iblt2.insert(newHash);
+
+ BOOST_CHECK_EQUAL(iblt1, iblt2);
+
+ Name ibfName1("sync"), ibfName2("sync");
+ iblt1.appendToName(ibfName1);
+ iblt2.appendToName(ibfName2);
+ BOOST_CHECK_EQUAL(ibfName1, ibfName2);
+}
+
+BOOST_AUTO_TEST_CASE(NameAppendAndExtract)
+{
+ int size = 10;
+
+ IBLT iblt(size);
+ std::string prefix = Name("/test/memphis").appendNumber(1).toUri();
+ uint32_t newHash = murmurHash3(11, prefix);
+ iblt.insert(newHash);
+
+ Name ibltName("sync");
+ iblt.appendToName(ibltName);
+
+ IBLT rcvd(size);
+ rcvd.initialize(ibltName.get(-1));
+
+ BOOST_CHECK_EQUAL(iblt, rcvd);
+
+ IBLT rcvdDiffSize(20);
+ BOOST_CHECK_THROW(rcvdDiffSize.initialize(ibltName.get(-1)), std::runtime_error);
+}
+
+BOOST_AUTO_TEST_CASE(CopyInsertErase)
+{
+ int size = 10;
+
+ IBLT iblt1(size);
+
+ std::string prefix = Name("/test/memphis").appendNumber(1).toUri();
+ uint32_t hash1 = murmurHash3(11, prefix);
+ iblt1.insert(hash1);
+
+ IBLT iblt2(iblt1);
+ iblt2.erase(hash1);
+ prefix = Name("/test/memphis").appendNumber(2).toUri();
+ uint32_t hash3 = murmurHash3(11, prefix);
+ iblt2.insert(hash3);
+
+ iblt1.erase(hash1);
+ prefix = Name("/test/memphis").appendNumber(5).toUri();
+ uint32_t hash5 = murmurHash3(11, prefix);
+ iblt1.insert(hash5);
+
+ iblt2.erase(hash3);
+ iblt2.insert(hash5);
+
+ BOOST_CHECK_EQUAL(iblt1, iblt2);
+}
+
+BOOST_AUTO_TEST_CASE(HigherSeqTest)
+{
+ // The case where we can't recognize if the rcvd IBF has higher sequence number
+ // Relevant to full sync case
+ int size = 10;
+
+ IBLT ownIBF(size);
+ IBLT rcvdIBF(size);
+
+ std::string prefix = Name("/test/memphis").appendNumber(3).toUri();
+ uint32_t hash1 = murmurHash3(11, prefix);
+ ownIBF.insert(hash1);
+
+ std::string prefix2 = Name("/test/memphis").appendNumber(4).toUri();
+ uint32_t hash2 = murmurHash3(11, prefix2);
+ rcvdIBF.insert(hash2);
+
+ IBLT diff = ownIBF - rcvdIBF;
+ std::set<uint32_t> positive;
+ std::set<uint32_t> negative;
+
+ BOOST_CHECK(diff.listEntries(positive, negative));
+ BOOST_CHECK(*positive.begin() == hash1);
+ BOOST_CHECK(*negative.begin() == hash2);
+}
+
+BOOST_AUTO_TEST_CASE(Difference)
+{
+ int size = 10;
+
+ IBLT ownIBF(size);
+
+ IBLT rcvdIBF = ownIBF;
+
+ IBLT diff = ownIBF - rcvdIBF;
+
+ std::set<uint32_t> positive; // non-empty Positive means we have some elements that the others don't
+ std::set<uint32_t> negative;
+
+ BOOST_CHECK(diff.listEntries(positive, negative));
+ BOOST_CHECK_EQUAL(positive.size(), 0);
+ BOOST_CHECK_EQUAL(negative.size(), 0);
+
+ std::string prefix = Name("/test/memphis").appendNumber(1).toUri();
+ uint32_t newHash = murmurHash3(11, prefix);
+ ownIBF.insert(newHash);
+
+ diff = ownIBF - rcvdIBF;
+ BOOST_CHECK(diff.listEntries(positive, negative));
+ BOOST_CHECK_EQUAL(positive.size(), 1);
+ BOOST_CHECK_EQUAL(negative.size(), 0);
+
+ prefix = Name("/test/csu").appendNumber(1).toUri();
+ newHash = murmurHash3(11, prefix);
+ rcvdIBF.insert(newHash);
+
+ diff = ownIBF - rcvdIBF;
+ BOOST_CHECK(diff.listEntries(positive, negative));
+ BOOST_CHECK_EQUAL(positive.size(), 1);
+ BOOST_CHECK_EQUAL(negative.size(), 1);
+}
+
+BOOST_AUTO_TEST_CASE(DifferenceBwOversizedIBFs)
+{
+ // Insert 50 elements into IBF of size 10
+ // Check that we can still list the difference
+ // even though we can't list the IBFs itself
+
+ int size = 10;
+
+ IBLT ownIBF(size);
+
+ for (int i = 0; i < 50; i++) {
+ std::string prefix = Name("/test/memphis" + std::to_string(i)).appendNumber(1).toUri();
+ uint32_t newHash = murmurHash3(11, prefix);
+ ownIBF.insert(newHash);
+ }
+
+ IBLT rcvdIBF = ownIBF;
+
+ std::string prefix = Name("/test/ucla").appendNumber(1).toUri();
+ uint32_t newHash = murmurHash3(11, prefix);
+ ownIBF.insert(newHash);
+
+ IBLT diff = ownIBF - rcvdIBF;
+
+ std::set<uint32_t> positive;
+ std::set<uint32_t> negative;
+ BOOST_CHECK(diff.listEntries(positive, negative));
+ BOOST_CHECK_EQUAL(positive.size(), 1);
+ BOOST_CHECK_EQUAL(*positive.begin(), newHash);
+ BOOST_CHECK_EQUAL(negative.size(), 0);
+
+ BOOST_CHECK(!ownIBF.listEntries(positive, negative));
+ BOOST_CHECK(!rcvdIBF.listEntries(positive, negative));
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace psync
\ No newline at end of file
diff --git a/tests/test-partial-producer.cpp b/tests/test-partial-producer.cpp
new file mode 100644
index 0000000..3bed1ac
--- /dev/null
+++ b/tests/test-partial-producer.cpp
@@ -0,0 +1,148 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "partial-producer.hpp"
+
+#include <boost/test/unit_test.hpp>
+#include <ndn-cxx/name.hpp>
+#include <ndn-cxx/util/dummy-client-face.hpp>
+#include <ndn-cxx/mgmt/nfd/control-parameters.hpp>
+
+#include <iostream>
+
+namespace psync {
+
+using namespace ndn;
+using namespace std;
+
+BOOST_AUTO_TEST_SUITE(TestPartialProducer)
+
+BOOST_AUTO_TEST_CASE(Constructor)
+{
+ util::DummyClientFace face({true, true});
+ BOOST_REQUIRE_NO_THROW(PartialProducer(40, face, Name("/psync"), Name("/testUser")));
+}
+
+BOOST_AUTO_TEST_CASE(RegisterPrefix)
+{
+ Name syncPrefix("/psync"), userNode("/testUser");
+ util::DummyClientFace face({true, true});
+ PartialProducer producer(40, face, syncPrefix, userNode);
+
+ face.processEvents(time::milliseconds(-1));
+
+ BOOST_REQUIRE_EQUAL(face.sentInterests.size(), 1);
+
+ face.sentInterests.back();
+ Interest interest = *face.sentInterests.begin();
+ BOOST_CHECK_EQUAL(interest.getName().get(3), name::Component("register"));
+ name::Component test = interest.getName().get(4);
+ nfd::ControlParameters params(test.blockFromValue());
+ BOOST_CHECK_EQUAL(params.getName(), syncPrefix);
+}
+
+BOOST_AUTO_TEST_CASE(PublishName)
+{
+ Name syncPrefix("/psync"), userNode("/testUser"), nonUser("/testUser2");
+ util::DummyClientFace face({true, true});
+ PartialProducer producer(40, face, syncPrefix, userNode);
+
+ BOOST_CHECK_EQUAL(producer.getSeqNo(userNode).value_or(-1), 0);
+ producer.publishName(userNode);
+ BOOST_CHECK_EQUAL(producer.getSeqNo(userNode).value_or(-1), 1);
+
+ producer.publishName(userNode);
+ BOOST_CHECK_EQUAL(producer.getSeqNo(userNode).value_or(-1), 2);
+
+ producer.publishName(userNode, 10);
+ BOOST_CHECK_EQUAL(producer.getSeqNo(userNode).value_or(-1), 10);
+
+ producer.publishName(nonUser);
+ BOOST_CHECK_EQUAL(producer.getSeqNo(nonUser).value_or(-1), -1);
+}
+
+BOOST_AUTO_TEST_CASE(SameSyncInterest)
+{
+ Name syncPrefix("/psync"), userNode("/testUser");
+ util::DummyClientFace face({true, true});
+ PartialProducer producer(40, face, syncPrefix, userNode);
+
+ Name syncInterestName(syncPrefix);
+ syncInterestName.append("sync");
+
+ BloomFilter bf(20, 0.001);
+ bf.appendToName(syncInterestName);
+
+ producer.m_iblt.appendToName(syncInterestName);
+
+ Interest syncInterest(syncInterestName);
+ syncInterest.setInterestLifetime(time::milliseconds(1000));
+ syncInterest.setNonce(1);
+ BOOST_REQUIRE_NO_THROW(producer.onSyncInterest(syncInterestName, syncInterest));
+ face.processEvents(time::milliseconds(10));
+ BOOST_CHECK_EQUAL(producer.m_pendingEntries.size(), 1);
+
+ face.processEvents(time::milliseconds(500));
+
+ // Same interest again - size of pending interest should remain same, but expirationEvent should change
+ syncInterest.setNonce(2);
+ BOOST_REQUIRE_NO_THROW(producer.onSyncInterest(syncInterestName, syncInterest));
+ face.processEvents(time::milliseconds(10));
+ BOOST_CHECK_EQUAL(producer.m_pendingEntries.size(), 1);
+
+ face.processEvents(time::milliseconds(500));
+ BOOST_CHECK_EQUAL(producer.m_pendingEntries.size(), 1);
+
+ face.processEvents(time::milliseconds(500));
+ BOOST_CHECK_EQUAL(producer.m_pendingEntries.size(), 0);
+}
+
+BOOST_AUTO_TEST_CASE(OnSyncInterest)
+{
+ Name syncPrefix("/psync"), userNode("/testUser");
+ util::DummyClientFace face({true, true});
+ PartialProducer producer(40, face, syncPrefix, userNode);
+
+ // Sync interest with no bloom filter attached
+ Name syncInterestName(syncPrefix);
+ syncInterestName.append("sync");
+ producer.m_iblt.appendToName(syncInterestName);
+ BOOST_REQUIRE_NO_THROW(producer.onSyncInterest(syncInterestName, Interest(syncInterestName)));
+
+ // Sync interest with malicious bloom filter
+ syncInterestName = syncPrefix;
+ syncInterestName.append("sync");
+ syncInterestName.appendNumber(20); // count of bloom filter
+ syncInterestName.appendNumber(1); // false positive probability * 1000 of bloom filter
+ syncInterestName.append("fake-name");
+ producer.m_iblt.appendToName(syncInterestName);
+ BOOST_REQUIRE_NO_THROW(producer.onSyncInterest(syncInterestName, Interest(syncInterestName)));
+
+ // Sync interest with malicious IBF
+ syncInterestName = syncPrefix;
+ syncInterestName.append("sync");
+ BloomFilter bf(20, 0.001);
+ bf.appendToName(syncInterestName);
+ syncInterestName.append("fake-name");
+ BOOST_REQUIRE_NO_THROW(producer.onSyncInterest(syncInterestName, Interest(syncInterestName)));
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace psync
\ No newline at end of file
diff --git a/tests/test-partial-sync.cpp b/tests/test-partial-sync.cpp
new file mode 100644
index 0000000..0b2800a
--- /dev/null
+++ b/tests/test-partial-sync.cpp
@@ -0,0 +1,349 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "partial-producer.hpp"
+#include "consumer.hpp"
+#include "unit-test-time-fixture.hpp"
+
+#include <boost/test/unit_test.hpp>
+#include <ndn-cxx/name.hpp>
+#include <ndn-cxx/util/dummy-client-face.hpp>
+
+#include <iostream>
+
+namespace psync {
+
+using namespace ndn;
+using namespace std;
+
+class PartialSyncFixture : public tests::UnitTestTimeFixture
+{
+public:
+ PartialSyncFixture()
+ : face(io, {true, true})
+ , syncPrefix("psync")
+ , userPrefix("testUser-0")
+ , numHelloDataRcvd(0)
+ , numSyncDataRcvd(0)
+ {
+ producer = make_shared<PartialProducer>(40, face, syncPrefix, userPrefix);
+ addUserNodes("testUser", 10);
+ }
+
+ void
+ addConsumer(int id, const vector<string>& subscribeTo)
+ {
+ consumerFaces[id] = make_shared<util::DummyClientFace>(io, util::DummyClientFace::Options{true, true});
+
+ face.linkTo(*consumerFaces[id]);
+
+ consumers[id] = make_shared<Consumer>(syncPrefix, *consumerFaces[id],
+ [&, id] (const vector<Name>& availableSubs)
+ {
+ numHelloDataRcvd++;
+ checkSubList(availableSubs);
+
+ checkIBFUpdated(id);
+
+ for (const auto& sub : subscribeTo) {
+ consumers[id]->addSubscription(sub);
+ }
+ consumers[id]->sendSyncInterest();
+ },
+ [&, id] (const std::vector<MissingDataInfo>& updates) {
+ numSyncDataRcvd++;
+
+ checkIBFUpdated(id);
+
+ for (const auto& update : updates) {
+ BOOST_CHECK(consumers[id]->isSubscribed(update.prefix));
+ BOOST_CHECK_EQUAL(oldSeqMap.at(update.prefix) + 1, update.lowSeq);
+ BOOST_CHECK_EQUAL(producer->m_prefixes.at(update.prefix), update.highSeq);
+ BOOST_CHECK_EQUAL(consumers[id]->getSeqNo(update.prefix).value(), update.highSeq);
+ }
+ }, 40, 0.001);
+
+ advanceClocks(ndn::time::milliseconds(10));
+ }
+
+ void
+ checkIBFUpdated(int id)
+ {
+ Name emptyName;
+ producer->m_iblt.appendToName(emptyName);
+ BOOST_CHECK_EQUAL(consumers[id]->m_iblt, emptyName);
+ }
+
+ bool
+ checkSubList(const vector<Name>& availableSubs)
+ {
+ for (const auto& prefix : producer->m_prefixes ) {
+ for (const auto& sub : availableSubs) {
+ if (prefix.first != sub) {
+ return false;
+ }
+ }
+ }
+ return true;
+ }
+
+ void
+ addUserNodes(const std::string& prefix, int numOfUserNodes)
+ {
+ // zeroth is added through constructor
+ for (int i = 1; i < numOfUserNodes; i++) {
+ producer->addUserNode(prefix + "-" + to_string(i));
+ }
+ }
+
+ void
+ publishUpdateFor(const std::string& prefix)
+ {
+ oldSeqMap = producer->m_prefixes;
+ producer->publishName(prefix);
+ advanceClocks(ndn::time::milliseconds(10));
+ }
+
+ void
+ updateSeqFor(const std::string& prefix, uint64_t seq)
+ {
+ oldSeqMap = producer->m_prefixes;
+ producer->updateSeqNo(prefix, seq);
+ }
+
+ util::DummyClientFace face;
+ Name syncPrefix;
+ Name userPrefix;
+
+ shared_ptr<PartialProducer> producer;
+ std::map <ndn::Name, uint64_t> oldSeqMap;
+
+ shared_ptr<Consumer> consumers[3];
+ shared_ptr<util::DummyClientFace> consumerFaces[3];
+ int numHelloDataRcvd;
+ int numSyncDataRcvd;
+};
+
+BOOST_FIXTURE_TEST_SUITE(PartialSync, PartialSyncFixture)
+
+BOOST_AUTO_TEST_CASE(Simple)
+{
+ vector<string> subscribeTo{"testUser-2", "testUser-4", "testUser-6"};
+ addConsumer(0, subscribeTo);
+
+ consumers[0]->sendHelloInterest();
+ advanceClocks(ndn::time::milliseconds(10));
+ BOOST_CHECK_EQUAL(numHelloDataRcvd, 1);
+
+ publishUpdateFor("testUser-2");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 1);
+ publishUpdateFor("testUser-3");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 1);
+ publishUpdateFor("testUser-2");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 2);
+}
+
+BOOST_AUTO_TEST_CASE(MissedUpdate)
+{
+ vector<string> subscribeTo{"testUser-2", "testUser-4", "testUser-6"};
+ addConsumer(0, subscribeTo);
+
+ consumers[0]->sendHelloInterest();
+ advanceClocks(ndn::time::milliseconds(10));
+ BOOST_CHECK_EQUAL(numHelloDataRcvd, 1);
+
+ updateSeqFor("testUser-2", 3);
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 0);
+
+ // The sync interest sent after hello will timeout
+ advanceClocks(ndn::time::milliseconds(1000));
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 0);
+
+ // Next sync interest will bring back the sync data
+ advanceClocks(ndn::time::milliseconds(1000));
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 1);
+}
+
+BOOST_AUTO_TEST_CASE(LateSubscription)
+{
+ vector<string> subscribeTo{"testUser-2", "testUser-4", "testUser-6"};
+ addConsumer(0, subscribeTo);
+
+ consumers[0]->sendHelloInterest();
+ advanceClocks(ndn::time::milliseconds(10));
+
+ BOOST_CHECK_EQUAL(numHelloDataRcvd, 1);
+ publishUpdateFor("testUser-2");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 1);
+
+ consumers[0]->addSubscription("testUser-3");
+ consumers[0]->sendSyncInterest();
+ publishUpdateFor("testUser-3");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 2);
+}
+
+BOOST_AUTO_TEST_CASE(ConsumerSyncTimeout)
+{
+ vector<string> subscribeTo{"testUser-2", "testUser-4", "testUser-6"};
+ addConsumer(0, subscribeTo);
+
+ consumers[0]->sendHelloInterest();
+ BOOST_CHECK_EQUAL(producer->m_pendingEntries.size(), 0);
+ advanceClocks(ndn::time::milliseconds(10));
+ BOOST_CHECK_EQUAL(producer->m_pendingEntries.size(), 1);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+ BOOST_CHECK_EQUAL(producer->m_pendingEntries.size(), 0);
+ advanceClocks(ndn::time::milliseconds(10), 100);
+
+ int numSyncInterests = 0;
+ for (const auto& interest : consumerFaces[0]->sentInterests) {
+ if (interest.getName().getSubName(0, 2) == Name("/psync/sync")) {
+ numSyncInterests++;
+ }
+ }
+ BOOST_CHECK_EQUAL(numSyncInterests, 2);
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 0);
+}
+
+BOOST_AUTO_TEST_CASE(MultipleConsumersWithSameSubList)
+{
+ vector<string> subscribeTo{"testUser-2", "testUser-4", "testUser-6"};
+ addConsumer(0, subscribeTo);
+ addConsumer(1, subscribeTo);
+ addConsumer(2, subscribeTo);
+
+ consumers[0]->sendHelloInterest();
+ consumers[1]->sendHelloInterest();
+ consumers[2]->sendHelloInterest();
+ advanceClocks(ndn::time::milliseconds(10));
+
+ BOOST_CHECK_EQUAL(numHelloDataRcvd, 3);
+
+ publishUpdateFor("testUser-2");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 3);
+
+ publishUpdateFor("testUser-3");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 3);
+}
+
+BOOST_AUTO_TEST_CASE(MultipleConsumersWithDifferentSubList)
+{
+ vector<string> subscribeTo{"testUser-2", "testUser-4", "testUser-6"};
+ addConsumer(0, subscribeTo);
+
+ vector<string> subscribeTo1{"testUser-1", "testUser-3", "testUser-5"};
+ addConsumer(1, subscribeTo1);
+
+ vector<string> subscribeTo2{"testUser-2", "testUser-3"};
+ addConsumer(2, subscribeTo2);
+
+ consumers[0]->sendHelloInterest();
+ consumers[1]->sendHelloInterest();
+ consumers[2]->sendHelloInterest();
+ advanceClocks(ndn::time::milliseconds(10));
+
+ BOOST_CHECK_EQUAL(numHelloDataRcvd, 3);
+
+ publishUpdateFor("testUser-2");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 2);
+
+ numSyncDataRcvd = 0;
+ publishUpdateFor("testUser-3");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 2);
+}
+
+BOOST_AUTO_TEST_CASE(ReplicatedProducer)
+{
+ vector<string> subscribeTo{"testUser-2", "testUser-4", "testUser-6"};
+ addConsumer(0, subscribeTo);
+
+ consumers[0]->sendHelloInterest();
+ advanceClocks(ndn::time::milliseconds(10));
+ BOOST_CHECK_EQUAL(numHelloDataRcvd, 1);
+
+ publishUpdateFor("testUser-2");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 1);
+
+ // Link to first producer goes down
+ face.unlink();
+
+ util::DummyClientFace face2(io, {true, true});
+ PartialProducer replicatedProducer(40, face2, syncPrefix, userPrefix);
+ for (int i = 1; i < 10; i++) {
+ replicatedProducer.addUserNode("testUser-" + to_string(i));
+ }
+ advanceClocks(ndn::time::milliseconds(10));
+ replicatedProducer.publishName("testUser-2");
+ // Link to a replicated producer comes up
+ face2.linkTo(*consumerFaces[0]);
+
+ BOOST_CHECK_EQUAL(face2.sentData.size(), 0);
+
+ // Update in first producer as well so consumer on sync data
+ // callback checks still pass
+ publishUpdateFor("testUser-2");
+ replicatedProducer.publishName("testUser-2");
+ advanceClocks(ndn::time::milliseconds(15), 100);
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 2);
+ BOOST_CHECK_EQUAL(face2.sentData.size(), 1);
+}
+
+BOOST_AUTO_TEST_CASE(ApplicationNack)
+{
+ // 50 is more than expected number of entries of 40 in the producer's IBF
+ addUserNodes("testUser", 50);
+
+ vector<string> subscribeTo{"testUser-2", "testUser-4", "testUser-6"};
+ addConsumer(0, subscribeTo);
+
+ consumers[0]->sendHelloInterest();
+ advanceClocks(ndn::time::milliseconds(10));
+ BOOST_CHECK_EQUAL(numHelloDataRcvd, 1);
+
+ publishUpdateFor("testUser-2");
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 1);
+
+ oldSeqMap = producer->m_prefixes;
+ for (int i = 0; i < 50; i++) {
+ ndn::Name prefix("testUser-" + to_string(i));
+ producer->updateSeqNo(prefix, producer->getSeqNo(prefix).value() + 1);
+ }
+ // Next sync interest should trigger the nack
+ advanceClocks(ndn::time::milliseconds(15), 100);
+
+ // Nack does not contain any content so still should be 1
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 1);
+
+ bool nackRcvd = false;
+ for (const auto& data : face.sentData) {
+ if (data.getContentType() == ndn::tlv::ContentType_Nack) {
+ nackRcvd = true;
+ break;
+ }
+ }
+ BOOST_CHECK(nackRcvd);
+
+ producer->publishName("testUser-4");
+ advanceClocks(ndn::time::milliseconds(10));
+ BOOST_CHECK_EQUAL(numSyncDataRcvd, 2);
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace psync
\ No newline at end of file
diff --git a/tests/test-producer-base.cpp b/tests/test-producer-base.cpp
new file mode 100644
index 0000000..9664b04
--- /dev/null
+++ b/tests/test-producer-base.cpp
@@ -0,0 +1,85 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "producer-base.hpp"
+#include "detail/util.hpp"
+
+#include <boost/test/unit_test.hpp>
+#include <ndn-cxx/name.hpp>
+#include <ndn-cxx/data.hpp>
+#include <ndn-cxx/interest.hpp>
+#include <ndn-cxx/util/dummy-client-face.hpp>
+
+namespace psync {
+
+using namespace ndn;
+
+BOOST_AUTO_TEST_SUITE(TestProducerBase)
+
+BOOST_AUTO_TEST_CASE(Ctor)
+{
+ util::DummyClientFace face;
+ BOOST_REQUIRE_NO_THROW(ProducerBase(40, face, Name("/psync"), Name("/testUser")));
+}
+
+BOOST_AUTO_TEST_CASE(Basic)
+{
+ util::DummyClientFace face;
+ Name userNode("/testUser");
+ ProducerBase producerBase(40, face, Name("/psync"), userNode);
+ // Hash table size should be 40 + 40/2 = 60 (which is perfectly divisible by N_HASH = 3)
+ BOOST_CHECK_EQUAL(producerBase.m_iblt.getHashTable().size(), 60);
+ BOOST_CHECK_EQUAL(producerBase.getSeqNo(userNode).value(), 0);
+
+ producerBase.updateSeqNo(userNode, 1);
+ BOOST_CHECK(producerBase.getSeqNo(userNode.toUri()).value() == 1);
+
+ std::string prefixWithSeq = Name(userNode).appendNumber(1).toUri();
+ uint32_t hash = producerBase.m_prefix2hash[prefixWithSeq];
+ BOOST_CHECK_EQUAL(producerBase.m_hash2prefix[hash], userNode.toUri());
+
+ producerBase.removeUserNode(userNode);
+ BOOST_CHECK(producerBase.getSeqNo(userNode.toUri()) == ndn::nullopt);
+ BOOST_CHECK(producerBase.m_prefix2hash.find(prefixWithSeq) == producerBase.m_prefix2hash.end());
+ BOOST_CHECK(producerBase.m_hash2prefix.find(hash) == producerBase.m_hash2prefix.end());
+
+ Name nonExistentUserNode("/notAUser");
+ producerBase.updateSeqNo(nonExistentUserNode, 1);
+ BOOST_CHECK(producerBase.m_prefix2hash.find(Name(nonExistentUserNode).appendNumber(1).toUri()) ==
+ producerBase.m_prefix2hash.end());
+}
+
+BOOST_AUTO_TEST_CASE(ApplicationNack)
+{
+ util::DummyClientFace face;
+ ProducerBase producerBase(40, face, Name("/psync"), Name("/testUser"));
+
+ BOOST_CHECK_EQUAL(face.sentData.size(), 0);
+ producerBase.m_syncReplyFreshness = time::milliseconds(1000);
+ producerBase.sendApplicationNack(Name("test"));
+ face.processEvents(time::milliseconds(10));
+ BOOST_CHECK_EQUAL(face.sentData.size(), 1);
+
+ Data data = *face.sentData.begin();
+ BOOST_CHECK_EQUAL(data.getContentType(), ndn::tlv::ContentType_Nack);
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace psync
diff --git a/tests/test-state.cpp b/tests/test-state.cpp
new file mode 100644
index 0000000..47c1471
--- /dev/null
+++ b/tests/test-state.cpp
@@ -0,0 +1,47 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2014-2018, The University of Memphis
+ *
+ * This file is part of PSync.
+ * See AUTHORS.md for complete list of PSync authors and contributors.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ **/
+
+#include "detail/state.hpp"
+
+#include <boost/test/unit_test.hpp>
+#include <ndn-cxx/name.hpp>
+#include <ndn-cxx/data.hpp>
+
+namespace psync {
+
+using namespace ndn;
+
+BOOST_AUTO_TEST_SUITE(TestState)
+
+BOOST_AUTO_TEST_CASE(EncodeDeode)
+{
+ State state;
+ state.addContent(ndn::Name("test1"));
+ state.addContent(ndn::Name("test2"));
+
+ ndn::Data data;
+ data.setContent(state.wireEncode());
+ State rcvdState(data.getContent());
+
+ BOOST_CHECK(state.getContent() == rcvdState.getContent());
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace psync
\ No newline at end of file
diff --git a/tests/unit-test-time-fixture.hpp b/tests/unit-test-time-fixture.hpp
new file mode 100644
index 0000000..36293a8
--- /dev/null
+++ b/tests/unit-test-time-fixture.hpp
@@ -0,0 +1,67 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
+/*
+ * Copyright (c) 2012-2018 University of California, Los Angeles
+ * The University of Memphis
+ *
+ * This file is part of PSync.
+ *
+ * PSync is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation, either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * PSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * PSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef NDN_TESTS_UNIT_TESTS_UNIT_TEST_TIME_FIXTURE_HPP
+#define NDN_TESTS_UNIT_TESTS_UNIT_TEST_TIME_FIXTURE_HPP
+
+#include <ndn-cxx/util/time-unit-test-clock.hpp>
+
+#include <boost/asio.hpp>
+
+namespace ndn {
+namespace tests {
+
+class UnitTestTimeFixture
+{
+public:
+ UnitTestTimeFixture()
+ : steadyClock(make_shared<time::UnitTestSteadyClock>())
+ , systemClock(make_shared<time::UnitTestSystemClock>())
+ {
+ time::setCustomClocks(steadyClock, systemClock);
+ }
+
+ ~UnitTestTimeFixture()
+ {
+ time::setCustomClocks(nullptr, nullptr);
+ }
+
+ void
+ advanceClocks(const time::nanoseconds& tick, size_t nTicks = 1)
+ {
+ for (size_t i = 0; i < nTicks; ++i) {
+ steadyClock->advance(tick);
+ systemClock->advance(tick);
+
+ if (io.stopped())
+ io.reset();
+ io.poll();
+ }
+ }
+
+public:
+ shared_ptr<time::UnitTestSteadyClock> steadyClock;
+ shared_ptr<time::UnitTestSystemClock> systemClock;
+ boost::asio::io_service io;
+};
+
+} // namespace tests
+} // namespace ndn
+
+#endif // NDN_TESTS_UNIT_TESTS_UNIT_TEST_TIME_FIXTURE_HPP
diff --git a/tests/wscript b/tests/wscript
new file mode 100644
index 0000000..facae68
--- /dev/null
+++ b/tests/wscript
@@ -0,0 +1,22 @@
+top = '..'
+
+def build(bld):
+ if not bld.env['WITH_TESTS']:
+ return
+
+ bld(
+ features='cxx',
+ name='unit-tests-main',
+ target='unit-tests-main',
+ source='main.cpp',
+ defines=['BOOST_TEST_MODULE=PSync Unit Tests'],
+ use='PSync'
+ )
+
+ bld.program(
+ target='../unit-tests',
+ features='cxx cxxprogram',
+ source=bld.path.ant_glob(['**/*.cpp'], excl=['main.cpp']),
+ use='PSync unit-tests-main',
+ install_path=None,
+ )
diff --git a/waf b/waf
new file mode 100755
index 0000000..df0d24e
--- /dev/null
+++ b/waf
@@ -0,0 +1,170 @@
+#!/usr/bin/env python
+# encoding: latin-1
+# Thomas Nagy, 2005-2018
+#
+"""
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+"""
+
+import os, sys, inspect
+
+VERSION="2.0.6"
+REVISION="593191f496fe8c66231dfd5df26167ae"
+GIT="459ddf50b622573ecfe36c12c076e0fcc610b01e"
+INSTALL=''
+C1='#2'
+C2='#&'
+C3='#%'
+cwd = os.getcwd()
+join = os.path.join
+
+
+WAF='waf'
+def b(x):
+ return x
+if sys.hexversion>0x300000f:
+ WAF='waf3'
+ def b(x):
+ return x.encode()
+
+def err(m):
+ print(('\033[91mError: %s\033[0m' % m))
+ sys.exit(1)
+
+def unpack_wafdir(dir, src):
+ f = open(src,'rb')
+ c = 'corrupt archive (%d)'
+ while 1:
+ line = f.readline()
+ if not line: err('run waf-light from a folder containing waflib')
+ if line == b('#==>\n'):
+ txt = f.readline()
+ if not txt: err(c % 1)
+ if f.readline() != b('#<==\n'): err(c % 2)
+ break
+ if not txt: err(c % 3)
+ txt = txt[1:-1].replace(b(C1), b('\n')).replace(b(C2), b('\r')).replace(b(C3), b('\x00'))
+
+ import shutil, tarfile
+ try: shutil.rmtree(dir)
+ except OSError: pass
+ try:
+ for x in ('Tools', 'extras'):
+ os.makedirs(join(dir, 'waflib', x))
+ except OSError:
+ err("Cannot unpack waf lib into %s\nMove waf in a writable directory" % dir)
+
+ os.chdir(dir)
+ tmp = 't.bz2'
+ t = open(tmp,'wb')
+ try: t.write(txt)
+ finally: t.close()
+
+ try:
+ t = tarfile.open(tmp)
+ except:
+ try:
+ os.system('bunzip2 t.bz2')
+ t = tarfile.open('t')
+ tmp = 't'
+ except:
+ os.chdir(cwd)
+ try: shutil.rmtree(dir)
+ except OSError: pass
+ err("Waf cannot be unpacked, check that bzip2 support is present")
+
+ try:
+ for x in t: t.extract(x)
+ finally:
+ t.close()
+
+ for x in ('Tools', 'extras'):
+ os.chmod(join('waflib',x), 493)
+
+ if sys.hexversion<0x300000f:
+ sys.path = [join(dir, 'waflib')] + sys.path
+ import fixpy2
+ fixpy2.fixdir(dir)
+
+ os.remove(tmp)
+ os.chdir(cwd)
+
+ try: dir = unicode(dir, 'mbcs')
+ except: pass
+ try:
+ from ctypes import windll
+ windll.kernel32.SetFileAttributesW(dir, 2)
+ except:
+ pass
+
+def test(dir):
+ try:
+ os.stat(join(dir, 'waflib'))
+ return os.path.abspath(dir)
+ except OSError:
+ pass
+
+def find_lib():
+ src = os.path.abspath(inspect.getfile(inspect.getmodule(err)))
+ base, name = os.path.split(src)
+
+ #devs use $WAFDIR
+ w=test(os.environ.get('WAFDIR', ''))
+ if w: return w
+
+ #waf-light
+ if name.endswith('waf-light'):
+ w = test(base)
+ if w: return w
+ err('waf-light requires waflib -> export WAFDIR=/folder')
+
+ dirname = '%s-%s-%s' % (WAF, VERSION, REVISION)
+ for i in (INSTALL,'/usr','/usr/local','/opt'):
+ w = test(i + '/lib/' + dirname)
+ if w: return w
+
+ #waf-local
+ dir = join(base, (sys.platform != 'win32' and '.' or '') + dirname)
+ w = test(dir)
+ if w: return w
+
+ #unpack
+ unpack_wafdir(dir, src)
+ return dir
+
+wafdir = find_lib()
+sys.path.insert(0, wafdir)
+
+if __name__ == '__main__':
+
+ from waflib import Scripting
+ Scripting.waf_entry_point(cwd, VERSION, wafdir)
+
+#==>
+#BZh91AY&SYü¢K°ÿÿ°ÐÿÿÿÿÿÿÿÿÿÿÿÿE 0#%(b|wzs*#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%úóJ´¶*«ûÜ=JV;ºîË×v»ª^\¨IÓ$o£=>í_nÓk!Û®ÖëÓ'ßO¾X6½³gvÝqP{»¯Z´kRÛ]/I±Û1Öï6¡z÷ÎÏ1¶*úwûè÷yã×¹Z>º{ÆAݾvwÇv]ã}½µ[½7v9Kmïk#%#% #%»ÀgÛ#%<mv¥Û·#&;@Ü9Ù£VÀ#%çUÝÓè®ÐP9¬èÔ´ÑT¢µ¯C#%H*RÞáÕ E$C £BT¨(hw¼!»ëo=ÖfW}'½»«½êÞnS3®)PîîZdT§Z·×èûß]è#%¹äó£^}³íÛky½ìõ×yîôgmíË×¼¾÷;|»í}öÏiÙÒ¹9ï¹ïl°Þ³½½÷Þ¼ø\ôÐè¶ëÎÞ@:AH*ÐelkÖ¶Ù»u¬Ý»ÞzÇLWZí±£0îÎl¤ş)è#%*" h<ch=î¹ycníÝÁ¥7Ð;¾îçÌËìh¢ 2=[ \`]æìÍß{Ýh{r®ûïyÐö½¹ßcÜû÷ßcÒ󯫺»{vz%¾¸qzµöòõ7uÛ3{nâñçï¼ßw¯z{õí»s¨Û{Ínmã»k»»Ý«Ù]þ½êï+±GÝHÖë
×^á wÝÂ_Éè×¼`£§¶¯®¾ÞÎ_n_I/»«DùökÛ»6Ù«ÝÛ}Î÷ûÙ/½ÁÞKë ôs½ïqé4òÝk.9°tçµçzuß{ï»Ý°òÛpJ)@*% *UBftI¶p;=k7·c¾Ê·*ö÷¡íÌ÷3vÖt<«©³Ø1n«ÍãÞj©o]åÔhAÝf÷s®Ìð#%·g8#%¢÷«#»ÎëÞgºÍ¶g'LlóÅ÷6[¾ìsx¹ÝCeôË£Ó§ßw}>\o»u{d7:"õÁsÖ¶Î-óÙÆîg%@h{{Úu½(¹^)èR»ÃM«Ñ³ß^\}ó0ìåîõÏ+wrñãÜxûÞÝãÞfk³w>-=íÜ»Æë}î|{FlÁ°l0äÐ;zé<¯§nñ|ÜîVÁ«ÖôhÙÕÙ{Ùß/«»Þ´#%ÀU®Ø¸Õ°¹)O{Í4nÖïwvn.ë
[îÜ·ÕÖíÞCÐ÷Ìݾ·µ¯»YA}{îuóêû7±ÑÐ ôÂì¶y§uÏíOwváÜ:0-¶w¼îò{é÷Ø4ô#%vböÍ«`î#%(wm{綾øSßs;°ª#%#2h2{{a]ÝÖíFæ{ÆïMÖÔh±½iuÝÚ묷aô÷oUQCºXWNì®vÝ·KÃwVsvÜmôïL¯!G3ñ|»¯÷|¯Z³Øø'¬HMëîñÛ×]spÈÊãÞå±;Úu`ÝñÝ÷Îì ¯s¨ñVóÒóðèï|}îh #%@h44bh4§å#%Hö¨M6 ÐýSzPJh@ `!2bÔýSôM¤4H=A h#%#%#%#%DAÑ &)± ªze<Ñ©¤xÔyi#&¦ja=@dd44#%#%Iê&§¢m%==Õzz¡¡ê4z=A¦G¨#%@#%#%$!#%L #&&L@ÔÆJfiFh#HÈ#%#%#%#%j"@& Mɪ
OõéOÊz£Ñ¢<¦Ò4Ð#&Ð#%ÿÙþÕU®¸þôµ9~åV»¦%1ñª×tB2UE¦'¾ÕmsjÚ¢Õó¤Á>ãï?ø~2ßÀuÒjÌRÓY]¾%é7wsRÓòàºÌþÀ%qDH+B¯U¢Â»`í'æDôðÙ§ªuNTÛÍñxyÁ"¼/p+b#2kg þ\¿¬W}ÆÛMT¶l§uu«KmEµRU¬ÊÖ¶Ú-´m¬#%Ü"*5#ÑÊÂAФ#%#%ÄT ¢ aµ©+ô5no-ki«SWt 2¡ "¦b¢d,fj3M&0H¤ØÚK#%R(¦ÚM&hA(Éjj-ÑK&DhD¨Å"jRF¥#%i*mH¤Ù-Q%,´¦Ñ²Ò4Q1Z5QTSd!%¦2P&4²Ò1¥£SM¶µÚÐÍ4fdÌÑdÛMm4ÚÔl¤©µ6Ù2ÒdA°kLMJ()FÈhD4¢¢¢AÅ%LÆiQT¦#Ä!#2 &0-É#jBB4±Clͦ!%4¬°fbD#&%¥²llhØTÉe!#E¥)lIIFQ&dĤ£HF@¬$DÌ¥¦"lk$3b$Å436
ÚÀ$²°X$¤ØÔ&£ (ÐE"ÁedÂ1e JMF¦Th¬&É©"ID%¥6@"Él@I,Ê)2J&ÌÈØ")FlÁ2©¦$YJ,bÈY ÓHXÄF¥d²FŤ&E4MH4È4hBI©%e5LÒ6¦(¨C, ÒYÅ"h&H3)1PlR #2@E&c$h"Y!²L©¶ÆÙMbQ2LB±e#2ÊhÙ" I$Ù#ɳHÔÍ,FRB31K#+6JÄFfM52i#2CDRhY©RÑHY1"HQdR¤
"(±¶)$ÄiMFɨÒ$PÒ6ÄcA3Y¤ÄÚ#&4ÒeDÈY$¦ÉLQ
!-fÍY,HM%¢¨-ËaH!jK0M-Ji@¢©¦dÙÁ"hÓ,!¨(M&Q!¢kjVÖP£)³J)&dDVRÀ¥,Å&%TÙ¢-L¬-bCØRÊFµû®J¤D#61Q[X¨Ù2¦¢$Ñ¡¥¤6ÆÂ6I¨ÚÈ5#&&2e0¤dAe²m£J[QHZ2iKY¡cR#2RÓL2¤ÔU¤h©²VÉER©Y
6lf3-lX²#[&Y¦YM¬e²¦Ù%#j,R²ÄÉKQªÕZ2TUd¬mQ´TT±4DÉbÄTEÔXe£kÒdÂÁµ@S(¤Æ!iiZklhÚbV1lbÚH+UKjÊ*)²h¤bB&H¢Éµ*ͱSi¶YJfTÒ"5´ªY$ÌÕ*F,BÚS)¬±¡²É¬¬²³LD$2£I(Ñ"A¡1RÚ5BP!*(dÕi£dɤ¢ÈËl¤#&"+,FS1(RQ² b#2-2B#6I#cd)f¨ÉFHÌÔ#!4LÔQ¢JdRP5BTÀFa)S,FBËQ£fRIF@Ѥ1e+ÃhØƤ£%h,e(Éh¡ ±Hf$Ѣ̦̤¥¬Ì ³E6!Hµ£f´f¨h©M&ÃLT±YZFBL1i±%IRel¦Ù £-¨Ôf4MÒhѳ(iFJÌdF3DP"DB#&`cFÙ¤lQ¢³I²S±1II ¢Ñl%F£QF+´fk#&&I4(Y261J 6´lC26*2JY¤©[EBF±ª5D(L²´( Rj&
cT¥#&XÚ#&)¦Y#2(Ñ$U2-F¨±#)kdT¢¨Ö4","-J)ÉD6%2Dm`ÑS*,FÅQl+&)+)¶BÙ66²JdJ#&%MDb6ÉIA«2`ÐB£Jlͦ±ª*edÖHÒÒMEF(mI´[)%¤ÁV¤FK-C-DTU¥I["UcRQbM LÈÓR"S6IÑ*Å´jJm¤ÖPljBeSM´mFŶ1mIÊQ eebZV,ͨÚT¨¥*f*Ù@Ñ¢ÁTi5bÌ©"Ô±dÛ)2Ôh¬CH´RQ£hÖ¶ËUDÊ
LIDb¡D4TSI6¦É*ÆضŦjÚ1e¤©¡¶RÉmMM²Ôi«FQDF¤Pl5Rfl²¢(¨I"21#2¤¶2Û1ü¿ìýúßèuoöç?'ÃÏ5§#2?âÿVf)¯¶e"ÃvÝùrÃrÐhÒløÞy·õôæþ¯õzô4Á©ÿÇ{µSgú~ÂÛGíÿ$ã#&.`Rĸ`¤jª#2º2ìzÿ?ªõ{ký»´ÿ̼ÿ§ûyÞ¿ò*Æxdç,$b/míضç' «I°ö~lGìêeGëgw«±9;¼ÈSRR(j5âä±þúÙ³jþíÚFLI¥Û"lÆLhcôav4ÕÕ¨ÌÕLÒVS(rÎw,Ë¿¬Îjä6.#2bÑàÍ*ÒæP)R¤H¡"F(M®Û©Ò2ÖM^<îÔ2ø·,ÞM0lËÌéUOMÿç¥ò´îáb#2,íoU%0¡Ú§®AE,PGÝÿ~²kÁéÔL¼ÛE0
6
"ÉßÇ%cýnIÆÚÛAZ°YÞÓ¹rüc6Q]ж(`Ì]]×îÿNzîm+©½
³uM¿^ÐÆ°=¾,ZµYÞ{xòò9Ë¢î)ͺi#&UͺyÜhبzëå5¼Z4E~^êùÛöÕâûäS+âäkcs¤OånªñÎnµ¨KýólÚyeͳ\Cm´ØF¾Ï:×»z{µW)6î¹G&×iÏ&Y0Þ¥ZmhmmÂk®WyÝQÒ¹s%uÜ""ÓLEO6Ytä?¼«5J&©LR
",0!MîÛtÉÄe«#2üè¤OUM?[1µ?'¦$2ðA¿ÙE&Ì9éÕ@TqPÿR!ôĄ̈Ix5%Èó¯uÐÙO<VÜñýæ§#"^X£;o#b§Q¦½vúìrH ȦoYÂWæcv\~û,ñ>¼)ÄZ¯oQYÕ4dà&É/z®¸3,̬^ÞZÞ{¨CÞÊAãU§îéöß©Ï+è`ö§]ÚÝ95ó¨SXÚ@¤!dleNÔÝ3£PRhÑ¡J]§D.ªÈ Ö(wÉe³,YL#2NM*m±Gãxû_*sW)åI£íËPã#M§+ìe#2ûÃW£¬,±Èj[þv&E6(àÓﺱÅåE4P²1ÐøPXù±+W¢#cÁR
Q4iÑE¡UrÐ"x³7¶É¯
v&Jh tl
Exܲj7«cÿÖ¬A`÷´d2
xPPÅGí|?êöëwVæÒ§ãü>mzm"cÔR|;·+½ÝUº]9JNÄîÅ5NwYJH¸JV#)×5X¼ïŽzÞ2dØ{ÝËýRÝ{»®1¶(MÊ5Ä´*¨Z)"YÚËa¨4û4Yð__ò¾ß]÷ýù¦Kó8²"4£n"Uñïà@Æ#\Ö¶jϽ$Â!F£éD¬EFEÊ 6vºW=ì¼55ðxÛήN]1Ë_;ÅmHµ¥80Ë¡ãGÒe¤º«JEvï«YøÕÏG#2ÊrrËÓºì²EF#2(SfZjÒAS¬çX%¡Gï4wh-´´Õ¯µ)wQ4ëEO£#2ãÆÂت+±'-b#Év03Û#îþ.ü#^p>ËÞ8ج&×÷|KT;aÇãýÎ{'a̪¸cí!ÍÖq&ý±KZ<ZÓFºÒ¤¤Ì(Ì)¿s1û=¡Ô5LOýL߬ÇÒ¾ð#¼Îì0úª©Ùe(ªe{@Á¥5¯ÅÜýýøål.`~è~|ª>T8!´À>NkÜM6óÙ)%È7"7f%ë£-6A8ܤ3ïw|äȸiçÆæDÓ;³H0>íA¥ZsÉÝdqaßÈßß-²pvPHÄEo#C@¡G2)[Ø-ôzëá+ùUBÌñq>®ørã5 dÁ?>,
«Ïk l5{Ï{Ii6
aCî="¹ª[ï$nÅâÊ¡òÒ<RCæLuIgKä(q<åÅîxEyý9Íïvk£#uq#8eÃ(ÛÑé·¼ª<Z¤hDÇdzí<WéÛZ`q¨UY÷̲³jµÙPæ2XbõýþÎìH3W&èb©fÎ#2¢Õ³s¬ø(s×A#&9:.ÊõèqÓBÀǦà>¶¼¹ÎF÷ºÁ»!'Êârëë0Jdî4ÀRTè§o)Ý?ÇåòÚ¦pÇÛå#2p87¥èòB6Ú|_ß|/~R:&ûÓaHòº»8
f[Ä5aw:ZÕpoù" Ù©4ÑãÔâí¢ã^ÇnèF6Æz&g»¤XØçåº|kyzb÷ÝvBI$EÙÄ*zô¤ºC(I#%q÷ÍåÁNtzPv^á^'à*#תêwë+Ò¼÷Êk´ªøSÏPÆ'x¨1Ù1ÛN¼9#&2 ZbÓ»+åkn5¿®Ùf6Øq6-¶¨BD;
.ÖGÓêíôE|/2Cåê<é¸×§Ç!²¢*nêçïéòëòèD»ô6»Ëµ}OóëtE¾Ü®½wSèn2ý®¥i ¿Jè±Ã_¯½Á¹#rÿ#Dm¶=²-ü÷Ùù?Çþ7[O³óx^;ÒWàÔWÞÃîKb"¤øÑV,UÙE3ìg´OÍÛ¥ªßJ«r¬5úSú¹Ï<QFåd{[jøQºÞ#2«Ñ¨ju²C½U55Ä#&{ gº-߶^sµ¬ÒÖLa>¬µ»Òf~4ý¯ún,°`7á5öÎj_OÖ8àé+öÌUuõò91sÂ_ËB>?.aúÉÄA±_i#%·)|d]u½÷çt5`r`Q÷ÑH¨¯éLß®n>tR"ð3V(Å"ÈÂ]ø5mM*ÏfF3ìèêNý3|4H£ìaTxíÛXâ|=X¿F/£^ò_Í{z[Ù°;<¾=¦¥ÄÚq:çiÓ¬ æJd0úYÈ´ÉÐæfDÙøµuÎÎ.ïvÂ!Ù{^43LDMkË?#Z4ýìé#V¸¨§§]®aø¥í"ÀEÔc³
ë¤DQQe0¨x~yAm½j©ß0©Ý¹òd÷B5ÝÆŹãyt}'k2C<"Tm¶³éª¦ÞHóßh5ÑêÈçÍF3/Ígj>Âë4QÍ(X=*ôhÝ©¼êJE¢µõc*ÎÆÏõëG#2¦lÂ%§#2\²»:2£+c¯
á¶P®5±1Ò4w¸ýË|Xé°M1hB7§âØçÔË7SúþÑ&yÖYñ¯C;*wd}ÔåÍöÉül¥òvÌ1h#Éy1ÊöDsêõ32LJ\95´kqØôÿßp½;®wy×<sAV,<&0:LäßÇá[£¹5S^µ.L£=eÊÖÙÌGHuHTC5Çö{,"¡rªÌ'ç¼Öô¯#Hc;®¾Ý4À2$%8H~µ;éD¡úµçæP\ªö«{æåÁxavaR,U#&èóÎ@x2¹hð°*.Íl"Ù-ýf¡xC3»õN¡uA¥ráëÈ\ØçðRáÕ÷µíåG(2çoRÌ1ewVixϪ-Ç_ÌËeFÃÞÜ/>´=輸Øé¿#&ÜÇäô°¨^ä?¾½(Gnï,¿kô»©ûLH
¤ö)¾Ux'¯ú%ø(æW¨ç7"ºYôÉFU´iÙ¤yzùYïMªhª0é¦Í>å(&®w"÷üp×þ¶£ a¯U×¾93É\Km5=ö-ñ,pøÝ>¼ëÆ×váÄ"êÖ
*¨ááä:ÀWJ} ò>Ûû:ô±½¥|¹5÷ùO@FÀI×_å±×r"Uc"cpá¦ëª·Xµhä$$°ìô5QSGÎüü)ã jÛùùR#2üQË# ªô]zU=ÕlS#2´í0ã×D¶$êùÝ:k_#ÈKÞe¥öøUãÒeæ±_z_ÒÁÍtn;¸wg7íª.U<]Ï^ÐÄïsÎ`8}â4ðVSZTß½R)9:sIåºÇ#æ UæîKdÉ,x½^ÝünpÙÛʼ2=Í&μ1dqf#2½sEëûëíÁäiGk3F,EÍÓ6õJªËÙÕRdUÒïüÎAùgR¬ÆS>-@ÐJpmS»º·f§T1h·±Ñαm5Ä=ëB|yò¢¦¥iþgUÆIÂ? CJÕÏçãåf_~ÒeèÌûÃ%ÿ,D×xÈǵHúóÌË/[È@"ñGé-¯Øë°üêüÉÖ%ÃÂ8ª_ÍSßáNÚMR¹´PÍÛQ?Llòâ3mï3#YónÌu© Ú¾4#2±Eé W,Ô¿E¸û¨.ÿZ$Õ(ïÆAÿ·âàOWÐûHbî#rXClyí\9ÈË:(&Æýá.NÕZoÚë³ø 6@,{·Ö×¼4¶³Rú¨uAÍi*/½«AAÙ6KfûQοWvÛiÐð7N hµF`KBJc*kma±n*ÀÂèQíÍNĦb¯8''Ve
~MtæéÓ%L;q×I"gV*4VÚDâO f8:-:&Z{ÝÈ-¼1¶ê©)ßäçîJ°ñæ«áì©s½¹ÚÏ\ºùeУ$èãü{u¬À¯6¹Ö/âÊò-¢Q±DÍ@÷b¸æúXhêè®õãe0Ô5Õ¬bèз^%U»ûpÌÊL-üá)ÇëUG¬Õ_µ0^ðj#&Dæ¤GWgY¬¬b¶#æ³Ö¢P.ëtbo=~\zê½®ÁuJVTÕã·væñ;\\u]É×Y/¤*¬Qµ¦#t·ú~~z êðw.8YÅêT:jXxv1$øÊIrH2
Î}\ üÿïgtPô«c!FÌcYüî#%M@#&îáÃhx¾ß¨{òX=( 9VóùÄ¿¹¹F*w¨Ò|ZV¾©ó_{ü*Ni0%ì¸ @7Å#&ÃuMø ÒÝa4[ÚÅAV÷TGomåãGV¹ÜàÎVgWT$3YÎc0kð;c#NMZ¾ÖÚïbÔq½R ºoßIö·kZC$3ï]+0rîayáîCÑDR¯¡Pâ¾ÆE`¢ÒCdCÈqK,Yžg8ÿ{«>·°k¾@åLa¶ÌqÊnyYË¡HÀL¼*¨ÿÇkõh[hÜÔhhExÛlá&6þÛªuíW.;Ë-sQù»K(ÇóuB±ÎعìWYåN§¼ã¹ÿëJ%µWè3/"ÏjÆLþ¾õUËçôd$áÚÎd>gÞô«[/Ë÷æuÙ#%I ¹w¡Ã£»oqõú;jn7W5h*ûYë)íÎ:9z1A© ÚNº"Îçµ:õ^IäÀY&«
m(XÎ597µP2¹Cð'c(IaõþO@¶´Òé³oÚæ;paÒ½ûÕã¸Ú¬OçkY?>ãâcE`|±B#29:ö¥:úxwpã#&©Ãjù8Ñ2ö0ÎÞëß²+fy®£[¾ïºÊ)2ËãÅÒ hC£g®(txiGI6^q~îÿ°9169øípv]rª0âÒs¢l+¯7·`G¶ÞX¹FD+/EfO¯ßo:#öÈk.§FzÌ~sÔl¶V¦©CÞ°AK»Q¶)q³Æ°F¦CU`ê"Ä(I¡g(O!Ku«fy](1ö3¿iÕÇn,#2E&¬.ÌÕ±N'¢Óäêe¾ÕæÂÖ»ëµYëF\KïÝkdè·½ñÑhi.eÅ&E2ØÞÆ:(;üµÂõ^ý÷ðÕ«@¢Xã\0Yl}H<v+å#Ä굶æ¶ë¥ìÚªA@A?Ð =@ uÿGgìÄÔT)°qÂ#2ÁÀÄýí¨Ë#&n=öôêpaý²öÓ;ìzæ£ÉúÆéBBÅ«*`³Å`ß×<(Dúà6H¤
_ý´uz3²§LtH ï!#%³5 y ft°çdHqèÿg´æèÄ{´ÿb4ÉÖÌpmÈ4 ]µFmCÀuc§|ÇtoÎ@°/¤#&ü¨é¬eG-/¹¢o:g2û4´éÿYGzÀ¥yQÆwÚ_ô zvN¼ÜÇWl\£ó¥âût¨o>øk»×íÀV±nQ¯ó^UúkvÕõF'j?w=töW õ°t'äZåËaÈYúAG
ÎÊÖÈ.ÓÔmç4§U#&-ÖÛç¦ýQcãLðñ9ª1'µÏR
¬ñ/>ÈxÄ4A&åC<ôJÐ/MrPêõD;páLA¶;y¢Ej9+r9¬»jµNQHaÔå±ÒWn
àvIëÌ:òø=¶.8*[hâD,UGÎRüFñwr«Oû4®[#&n¢¿ÍÆþ@CïÙî¿/§~~h5 É*W/ò)ÀpÕ¿ýíããÍs#%¡ijò8«0ý¡Ç¥/Q§¶ÖE#ºÇõ#2¯ºÄ>í÷ß¼#%ãÙü åôÙ Ètúÿ#%°#2iKýõë¢kå9Øãáá]UGôZY"E6I#ÅÛAÄ8¹ð¡Ö^nq¯EH·¨ðöiòúþ:^¡°"#%Ì
çæUîõRø§_׫[º,1^7*BFÐÒ×=çñæs#%LëD! *°Ùo/¶Àl÷zÔ~Xº^+×|¡!°mtC¸=£é
$ü^¼Øñzüy{t4êFL¹?©ã?òóÉÛøÚ¹'b##&L\îª"Á'°öSÌb#%cãªy©Ä¨4è5Û9÷}ÆGÙÕDp¯ÃÒ]eÞÍÝÃæwÚ:ãN%¶° ÏKþý×ÒJË?Ó:{õýo¼£Mt9@,¡j)M)#2:ÌsëGÝ«#±(a¯TÐÜ8GRð1TÈÚ^í-þìñÍd¾°hè¥5tÁÁàxB×yt'f¯d}ÿ«NÇþ0þq@<`¾cQGd#ìä{¾Îõ\1cVôJ<Éb£ÜäÅêÏaûþuq< #%ú#&?â"ɸoà×?Í,ÙÒ£ª9jêSçí»cï×úüæËo±ù½Þw÷Y\G÷_¿Íq±LÆÊ!²©fÄÑÙÝlQôÿþýD_¢NÓM]7Ë¿m»n¨wÌ?}ûüê5¾~wãzvÿCB@ÖÖ½4[¸[<ÎÎϯr\`³a¨ µ¯ÄªÀx9z/¹Ý+9Ô0 S¬yªþsTC
d(BI)Àh³Îa+B{%tSþp}oõòΧ`Ëé¬XB·<HIÁM<Íx^KÔT·KµÛOÏ*~@ÀÆ,YA#%¦C»ÃÔIÐ&GüåÕtwè×øçüæ}¾EóÏ÷»;vRèª\Kp-;¸m»E¤UÌÉó¨Á¨Êi¸7ÙÆ° îÚðâ)@²f5V5ß»Nã=ÕáA£¦ªÐÊv=ýºZlÐ\ȲãïzKxÿKÊdÂÙã2´J¶S×z{<|Ú=Ù³)#É"¯Íß×@Ðè#2±B"÷£yv?ÃöÜ´(7)É{ñÙÂOáîãðVÔ̧¥Ëj¤BÎçój\ÂOJÁÔy`akЦÎáóNVÚÑ&¦¶Ï¬U1ºxÅ
³®ï´
ßÑUðèÒÒÁ%³<(çðgÿÕ!Ô}#Ìv%6g#{`,d·>OÂ,§Ã´ùâOb4\ze´Põ°@Û©9ÇX aa¡ü(ë%
¼zo´Ùt8º?¬JÝÜÝݬÍë/ÏúøÐÅlýºIßé&è\æ"õ#&î¸gp¬)ä !!#¹6ÐýU¦;(JHëäß©õ{2k¬©÷¢#&qÈî!¤dæ !ô\³Hà _¤#%Ä÷gç>¿¬éÓú¸®~Üû@óû#pضÌôѤØ>ó)e¯ùíRzNa£ä¡V~ª¯ôXÐÉ1NñæmÎ)½É^-Z ÙxbA¤ìL3uøy6u<º#²$(v°E<Áª¯¤7¿)øSz]ùà ºÔW·Ö´Á$Q°r"Y ¯d¯ú¿Õ °JêåEî
"7B<>¯sP¾ªé« âvl`b[ÔïÚ;Mý\oë~±${|6)¬ïÞ¬
¸ïÜ7Tã Øuò^èòúå ßW×þ;¡ØâW¡I4jsð¯è¨ß=4h6oHk8¢#2{/ÔNC½@|oö-,0Hu6o'Â#2I#2Uºa±ý&áÏç60n°;½kM°áاDbáa;ï]>ϦzA(¢§´aMFp¡Å!w)
DË.îqß6(#2¢"ÈYæY
aB,ar¸écHç¼ý¤¯~/ÃZ§$s¦ÛüYºö<³6Þ#R"Àb*°}æfç/=M«(Nýñ´^MýÿÏþ m@ÂÜv$ìÉ@¼û5E9ýËGú¨·µEÚ8ëå0Uöô&¾}yåPb+®¯m[)ÀX!n A @/{Ë`?8ͺï¯ËfÏGjp{ãÛ嶸ûUøAÒRyìÏXÂ%4w
EøQt(X ýËj´R;«R-ÓJ\¨³K$:iäܬîçãÉÛ¸k¡ÇLwJ¼®üe7ê6M;¤ßA9ÇT
^éßk%¦`\jÖ¤G
b#-9´^k âR;#2(=$xÈq¡Õ#Ig»x2iÎÐF`V6s`õ''©UÓsìAªÍ1´¥*iMEIÂÐ*l[æ.sÉEpô*(~¨Ñâû£sÌÌêÊ4éeìbÕ:`FqaÍä5#&¸ôùÑæWF]0æÁ¡ÈÌ\åê~QºØV%Ub§¿W8RíÊÁ*:dô|zá,t¯KXÝ¢)HHâÎãòoRlmæÑÆ*a-nQÙò7O.¾ýKÓàÝné+×Öê£SÎ*Ë&ßVQd÷µëÄõ]Ì,LxÐ×#%}ÿðöK(¶gÎÉjº|w¼ÿa¡sLûõ;TëÕç1ó®33JÀ+÷Øg¦·¶Ís¾Ä'Ô¢1îa¯X[¼]Ñ@ÚVnÙ.¨dB%ë»]Þy.×;#1Ý"æÜ´TQâ||û1X=SÇM7óÚ+ßÊøÔ¯KèÜ|×0ÀÒ¤EA.ª
,Ä¹Ì ÄeFÑ=íÁ14LT.%"´Ò-H¡7¸j#&/}s&ªóã±cdqrÑ©HØv½ªàÔåèàÓqIÚIûä;©^×qgß.Á½Q-¡4cù4P¸ ÅlaÛÀ{d1W¶<`í¾#&ÍÛeã5DíR]QçÍ9I³° (S"Ðo*ñ!WTðCyp2b`@ Æ[3~^-±WSÒ$lXR'Èù§ãË´^RËLëDO¸#ÝÒêiVÿ97µNv£ø>þsÃ\¯ì²{òRòÖ½ë§×|13^^ûVpý£ê´`ߣ7: º¤ÉMü·["9¥6ÿŦh3¦#îï¤M 8Y¶:ÙZ*Fi#&î]rW3hÛ·RÇÔÐàbdF4íxh5s¶Ñ¤~öDh.ZX8±!3e¬°lhÁ3ßÛïÜl~ßnï¦×dz~c|áI#&J`±@FЩ«Ó¯¡^{öÛÆbÄѽUîÛÆö`²ñÙ¦ê¥'«sx½]M¬ª5^ÿ?oXêK¸ÄY'T¯f[,íÔÌÅh¬Å®"Fïx"3Õz/¦s峬oâ±7õVsºÓl~öG¾xcjk =rX"% Fç8lMx<üg|úö¦ýµ£îöî0t 65â1L ÞMú5çÇÄѽ :ôÒ©fp¾©C½Vä6ÈøÞBo{GÎgÛ©^
<ÉÞ3±õtn@
p\{ñ·!â+·ÄÛ¼íwNëoS¾+_KÖ§DÈ>°ZºÕ©Á°Æi^-¸¾;óÃÞoU|j Æ÷4øßbÙ¿%¨-°
ûªÐcÞmáxò<WÆsp}ðçèDÓ¡Gß«¶°52ñNM¢ º&ÔÚ j~ëy.}Vtw®] ¢l¯
#2F»$«¦cÕ#%#%WëÐÖg¼ÊI%]-¢à~ÍV§é¨×4o#2Î^C[Ö©((04QV#&õ=sYÆ°Þâ8=×"ýd_¡öþÞ¨êyàoiï ê#&1û¨
nõKFÉlöÜï@Ðâysü´þ²ø1ÙÐú/:¡#&YëîФgû#6¯t1HÜB*ÝÜû>Ååð/*'$\þï\H1ÚLdCb¬í&YY])èdXU4ÖIC"Ì'GZ,!¡8²6#&Y)c¤Q©CäP¥dº@߮رT)ZP9e®0 4B1.$ÓçÓj(#&V,
Mf,L,q¶àëÐÐ;F¤j#&ÁC]oèöñ®Ï×tÐ¥6ó4K= Ö0Pâ¨c@hDÌûs®s¥òkPiËÂ4 vgåÁ£²mV$~®èïÄ38_;ÆÎEêRiü\©Dxâ9iȦa<uL£äû=xXÎã÷Ä0èIÜl[!§s\¶
Ýb»/òïYÁëÜ|ùóc8³qHM6=.Dxõè£oÄârPÁ$íÚå·¨ò;<ìÅ<8¦JXXÁ-Ã1ÃÅ,¯÷ܼp¬Éið{TYC%8À³µoùCåÊjm¸}ø(Ù{eÒ§ËE)"Ô
5Íâvy2n.#&lGHRå#&deÃ,É$EÎi³ØnPè´ñiоÈóßRY1Øy@Â`æÌ®ÜHEûñjoÄ?[|6Ð{Mdl³_Rm#% B>Ék×K©EJ¸ªtã¢>w½6}ñXÛt<bg#Kk*S$@-ísn#ä¼6öeø#%cñíÛî!æH043û.ÛräÊ´¢
fª¢#&7åå+ë«`¹ÙÅíMTÂ' ÆOá,íN0ôogÀå{¥SÝ09ïÇ·#%©°ÿÓ68H^%#2Ym¯/LËò¯iÌvÅV1?·×kÁËs»¯onÊËÇ:W]«VìÚxò{IvNFãë-Ìáêµ9¯§i¡½´öú·¯\mFÆMQ[k¥5sn£[Û¦Úiní>,ÄB0Æ2;Kd;Øô;yHD¡×ݯ鵨Ìîx\A«Ã§è¯úÎɶCa3¯°;q÷`:@üÈ @ »ÑÈ·æÖq\}üÃõªò?°¶ý¡¾²dç_ºÏkåâæÞxa¤aÐ¥Ù8j¦èÐX14?mßÁûÇߧGGZö¨Òü#2ZG2z ,=Õÿ
_l6ù9¸gòïxFnf #ùúõ¢ è_н(årjtÿp»_3Xý0q>Úãyÿ<ÂÕVI|gÜ
y"þÆ[ÝÒ·mÊyñMo1åp
¹ß2ßÚûaåµ[¶Cý =ë%§:RYwÁ|>ÿÝ~ßÍÀuê#%Q!~A»ã±Ýõ¬Ù¹¬·«éÔþjðêêèßlúüy}swªÝ0Ü~y½Û6ßâû¶|u®ÛÅo?\0Àm>-LaðiÒ!ÀfÁÅÉïd<§`ßw¯ôhè\?î¶;½^"a*l hÒº%ÁTs*`Aftý± õ|¿èÏW½Erp ý$ƣ¹㪼ZCn>*ÚÉ+nX[úÿ·¯ô tïú@¬Òÿ^Í´¤ÓÍõ{¶Ë#% è¡ *Rînþn
pìaÈï?\£êãúo´¯LL>Øù]nÿkzY HP¢Øõ;Z¦mIdÑ& 3eKò8ÌMlUýÒôvݨ£Ynç]º #2P1%/îJ#&%ýÀ|¦áÖ-«õÿQx¤ ¤Öo8&\?ÅÇ#j.6Þ÷`bPá£~¯>¯7²^4snë«u-ÁFØ{å°oÉx~Sñïý>×ùÔ¬rrxÿeJICçÓñþîÂó>êÂ9FqÈÄÙ±hÅoé5Í£_uõÓÏßãh·º¦6d`»À¤ä<ÿìÐeU WÛzI[äµ^M^·«¸ª¨£ {òæÙúr~'eÔm¦KN©Æ `FÅ @õöãò6¶ÿ T¯÷+î#2æLø¹.%¡ø2½9DýôÓ÷5bÅóÁí?½¥Ô:±
È!k,Æ%VÏî;®g#&À7éPã; "°nhøÂÊç£r8Op½C(BR(utHVí.tý#&FKCX¸2¤ðkªÁhî1±cs+xÐÁPz<tïûkÅù£àûeB#20ÀþËMë*5÷XOe^h:Õÿpb×£¾XÎï±&*Å{Q?2Cô¶ÝÙÒÂB¡þõI ÃX"'ÆBDb·÷H¸¨P=LzP|ß$8zþ9¶Ñåù¾sóYø~æü^!ìíø|>__Bøø¦TõhCÓêÑÌ4ÆVþÁöLªï=K<yKþÕÓè¾2èqúcä#Wδ@Ü>³[ÖÃ0^ùèßj¼?»s"Üö#&¿¶.äA¾d¯oJé¸]JÎ|Lb9®3+á¢Ik®ýQú㯫ÓbZ
v|¿ ¦{>ÉÞ˸êrÊçÙáâøû[e#k¿nÙü4@ÖÞNÒ÷÷A#uxÄjI¼ª0Õ4øªàHø(J'àÆ1Ý@yöÞ¥ïPÊí8jßmÖÑnuµ·ñpÃp ø&dãYtJh"RXdßm´9ÎçÓGûºï¢AaÑ~;rdûñÏ]ä5áH@UG Ź7K.àD#2XGæ#òªÄæGÔ;}$0ø·9ÄqG#2êExE?0Lr|,úÿOÔdûÍÏRÆ©rOèÏÈàYßÃÅ6_\o׿¿#%j#2NÖX´F,Ì"m§asùû
ε¹·Çî¡@¯Û}ײe¥§V~=ü8×IÝtü*ûZTz¨æeª«3#&$(pRqR¸è_·¹DG¾»Å÷Ññ9yfêß³Rë-JÝ+-#2Åó)ýsûh·æoÏ1lUÉ qH\árî$F "eàüê¢"_wõ÷>G °Kú#%n#P_Sð£¶éB$º+Ó?:Ä2aC Çק¯ºã!Ökbñ~Çù¿GÂé9àgZ8/Û¡²PNv@Ä1+èV$êÓzbµBøV¯Ó-ØÍÐóü:ªå))ðóQÓZTó«xÓ®ÀOصÝ\ò¿³F´þaüi`hÝ?Jþ^ÐçZîK
)-BJH ¿xH8E¼RЯ¦y¦y§^»è$ouÎ&´dÉÔ&f][;0èÙý:ü_7Óáʯ§éqõ7tvAUÇêèù]2Ô>UW?꯱ÙÏÓkzíÒ4ùæ4¶º/ÎåË]®ö2-Dý¾%ñzÏá¿möØüíÑÛöwb7l÷Kë-y^yïǨª½¿ø?nÆ©pú¼«èï^Sþþ/)[3¹ÁË~¯V·!Þî1_R´¦ÿ-ÎÛ÷ññæöíõç Ø.Û>Z?¯WÎã¶<E#%Åݾ/¯Tôóy-ôÏÌFÈö /Øõº üä rH#&ÅoÞü"½ºÕÑ5%=¦"ËùÔôß¿îxä¦É içùú\<·[(n»l§fø¶zÞ×¾Ìndê¤óô>mÊ6ÙØ>¸µq«º¾-_aµÜ:rNXsÿYÛÃU[_ÁãTSéͳnÝkè5GsßâÀYx[Os¡çJ·tkBítµz¥ wÎN6oÙ£ÚØ}öÛfº]w\¸(y¢¾üì¬Ä¼x°ú#`á¦#QóL.sÄôð,\Í\AæEÎwR¹§ú½qyY<µIÜ}ÜqÛo6Mü<çvân;Ýæ"^¿W ]ªëû©=üÛ44<jt»JÆCZtz¬GN¦©I|:äôñIX¡a§üaîÿ~§@r>3êçS÷Ç·íñu+¾çÿHMc/7¥{¾ã?ÏçÇdÃäÄg²úN#¼ÃÜ)¬gdFûcoÅ#&¨ªú«¾û+ùôy5_gNøµjØI[ؾa i_Mû?4tìá.í(üWMÿ@¼Ëì6¨4=ÓÍ'WVìot8N[Ûâ"9SìòNÿ6Ûp¢_ú~vÑ¿ÿbèÄ{/vÃèíO7ô÷ÂZ,üul.Óñ¦'ú
wRî²¾Ëû!«ÚÿÒcñº#Mïeêæ}ÝÜ¡Aô:Ð}ù"¼q+¬(ëÃÉð¯çv^_l6îù[Ý7;(|a*´±WøîùÞì$Ø'8*,>vþþYWþ+CëÑ¥0ÒÈ©Î äÌ
y÷Fz¬öü_Ö¶}V~Y^Aþ'áùØhîÏ]nåÄ8S±ùzý4í²ÏèTyõCïýá!_7ßÏÏÅ/#dÒëò7óûµ5?/oðBP|`¢`s,å#2 BPªw3zÀyt½êë#2IldPÝáÑÉ#%â¿<÷|ÿ²-dÿý
¦?¿9Ór°ÖNßó?ïúus¨:?O¤'ðîÔót>þÏÞkùh?G·çõögÜ%ûͯ¿¬vÝz¨îû쿤úujкµýZ¯çóºô"rû¹qA£§®ÇãÇHñwû§×ÕûõÜ0üý¿øÇêGXóaÏäñÀ(\·¦Ùú&{îwô ?;¨(?É~Òoñ0ùlLúé×þ¯Ã÷aN«tý5ÍÃHß×Å«wîõßóX6ßJqº;þ¼Ü0vÍQí[L~/ʾÓÇJ|£÷jOäñïDý¢¾·qÞ?Ð}jwåÍ#%Uh
¯ì`)üd63öðiû¨B#&¢"x½vâj4Ñ(qóßÎñ¢ç×·òïêï^"ý¼ý?ÊG|~bÅ~æäìAòÙß̺9Ýûç³&Kôí§h£éy?å
$ÃÉ×#2{ÕF:pð¾ï¯`7ßN=|ÉOßHXTSÙ¢@æm,#%(ÇyPÌ Ï¤>&+ftÄ^IBfH&çQä zMWs@.á`d>t"r:Jìë ¦¢i^xiqãã/mÅîÏ<+Ó?^8¥CmR¤Du°`5>»c×åQ.Î_o*%ЪgÍGgàìH¸{&gI`C¨ Ì:ñ-`@CëMß;¼ÓÓðöâ3¹þÍÿx¿Ûߦ@í&Äî¸ØémÁ÷NàeätÃW|©ZQÃÉÆ}ðuÏ°VãM«´Ó(VQ¨ÎLÉ(³ÉÊçFîå®VSaclb^bV¦?Ï=¯7xïÕo5¿ø^Æüp_oNl~ÓóõEÐÌwS*;¯[+2ê
+¥Ã£zfËE&WÕËï+9zÅ·øÞ5g¹%fjx¥¹×¡Z5·Xl Î8_¸="®=W½ãOÈ(ñôéo-·Üë>A$Ès ÄP¢G^çÄÖuСµ\*@QÏ×ÆBGÌÆðFôXq$Æ#Ýü7@Ug϶δúÇ·Ýp°åÔ(7j["»¾ÊUó5Kú§ÕXIÒAS¬A QQæ)7ü'Úëä0ÅviÒoÕfw_]Uþîû¿WÚÒ¤rîw#&Õ·êDóæLâ,[Ù°Üzß;O»éâ}ÐFL<^q°Á0ä/SâOìôkml<§¼¿Çjèq£ÊþÞ^¦ÏÃ$Ùw+ýyáÖZI$Øé»ÛMÝ/ï±´èÅî¶cqçüJú°¾Nñ'éöPgëñ£ ß5êt)$¯6C-ðõÌT_àÉT§>c"<~âQ²JyGËôzËÖ0È#%g4v^Óã¬U¿/o³§ú±ßgÊ~Ê¿zÈÿÝpÿ1j32æFÕmÈJË äFû}*1AA¶ÅHâðMJ*Q&íÑ#&cqa ª(8Ü#2*"ÇOá»Si6×£Ó8kMjDöàÆ +HìRØì#2kÖÔa¦ILA«"hhn)"4±[VWcì'Ã#&Ss¦hm.#&H¯KxºjÈÎHHÛÚ- ìÅháiÖ'ö~»ÝoG|¼ZÎD ùÿ1ø,?ILr`<Âwÿ¸Z¨9-E¯SHXvXT¤Y¨¤-06þ>?»qö~ü|ÍÁ9ÙåàDhÒ¶d#£¥3Y¶
¤Þ ÆA±aRDBÕ¨,M±¡$83UdUP²ªP´Y¶Oã:?>Êq·áÏáË2)ÍïMõý¸vK ß{#F4¾ -gÔl³L±çj·UuåËu_kÇ?ºéËÙ]Z¿Õ°KÈ<ê¶}£ÏÇXÇøttskßùÇ ¼Oíüï·;>~9Hÿ/<¸jÄU±ßmùþ}&1s¾O:ʶUd×vVÿ{#ßÃ\3hî¨p°£§ÜG¤I áÐךּê´yû=¿à¿V¯N¯_yDµ ñ+ú.#%8h#25U6û¸8m:½|âþ¨YÃG^péÁxYuþUwø¹\ç3Ü®ÀÂÐÃËÓkù^¼&5©ýýÛÎÒ÷Ï_gô·_RâM¿©uÖ~éýº{æ-È
ýÑ}¡oóséúªÆRgÌ0¹Éxh?
JãZ¡þNÝ´D3KÀÅnBmZ$VÒAÉXÅ)×%<¬Ñ#&£xAVb¶Æi¾sY²l$»wÇÍz5ëuéRCt³.9j¥BP¨° ¤±BÀdQØZáa++)YlÿcÒ£FÁöRVÞµæÊÛ'aZ¬n àÛ È7No7sÁR1®Ü¢nEL£Bn`Ê4¶b HÄáÚë9µtÙ) lcQ#&£dL0ã0¬éTZCâÓ¸èè²×3HZ7ÏQ-i¯Üë:µ0ÓδK8£{5FÆ&,&T8Tâ$z°1øTGHM&Aàh%´°U̧!h";QTFu¦Tcucdó#2Òå8'qðB«I$jw!!èú¡ÅoIFc#2eÈêÌxgÎ{CøüÔÎÇúçþGw3,·õ5"±{yBÖÏ4êo;h×QOF¯^ÓDõÃÛðv:=Hä ±S'ü?t"°÷?æµ]
PõéèÕ#2¹9<<j^¶M§2TÚäéwªnçXBsÃÙã;³5X^ûå/ÃD"l:<«×=tâÞ¼µØgã·áÒà&²ËSMìüsês|ìܯºâÍÿ pùõGÑ!KC×Á7ä :ù/
âG°}zù¦¤qó7i²¡ð#lA¥~/As.TK2ª«[Ú£êGpÒÄ'£xäqCôåÉôKòø/0~¼Þ±{ìHê±W/>Ô@äÖ[mÿzéä{m²pùwú3ßùC_Öûn ²&tcùõúädG³¡fm²Sú$Ef.Kî©®ç<mýµé×£ßÇ0±zä`Û0Ø'ÕÕ+}þõ¤Q öEPò«cMµHØÉâ5",CQ/ÜÅl.Í´Kã±EìRÊÒªøwýësÿw÷z{ü{ºÇ_ëñ4øgÛÛòÃÁâ#%ëY0,B#%$,FÆzkRd®cE뢴 ø¼iKC[´ÖFÑM`¸SUx#2á0$óR³Lzµßea2¨21W0k830ËBH¨ÁV¢À*ù£KĽxÛʺoò8¦êêdÛß$ 7øh-¬OpÐ@nýDd3Da«Ê§s*cÒ#ifíÎ#&U`ÈGWÀ32YbæTVmêÓ¬!VÜcmÂÈ)©ÓQ3C@¤¨¢d´LDËD°4N4i4&NEéoFÄVFÖ#&vËÁíMÕ¹¢Ù6Ò
QǪ'÷dÉäø1µ(UX¬0Ö¥J*
N¡V°ÉAdCîhóº)ÚoùàÂ6L(:qQY7Ï÷¦#×ç#2!B#2,ê·o.O6÷ܺ<cõF.mèTïü¶:&âcRïÍ´Ò~«¯0aä´ÜPâ§J¦¿Ùõùé°yþß#ÊütRèå½ý#&Açõ}'Þ)yõz/IÔ ê´aüXN¶êóÇ"#,²ÛbÅ
¥UOÆT@Á§/®ï{±f"¤t/Q"TéóÌTQTIqÔâ$dHºCy¿é"s-M ¤ùéÊ(wð¸Ëï¶p°ðÚBy´Ó{x9¨#±ä"º<`hIh¥ÒÑx Ô`èmÁ±ºíXÎm]*«EPTå·ó~luÚí±·Ìq!å*ÂÍrÛá§wýòyüzïÙëöô~þ]PqwÉפ]¯É>|GÏüü%^ê°!/:t(n äV$tû/h$\´FâÝQÒÌÇsÊæX&È-:0¦,¿Æ ã#L1ÎxºÓ 0dh}¤u·{ª¤í#2ê:®!FÌMÇ <l?·cʪ)m8èÜrRð4VëÙEãZçy¶f.4!Ä»GÁ¢Ë#2²kÉL¨#%Ò5¦ïJÇÀצÇÒÍPÑcÖ«ËwC{Hʹd[k0U#&êUÑæø+m¿ÔAغÉ&Fèé á¦Ñ +4غÕDDÕ¥Î,`¨êµ!P®7Å0Ó+cêwÀÖ£5'ë+kÀ}Ñ8¸Ü#2ÇlV¡JäRe1H`å#2ȪöcÌïwØÒ-ÜîZ#ÄL^?ÇÃÌ#§ÎôOJÚ¬DíWækâ<-´Â²ðÏU¨'Ù'çû¼ÂWl KtvÝçÎÄXæBÿ"yjBר:£ºqdï¨}íB_Îî¶4Û}#&[xj7$ÊbØ æ f=¼´#&+ÉU!Ñ [iK®xÆJsU=màgÆ2ËmÏzh¨ô©S`Ó<9ßFj6äÜR®·Ç«U¢L"¹8vI*¨Nï¹àK^ئfz¯Ýô^ùtÛ°v(ظÉ@í94·!LffóÅ#2|k¾j¯8MQ±#2íPüàØþóbÍXR#&§Ón¾è¸{Ê#/¹¶Æj Ë
fÖtgcq[kaÀòBbPÅ×y#26(ð9êàß}üKqñ=,6ã¼¥ÆÂO;>ÔGTb·Í·Ãlà ía£nó"ÁÍA#&¨òs>k PĶçNø,oän¢ÀÕ(Ç{oYBøõÎ×Ú1Ö5õy¶tÖ¼5Ý©u#&+ØÛÊ:Ì`wÓ0¸KLÔ@´îÌéXö<pÝùW`ÝGl±ºÜÞ70[ò[bbîf8wÊ¥(·|âÙ7-t®TGß%Ó·!Dx<tdn¼.<9Úw¡×£m¨ê:ìî+&óÉ[¸Tnq°QÍ峺mðÒº]F¬'ÛAXlmoµË{HXí¦ë«®3äÎÍ2®Y¬LÁã³TºtÙÎ3N¦ÙbÓÑêäã!%Îf´W[»`XVC69sm äZC"6fÇ1Ùî9XØðè5`[ôÖÌÙ6IÄ´
PP·ìîB]¸Ççë%wv)2æuʼC¨q#2Iï1×cÏå¶[S#&·£ =Ñí·'#*£}xæյᯡ¤¯ý7q9"êÇË'êaMm×M?"Onÿ¶B¢j÷m±ND\Ì;Êwº×gQ±*I¯b-Ütè¬"ËeMº^ð-ai#xS*!N mñHY{X=Û\˾iáC&t¤W¶m©Ê+eBG{ò}B`É0&ðæè¢Ïõô¶éÒ©]8íáÆbÓò.1ìí×_ûUºwrûb°¯~ï]q¢æ-,SvaU±}:®³®«KiØ!>Ì¡rÎsÀoƤ}²jÿÇÞQø}æ&%àîN[Pi¸ÇúºT[yd:f¹ªF°¶äë¨7Hµd*QÆrF#2 H9cËq½6×¹åh3®§Õè¯!z»fÙyõ4Â]ÈÍ¿#2|Òénì;Ï~±£ðÞ]·F¡L¨ÅÂS)º#&:yè¯:}×NOº3(°¬m@òÌÅ]&.£¢ÅXvû+»²¼wýþc|%ñÃ50ù3<×¥q4D½2ò±Ài²mk#&VÁ)(mxPý±v~¡ÉÒÔê¬í¦Ê86´UcB½~
¨Ü<GOzÃú]¬^ñ}¦ëJÛu̢ưÁmÑ,ã#%©dÎK#6¢üþEë/¥ç C§µÈôNRwù¾é}¦D
Tô1¦T¬·ñ¥XnqÔª,W£,x~Høj×Õéñ9ÛHp'óá@¦ÀõÖzÕÐøzûËJåø¸êò>áê\ä>]ðø2Ýå¹Ðiß©þSÒKÄ,oEæ&~{Q wuE"è/j#%#RZÛh^1KVâ÷]ÒGÙêóú¬i?Ö¾xáâ¥#%Ä
äYT6DÀ øç}÷w?ô<ýwêÜôìCK¤#&ú{d»<·=#%çL~|8í¶#&ÙXÐX`JÔ9m(3.È41° epè®RØ[¥,i ËϨ9zâ"2év@Ü7±x×8á.Ì}j©ýèçñ\ÀêmªH.V58=µIn7`vM=°.%ï oáãö9#)ØUÎ]¿îÚ9 [δ=kÃú¢&òÙº
x`3OÆëã?#&ãÈ¥%[²YpF\¹#2Q´Á*Ãù»:í4m0¾ºb#&ȶá( ¬õ=|/±âúYôÝÔ)2LD¼xbæ#%~DÛãVf(x;é?#Ul«|Ô;µ_I)T©aQ+é æØØSÛDø7#%W°9ídþ¢®§VÛx2»¯©'°ÝÑÛ~ÛLèÂ¥hÊ-#oÍçþ\éPÝ5âú(7¬Iá»U9Ê>iE-%i{=[³ãão¹DÜ Ê$âÂð$ÔÞXÖ]Dd{:>éÞMzÓ%$ôÕy ³bÌ8°½ÕØt$Ì6rhϤø×^g[¿
µ4#&ÒOâKÑ·¡±CâÿAm>Öqݦ/ ò(i©§agÆ¢¹l¯DÚk$ÿTôÉ(
Lø9Ç¥ÝÛUë8C[|yÉ®ÛSóG|R±áF¡á¤ßÅ/>,fº:= %Û»Eõ-ª ®N}µ]{êþÞàÿ7±CðÉ2êpCàÏ#òÁ´ð û¹lËzα9Ë&ÚZLHí¶Da1â £¢h:0¼õ>8©L:- @~zÐxG9÷e½»u飢½¢M,ÜͱÇüÄeLå°ß6o}ayŤà p#0fç¸
2¶&ËBÆ>?#<i"H#&#&n©g¡øx_Ñ köÚC]¾ÎíÎG¶z¸c¿rÓÐÆBæé-ªÛK¯xÝyÓ@åÚUm 4á%íaG`nFQ}<CLnt÷ÑFoÜûë^ã~i2cª:È¥·áòÌ$ ¢{6¦éÞ¦k[!ï0?« Ì'MÁpÎgîÕ¬pî]¼EÝEµß¹úkÊÏVj>ò¿á8ßu'Dº&#&®PtUO6 ÍëjEGÓ °0TC~8{v{FQVæ¿ Öµ@/où´;ÄÒh£¥´=Ò:¯¤À$:h¹¨7ª²hE»Ojb+5û+Îwøù.3ãcÈEÀØDx>VAE,ýdDñ[3coo#D£ìüGe¡ÑÌIËaA,Ãq]Ot~EHo ׳P_æéÓFs«håæYCÆ;Z\c«ë®V-8öâÓÏeû®©#rë×:lÉÐμܪIßBu|ÓVáoåïc·½3¬'Ï&Ó´3?f³©ÝÊ;®©ÉL¾WÒÖèôqåH¬ÆE2ãeñs¬ÔþEô®ºSab¬dŤM®^¤òzn©/OM¬ãÛÙÏQ0#%ÈÑ5¦]å½QÝÇÝÈj߶)xoÏÚî
·":ÇÌ[ÊÚÄ&ÂOÞsê®IZSJLªæÌÎå|Ã:)5Ó89UåYgmûu48S¦Â14{N×ÑZÐJ-Ê
«`oHÅSwâ¢3¥ð6£f\ò#û¼äú·êýnw²öwCqÆ®ScSù¯(×%Ñèæµßn[¦|^c{¦Ö=#2ìm&@×wk]¹ÅäßdQ«Çè¸Ñ§q|ÍÌm¶Iö0RûÖO
ÞúNÝÆÎmI8<®MÑSAͽÈà©Kí5/³B#%[zè? zT¹BôêmfÒËlT=I4¹èUÇFo%ë*¡açgòª%ñÚ#&gÍ¿qnè}íÎv¨1j-í$¢xxOÓ@§æs¨(<îY:ºThÙìÒ<#À²÷¨xï·Õ´.<k÷n`®=,ãÛw¶j¨ÁósÅMG4E8yKßÒØÚ¾ÈÆmÉi¹ÁölíÄíJÙ{1½»±»v"W$;¹ Ïg³Ñ¬#21(ìO àá öôó!è×ÛIÑ¿Ív®ÝðÝßhx#N ßØR%«¿21rÉìöû¹×Ýs±9dóÂX^¾ÜX§=f{â½Wvß·Lo£ %DÉ'#2»¢Y#JAcFQ bÉ©áMþ(C&w(eòiã\D¶ì(J<#éï)º¡ûߢx=#[÷&ëcÑõÛÌd¶¯7ð $c\l]P$ÁÉØ "ÑÙÐÜÎUgÞ^><©Öt§¶ûrÇ/+ÍìF!äöâ}øÉáÙÊ°~»HgGgʧ±,%Ks®)©³ù³~¿_ðWô~tßö¿*Ôù© "8
/Qäü$ϵç#%;BÇ<v~#f/y +#&pʳ§¾t¼¹Vç-¥êcëÖiHp°7Mí,¥¡,®5ÂX#&öK¢Öº|-"b±ëc¹ïgóKEÕA¢æ°»&h«÷ÎZ×|Ük Ñ´S¹_EعmL-\Ä! ¬Å«'\Ý®hªä¢cX(±úÞYâêcOÖ×Dõ2J+þ¯}ì#&|o\ù«Z6JYe\8ߺõÚ`x?³
Ôö貿U~PªØ4{±Üe2tYæÈY7Â\ýÑ¥y'ÜñÄp"±ÇÏ宼çü»ùn{wËñÇÏ·ÇÎÝóÝUWN+¢dsj·ûbù|óeíÒí|ä6»pðkØì¾c1±HOQg¿Qϵ!Ròõ/Ò±öÇ¿¿±¦íMg]Ïõï¬Y\\Ú¾v!4w²l¥#K&,º#2héw:DçUxU´¾í.ÕÇðÎk?N%O))©åR)q¼éé¾îù1þç3Ìû©Ñ}o³Å÷ÕOÚîÄÊOs¹eùÙ'ÊÂéYµõWæù¥¹\ët4û5ãND]æjiçë½RÚ85¯¾Û0;*aFkuö0*áe"ë³°I@uäñ(+CÏ;©ôáã×k0Ã+ÂÝ@ÂÒëõnÈHTÉÖ`\ó¡`õÓhu`#2ÉWQsc3ì\ûEV£ûÜå×^:Kh|)*>³t¯KÏúã9ù%ë·»ÙÆ;é*3OÂ%1 äõwåKèÒ@¥Û ýËKØPÊÙ-Ô»1°6ȼQnæàõõDtG®¦_LvºIÞ¢-ìÇqwÁ¦ÉaëwÏ®&snçÏ'¥ü*z®3{À§[Íñßôí~>îlÎ?)qÌËÂñ
Ç´Tò|×a÷³´6ÿ¥ÌïK?%Qëo'ÏhÈgzÿy¨%C#%»qÆÀ1Éâÿvy»¹¹Áhg¬I·lÛSq2®£áÃMe³`++WÉjèßÆø/27L;®Ò8\7ou&õ~.KºÐè«°ËÁZ+«Áñ|»¸Úñ#%̸¬ÞìUbHÝPË6XJo·¡¾¡i:#2ÇÀHë}Ý`8Oo¼ÁÅS.è¯Lñ»(ZPñÝý»ç®6`'U#2c}X#&Ç)<Üû.{Í
î¶Ó6UÓ«`s¹en.tÂÕvt^Â@¡ h,¡ÌÊÌ3ÑXlÖÝÿA¬7n+äû]K¬Åf5Qìñàͺ̼©Ê0ÒüV%÷Õy¬W¸d?ÈËÍKe¿"Ͻtð<f#&6Õqô¨)Ç ¦µDTRi%:ÄuãËDª«Æñò_:#[× s¤e\§fÒÕÀ½j6é÷ýø×Ï9Úè9¹·,´ÍÆv#&ùjÊyI㲤=²4ûtY
_XFÍæÛß'nÂ6)k5pà',¬+ -IW{ºV°GÐ)Ú
"$uÆÊ÷ÒÙÓ[µòY)ZÉÌ;÷ÒÇÞFQ«(µ<n[¥]#&ôM¢å»Jj Ð[9é[J¾4¨|¶öåk¶#&GµÚî»C¥]Â˶ïi~«W#21>;VÙë9ÅYïÜwC7lÅbYøÇ7.ÁÆWÕªâYFX19¡Û¦<+ázt½««ØëïqÁâ9;Ô*"
â_¡Ûã~6ì7Õâ5Sj²n{#wm4º/~Ì.}¼ÎZ0sEÞ¡¤AÛ#&ÓcZ#&µºj¿=Î}`âl
Yرëkùz'¨´§WZ\éoÁàÞàÍx§KW(Æ Öbtc(»JÞn
ò¶pw·ô?/sÝæ²O¬l^jTyÌ:|1&¬µ£|)¢Í#2üeÑOï¥FCÌV¬½ =tÞÙñé8Ó·¬ÌcÁìöE¥ä:®>*!Øs¸¼Â#2¶0cxý1 -!%gÂÕXèɳð¡U7¬¬LÔDr§'#2KP`ßÕ~kF*ʪ(-ö½ó\àª\od¸2ke+ÏªË ÛG¤,ï¤I<ÆÈj«Ã죻)¾O<ÅtIp£Å§àË'v»=×][J ^çTæC øÓÍÓòr_ÛO
ß\Ublù=M"½mµaíôÝeëw9ΥˢmP´éfDtú«1^Ú^ñ©NíSçÕâu}p[fó&&Þ¡_±ÜM¥¦üÝ(ÄuæfS÷pr¸¯,Ký85>M½Nn8ëºÎÞÈã¡5q¯ßQe!wtÑMc-uR÷mUµD¦)ÎWÎXVÓÉHé"a·HÒ
ôùmgÓl6Wog½íWãU/ÖKÔM)U¼;®Ê,=xSg>Oå$<JüÆ©¸Y|H¯ëd¸h¿'6t
-¢¦Ä'd<_Iy¬gF+eý0ká3ÌP¹o`£Jb£EG&ò/¤Õ;»«é{Hò(ñÅ2·ÚXfê¿+v#&öÆ0T&^ì7ìÕ&vÎ¥©(bæú4SH³i{ËàÛÊbGÙMV³Û>¶î¯/{yp¯#&°X©2èäº#2þaXbðý=IÄeánCÌDÄÍä1í_ea±Ó(£ñ¯.¥ð˽§W4 &L4béØVýËßr¨T8r øú^5RâH5è <0¹)¦øµ¨$Åþh>r4MG*z3º¤áÛpßçSÎr׿×~"P6¿·àtwB)ħÉj§#2ò.rfÍÀCcu47OPÓSÛhÜM¼ÎjèEáuÃóºÿb÷fÈm#%*¨ÜþùfªëçIY¡³fÖý;NGÓ5¢"XªÍ4H^¡ ñ¡ïG4´zf/ÆÞCMsú¼Ä»]lÿ%Ôì-¤M&IsèxÍk¨%3赤/2°¾C«]*íÜ.`7d´; ãÞ®AƼº,qß18r½\Ïoè8ÆÐz%UsLoÁ·:N.±(]Ôj%9Vh鵦lú{«uÑ ;#2n®
Q¼ZõqÕxôüØ :øm7-[à¾Ï(Ùã3º¨)éM¯w§â]¶a9R#%wÖ¿[¬~7õÑ¥|æç®ò¯ÅØD鹡cñçtYÓµÉX,#21ØD#&õaI0jl¹>>l¼ÑøáA_O}×(JÖÀë(#&½hï{ù0Yfm#%/XÒç#2<oÂÖXÜÓÔÍ<m*Aât \¶àUÔö,jeIÕ²Ü,ïÂú"VUéU ãìò·´Å÷¿ÈæäÁHæpö túº¤LúÃåâ#Û½OÌùâ=¤yµká#2DI#ômv®ùÊa ]ë9µzÝýÁ"P¡½[zL°=>Ë ÖTR¾÷9&{rn¸°d´¨ 9ßããPd çNô4m Í`çfy¢ós¿J¤,~Ù%Sì
Gwóï=IÇ©
åé}aâ´=.ê«Yw8=}«¢VHBB\PûäÝK#&²½å©!0ñoMYüÏ©#&!#279l
áÓtÐrÜ×D#¾cXѪZP^JKòâÈnTQ)f7QÇ/6X¤t#2ÀRÕÓUY
Yñ ¥]xÇÚ´{æ<éô£,tDÛ£\ç³ËùáØÓûf6¦¤As\¯#&ö~Ǹں&#&nÁ4Añ]pDóhJt:10v[ÈÀä#2Rk¬Lñ£JmÊ7! m¾#y¥O·':V$¹BÙ%sŬC68ZðBÐ?OBa"Qx_|¹£$gú ¶Å«4½ä6úICò,8m·´sÍsã7áùÖ, Cü`ÅN ÝÁ˸äm¯¸kgù*«Ãè)lÞÀâk¤Ö{ÍÛµÃÑç{ùKz|2Eøz7ÖºO|÷®QhëkAT£´Ï>¾=WÓGU<3é6$¶åñ¼¦tcQ\\<jÞ\úz?WÏ[ÀoÑ64 Ý[#2¹ þãb7Äm§ ú;ñoñ$³¶¸x<a³EûñÊíêKk^ÿ3Y³¿!@]d!{«§ÃH!27ÂVï~Â1:ózÇC)µª^Ñ°¶ém8~T*Æ»RðöF#2xµk.%7Zr§ù@âìþ0÷ûûnÄVêüúÀWOí¼ÅG«Aïéx_:ãlyù9#2°LE¡ÑK~0a5úúf~ã¡qÏz88#&®¡nP;÷g;WÓ¼oGË¡ÉúGÇ6®ÓîZEô·çoGÆ3lV®{§7-ß<ú
Z¼C§C£qýçÏÛ&æ9×ÂÜGä·:(M2:PýÝ=Z·=¨6¨Of#¿sRÙö9 DÁ#åT`kãÕ#&Pkrr!þR(EõFQj^!ß}é"ÙPÌǹÂGZrlöv´¸+àíúx-§º´O^ËÈĢ˧HoÖåúUÅ@/7® .bÂrºxlKcz/íÏëéãà ·;Dr¾Î9ètÔ"Ó¸SÁ+ÂÚÆ)iíJ/lUß#&è;,çþ$[®"LI©fÍqÝøoHn X;«ÞªÆ.8qëxÝ gÓní«În]zúNC(RP$ïz^½zbÊgoínx×gË<¨Ü,U¤#%=ÈÀz=}wUliØôݳ¦àoÕ»U:ü-¶&µA4!;N f̹KKSZF¯wåÅ{Fýê&}l±Ù7¼d#%$ò
}#2§§eDF[b÷lù°×¥=át9zÏÈ4Ù&æVî®áÈR°÷oùïAñõ¯«<{ö²Ü:ô6CR:íVÒ¤ûµ'ÝL:Çò¬#2@í¢X#2¨°½æ§`µã÷KÜë|@Ôàgø¯?õ:LaÞfΪ¾Ðöcðð¦ÔP#24ºã§#&´·ÇÚ~Øt~ñæ¨mÇÊå4Û¤ÃÓþ£ÇSÝï>ìE\Ùm\ÌF%htg(gû ö P
»aaG lãP%60Yû=#&Å|Ã^f8Fëý[àþÀ</Í}~þïwÄü\ºþÙò´¯@
>¥#%~Ôûþ<:Ñ\ö4÷r®O´pv¢é_õg¨/4ÁDý¿JâTWÆ®òØ]2_ànCR|¿àR< T¢ª!$'u,×FĤZl¢Úº ÐõèN&DKDB^fy_Ïãc«<¦a}3¯n#&}$ýètxxéôæIتÛ6+)«ákjüòø/«æüatêl~9Èé02zý>#ƪø¶rì´~ÔófGõ¦6£Á%nL'¹·ño±Eû=ûÂ>ТbÔ ïº¾ÂD>ºàðüýÃb!UUÙWã÷ÏèLCB£IQ´[ðM߶¢ÏñE(69[ëD#23h[×$×¹ÿ(DîàîºTiMh(õ·ËçTk¦Kû~.ñÅ@¹
G
Eã½uoͯG×m~#%ÝÁËÈm?½
¿wìüÀpØèX§ªÆàLtf6ÇUH]Ý)Mµ¤9ýkÆ@;Ïã§þÌ?{dúOÛªM" dqë¿ 2`q$OÑú4?¥D1A©tY«=£¡ô=ȱ¿¬âFá´êZ+Ôª³-â4k¿_Ò¿§OÇ÷®gâU¡é±,#\êÉÑÎÊõúÝqõ0_äý?>MÃåNz,Çs¬¬ý~dî`¥.>Kò+ÙÿbIÁÇ_)d¶ÜÃ,x4%©¿VÔì@4Q
C_NhtCTØý©ø!=I¦+ #&P7}_Õmp*#%&t¼ Dôë CÖúJÖq.jQöE2À_+¡i<YHRLlDZ0ôÄ ³ÔYiÕGiVÔd]4ëe#%ÙúykîÚdítµþC®)ÀæÅ=WMÌí#&5ö¿}%zûa0ù"¯6N>Yh$aTlyø(_ÑÞ =Øõk¸!zínSçVØUJÖ¨º@»ÕFì5^99¨Ó
jíÝGb8ñ:je`a"Êc¼ÈR#%F#&÷dÓBXKÍq̬ưiar{Uoá¾´ýÕDÆó³ãxfí hmú|)Qà¤ü5º7ÍÇ¿ÖÏãÉ#Bi<WÜÿnuè»gì¦Qáû >|§®;iɤwøË?tãîw ²-¢#w;±¸pçýºdvG·¦øÌkk¦tk®©'¬©JR°*¦¥ú7=ã6Á¢(Ü£Øy·½?=ÆÝаêñULÀc#2Hç·{ê±'¾ ¥Õi8cmþs(k38{ÓH<¦Fµ©ñ
#ÈZ¦2ØøÄØi>`\âAÃ[cj\4SywE:3Ï¢û<Ïç6é~Æ}uç<§VF°PL!Ø»Øs¬Ô)Ù#2ë£vEúµn×·eQ³EyH®ÓA]9á#¦º¤Þ62¶¢®Ùë×äïýÿeò¢"V¶réwì`!n:íùÝÓ7àä½ê÷öüPêÎÿÆ,Ù_ÜC+ë ){UB ±Ù¯Vi²2(°óðLË~´Ð×ì·FãnòÄ£ éíÅâà~èä?KC" 'nÔÃá½#Âz>8êáþÄͯ2½ØMÉ «$Y5;*#2NI¢P>²3?cß@"ûöÝÓWW@U=E
¸ÁWbB32Exè"<û*¼þZòìRkTBàs×^ýlsp¾"Ïe¢.5Q%»=S Ì+%ê
CÑÀ©ìî©|¨<$gþæuÞrú¾*#ðÈý~Ã{}®eñS!j½¬x¿?(µ#%pçÒ&ÜÀªÞsðôP>oì|¼ éìÎÚ#%îã£Í¦¤1Ismã]%¬$%s6Já¢H@^V.DgÏFÃÌÊû¶¸^gÈiÍé ìó|3²6ò#2tXÌrþ®éXN:øï8u=·_a¤çÉ@¶SÂnô-ø\¹é6AboÂQT´x±¢p-®ÛPùÀÐÆELfÐi#w¤¤Þ<]çBËôüÎOª5zÒ8_v«-VâtEwÿS5eÇ
Ò{xæi#2èKN\Co^3/+d§¦ú^åq±nT#2ɵ¥àE¸XÒ<F´xÈrH;¯²PBz$YGÜ£÷.ØkÜ*&ý
5WR!]kÜ;\³pÜ,w°J¹2SÄ;l7K2gl»&Ê|S$Ç ©ÌÜ/K´¿ ߪzã6Öæ¼É¼y /r¹Cb
/Ðñ¶Kûr¨kcm¯Ñ[_|»3_¹u9Ó=2;ÅbãÆ^Ø;wÎö9±äÃ}lKT"¤fØöã4¥ àÂX0G=Qg¹-¶ìÿ3[>Ys¡ôù|Ü1âýν;êQÓcèuþ°^iéó{ì¨[´SÝXJKDHKù^X^)äÚÕJôs#%Çëkü^Ú2?,KÙÂW«K6L²8ª~ý1o'\8¸`[@(RôÇ¡¤!/Mîwê¿ixvma-[9×'çrXÔ«yµ*)¬C#
]bàû±àìáuÔ/Vóó2<¶¯Äà]·Ëàü2S0¨úRÁ*Á8é¯74ßÒ| |"$Rõ5ì#2.)ÉÑiåVöñÝØ2$ØAùï]0Ó¿ÈS½³ÞC×-&è#%åÜj
4·±ÌÕ¾ý©#%ô\ÖÎK¾ý½I@È1Æ I<Uñ¯%(JŶ¨C¯Ùªm"¯"ò îLn^|§ècVò§ù¸z! ¼¸õãûvò|?W;ÈÑhj icζ¶|ÛË Arªl6O²kAvèj!J81¸È??0¢q±u¼Æâp$U¨»ó^"ë;RBÙ Íåc$&ó¥PQ+óv#2ÂUɲ7üSøWÛU7-©÷çlÖ£Ï3oø};h·ÈßÚàã]*Ø3Pë82ÜvÓtæ@ë|»LØv HÂó/dÓMæÙX¡7mëþÕÖÍtâ>94Á¨hP˧ëoÖsm¿A¼¥_Fm¥?Õ|/ª>FT¾93iõ:/ä1ß¼°ûq"c5ã6öþØövCwÓA¿íÐ̾ëáÓfaLî=ûG·«´Q¼:{v8cg´¤¡TÙ¥@uéßmÅ|³¦0¯¹3¸On#%caäzÁp©G ¨PP`¢Û$È;;/R¶uìA#&âìÞ#&kKCé~*4Ħ3äa.#%ûtdb#=ð7B#2©£7Ø«BJzÐÿu
,óîøÄøtÌÔMRaÿ}-ÿi)-¥bJVíÝ¿:ví^yåy
!)Uþïù¿ÜømSLòJ5ÿ7Ë.¸¿eR@þ¤`%yIøy÷ÖYÂgßAUOv þè¥~$éòâxå8r?7^û ÷É/ÍíøýHÂUéoñÕ÷âÔËøb.Û@@þô>Ãwæ4·él#ûmO#%óÓMò#%E<ú#2¾#%ç-¥#Ò|Ý{8&¹UÎ^4ß¾áQÜrÕ)ÒÓêHzt±Õ-rÜh¸k@FÚäCV.VégßÃÒèÇ[ÇG1×ê×b|«ÒDN¼÷üº¥øU9B{»Ç«¯S_/{ ÅØmØyaöéSD;N=ÝêmulÕJÃ"0³o!¦vmüi~ùîgs~Ë#&è @´AÇyøâlO^ |/Iïîµî7Ô¹ëa'Ò$ÏeíüËA´#2?ðÐÐôwÑRúdyñü^²s4NVçTT(JÕí`Ú¡"xDa®I>!è,ÖñÃßïûj¡~eózùöcëÃhBe0¢ÜÜñÕZwøÿK?}5U^¦?¹5îÿt7îB"_Àë.YÃfQ¡P@rÈ\gbaÑ0ö1Q2QëlPåXUt×)7@¾ .`
Mm°Ç<å#2Ü!k),fAI¸:®R:nÐY##2¸5Bf:n°¿'lT FÉ©(Óh»
ÒÆec1lX#ÃaSR,Ò% Ðat=YB$Üå (%pô}]ê§ûm×á¨zJY`óEg´î¥A,@l¼ø²þ[ÕþÌén\ßæBþå8Óû¹x$¼ ÓPYØ#«U}IÏ|úæ¼7ésúÚ¨N¶ÈÌ!²ÒBÚéßZ£,2^§³8×·QáHJïQO½Õ= î÷üÛ9ÖIZkr?ä#%`cnh>õì³¥sæHêv¦Ê">âN2Ú/`ª¦J%U,[ ¶Î.xû5»T[ÐdåªfrÍét
Ï:XÎFT±R>
X¦rÄ?ÊÓÆ6JìK8¨à.jÔGâÕÄÊJÜ¢VíA3\\[(0ʪ˽U#&Ð;£5F«(z?ÔãΩñiÀÊ <«òzL6ÃÅ ÇUEKt~Ùyk]k¶7º{ÂÒð CÁ{^tzZOûêÓ\^ûð¶«âϾÁmßܦĮ"È?\ Ììñn1,w·Á^½î¹,Y¢ÈÛE3MVÄAEïo©èvdXähªªFÑT:3ðÍÀlnw»g5m6Ù£¹ÖÓqEÛÕ¡{+q6ÝC"B^ùÅHÁ11°êHg$" E=¥_uL©§Ï6íßQSÐñ»4 ¨Ê#k*M5²·ºÔhMn.4$5S¨ÏÇi}Ìäè=EÁÂMñĨa²Ô@¢]V7vI)aå\Çá$(Öævs¦Ã04 cîyü§l ûJRýýOÁØ©³|ß 9XÓ:àF¶t`iÅÀã#¡$>3µ÷Bwbj}¢À¸p^$8^¢vÖpWoûÔä=u°Ó#%ËâÉà{¥8 ubVPJ¢5a31RE6µdÕ\ªém^¬Î»ìyÝëÖºåUó}6JM+ÖtR2!U)
(ÄQj¹»6xàI{} FAØÑóGéKGÐ0àsK4qÁ}¥SÀìñPÐdèO®U#&-ro>4þÈt¯²åï)|:¸§ÒV<h:å>^7S¤AARDY0@:ÑÐ4['J@ãà^wÉLÕÃ)ìñÐ2lx7O#Ó`
Ïk"bçw&¨r®#&VØ£j$2ÞxªIIkáP¤É9äq±¥{ó¾§Q>Êü6("OLÂ;3cáÖ$ü»^ã1ogZ¾mïÝ5¹µºZ*cguï«^F÷6µï.iU ÒÁ9[PM\æG«g²fYù\âôp0TE¤*«^pVMªy(Èv1Qµ¬w«P¨cM(µØ3¶¼¶ysì¿ZËåÉÆE%B"lÔÊMúüxôMõðã^ü<§®ýçD8%N|º-ø±f5ʼi-(Yt¨6Ã`@?¬<ý;qËwF¤Ó Ü#%©Ô<#@â4{6ØR<+ÛÅn1V$ñ&¼P{}½z¯£¶»R9®lZ¼VK©¦wõQÒ¬éDº%+$RÊU19võ× Ù22Ýá®veÁ`:D6°xo¾»ºgHÌóã,%cÙ/²Á¿Àsð²(*¼IãïADx¡AUê1m\+©pÏ^^n:ìÕwt¤ º1"»Q©ï÷·Â>r#%öù9Âr»sÛ2ÀÚ^êe¿bóøõFúZؼ5þÑv`ÈP3hOÉSD¯²¤0CX«gpn° È»È'7·Ê:ÄÐÍ'haÜN/'ËN¾4uÓfÞ½Flh&2·Ü+SBmáå2·¨Ýä|1ÖÎ0!Fdaëóy_ Ç3V9t|§#&Æ .¨ÉÈ»lÉQLHR³%ÂiEY9ãJ#%0¬21¶3J%ÓÙ>]íùÇ!ìûl-cNç»xh{x9ÃîQöëWNµN4ºQÊ«ñja¶úÅîl¸í¸5èÊèâ$mÖÐßÀh ×N¾zu>s²Mé`;à@`¼Ø^&fíâì¯G,ßqÜîç.â{Oª¯7Y¬jie>n×âúüìÅyÕÇÙÜ&7uc£ië¯=çÕÔí³kØÏ.)EºqòA¯£ÝB×ÙD!«.£RèÀÝ(ªíîïM{³¢¢JÇ#%B ¬ ªI#%ë&ÚiÁ§
¹1wµ×hODÒ÷Ù#¾(²R{bv(±rÙ!RÂïnÉ-Ð_zÐó:Z±pÑFÔCʦzDÆGÌÇ(à¥#2¨°\#%JP¡PI#%]@MucÇíZvÚñs´=héÕfç²»øï/«:zp¤ !sÙ®«h6gÞùÕuP¸ðüóëôù/J桧£oSÚ0rt3ç#È0,16ß#%=cU:ç×7ÙBû²Î0º>È^IÛ é°;ÙäÔ\AçïÁîÿDW;ZèÒWøL#»âR_X¯-ÿ6<Ô)m8¾ö ÎPvÆÆÀ¤3ÀÐitÎ'B¦âduBl´?îÊ!ìÓ.Ô+ue·ÌÁj¤ÐB /^ÞﵤÙÐ#2AAq)#2C!îK²'ÃcÄÆqD¦QðHxʪ|æÛÚñÎQïÒèÅéí¾äÌHxGÞvŨ×&â-QX"õ¥ÍC92iCÙÂÃQ³yu+´£x¬Xz#2;(6_Eø wy°4&¨k`è©B^)Äý«¤wúE§ùe² Û#eä5ªäµ$}óFÙÈŹ*Ã/<'Q!¼ú»Ø¡C9ëàZbÎ&½µãäT:jqP;Èä{]¡GÊdC(»"nÞin²ÖO+C:×-kk¸çØ4¶:uAèC2.Û\t\³«Å¤eE¤ô×mI ȳUbÃ!Õ8´ilT¨U)âÄÒÎûaе!Ïs »§Ð6ì½öôûë½½#&F)éí¢ïSS!ð®v¢wVô:a:hWlRG=tMÖZwÔïY¢Q³ÝUø¹ÔdÝ
ÌÁ±.ººèojú?]5}}ü½L{]Îx#%4FÜÀ½Gì1%\ã84\WmzpMPäbvÏâ÷gĤФÿ+ðÞzL\øØĨ±dL¦ÒPpöé×ѳ³f4WfºûNøåû|ºxÿ& ×Çõ\è&ß#2È ý1O;ÐäJµBµ¯²«ÞK<?ôèQ>V'Ù¿_ÝSÄ2È6½v_g¸ñ¢Öèø#%1éUаïi1_ÉÚAJ8©éK¢>Y³>)ùé*Ì0ú·íøeGt¤íÎΣÄÂðIPMßö¿KÖiøéoÛìÀ1g>Éj¤ÆÞù¯Ñ5 $ÂC@áý}Uý?¸ûÿ]ËÉp½÷¨~1* .XZgzþëô»ç~lñN^;üñmYmÎaü§Vtþ¸RöT0Vñ«ôÅi#2?_~ oÄÀþêð=#&Dðx?q]xY¢n8îa""iRB÷ÕøþÏëø{¿týåó`¿åþ¶0{©9Y-
¬Vj-dÎ|"¢³ýQß:H+è·+
Ôs=I÷~}'[tÿb,?ø@#2)åÛnÚË£+Ô6~L²Ó£ñóÑ:[AûÄê]ãÝØ$oÑ|3òν»~h6ý2AûÄýÿ§éË÷æçTáÒ׿û¶MÉ#E9ÃHLÜüýþ=¾-y]ó¼SyU^^'õ²rmÊÛøæÝ,*¼¯^vÿ!änR«çlÃSèæøüòpó ¤B}r½Ì#&µ<~£0]5'0×zLýÐ=,9uÒwçkoýÄÏLa{ª';ï¸3Å-« 4)8ûz¡=ibJpÑ.fò>ÏûWþ®]¸eµ"-_PÎ]XõÛ]á±Ñ»Ä#%%#&ôdA
@@WE~z°!3LÙþ!ÐW³ðmÆïÿ#2çÄxïó<çAg_K,E,õÖ;o&#PQèÖ<îûëBz jïªb#2,ïhöøúö{-Ouó*¤-/È.<vÀîØÐ,HÄ#2dJ
ý»û|Î]þXRÓÅÄBÞv¹]¯ß]yrίÊF¤ý'²'t<¢hE˼ÜmÕõ:æ§Ê&ègl?©7Å,b"Eûúüôü¯«U^MóéG)'NzV@Oíôlé|ãmÞ^÷þñ,y¢AFc'¨ú<5¢#%Hç<:û8fÒ9ûìòù»ºA¡ãýPèÿ'Ô¾ïøÿ,Ñ+ÆH 3äö,#.b£õظA¡1¹UEÏ&Gº¬ÊWðfgØæmlJz³¯Ð¯§ÂÉz¦¥c>
~<+ËüÊbN¿rþ,QQ.p³°qç¿~ÎfÈýS4Fw_o7r÷-:CÜQeÖ°hô#&mp<Î'à ¦×.wE~º÷J#«h~¨j9æ<¨Ö:»½6öÚ?ú#29ÇðãÉèïá´CÚæõïáO-m?ÆGq|SÅ,-O`j¸#%Íû½~²C·õè/Õ¯¯§±wzý;7bÛýXÃ1í>S&4F¡,¨Z>Ë&¬ý~Ì#%îôm"ï_y|þD©(T~?#&C#&K±''³<½Ñ]1½duçlÇ1Q÷ëPfеGúeðôîßÏ!îØn
~»»½Ý¾9þ4ï±sþÙ¦~^
PürÈåªøX1T0ëÏ\#2ÅÁm%nBl¦/7HUZÒ}~ïø¼nqåÓ¢ÔSä#%/BZS,ô®3äfYnîky¿3¹úé[ÇæÛìÝ%Q4ñ"µÄ #2[ót__$3²Ò6ÖÞA £_l=a³VéPáý.øûo¹^¸D%÷qÛ§N;j±ºb%7åF%q·ßñ5é:¢AC ÀO8ÈQٸίsÆ8c£a¸;Á¥. ÅHÌ6'Ê<
¦³³_ÍAÈÕ|[¢kïS#w§ÝÔ%OÉüçæü<ó3.þ:õ=z|þÏÒ¾J¡þ;¿9qçÌ:x§IÖnÛ·º`¬!¹9Îïu<(ÈZS]-YÂÇd¾B?]<é1bÙKlu¤#2XÁÝåîPõ
Î#2è=óWÈÆ38ä¼8|§d«U_«Ø<èõê¶ÝéÍþ #%A7
õê>H#&Û]Ç}Ú:æ=YnQ@"^uEmCüsv]æ¿<«¿K#&x}$7ä'[tb9þêÕ5ëB$8ñÇ-Øæð@õ»òý#ëQk¸7ñÙñlY¼^øè>b>wÔ{ÜóöQ£Úú¸Fh¡o|lüì3§ÒïUãXÀ<Öz¥ìèuÚÅã»úýK~ûÃ^"\îÓ·÷¯+ç7¢M>¡ÝÔ3ÎtÔB$b_#&1wEK|Û$Ð;b´ªaH8.6#2#22Tl>x0x5£<ZõkmZÕy«¨#Þ(¸ñ᪯Ô*àí¬fÿ²Lñ4ÊòÔ1]mëÔ÷Á·ÖIlyðûK¢G:^¯8º¤ý}¯Nð½½k9~¯æʾÒÐÅÆÒ&ftkÀ}Õ%õ¯lgú$=æ6s´:Ù÷ ã|¯©»LEwm¸·qê^;ݺJWôÈ ·xxl&¦Ø+
(NÞ< CÅY£ÁVçèÐÆ÷ò½¸Y.xÔ6«1ЪBOén½I4²ÉѹɸIs"S
WB¢ôQV!^W¤ª`PI¿¨òÃ|QÖ
XÊ
#2P/çCò¸hç¦æãèÃWÅqXR#%)¸Ø÷óELAÜ"Â#po¢Ô +&ïZÉÔÿôfêæîä9þ+a ·î¡"ã
P\GBÀªê/n=6rÓÿ3ÂenW¹KN#2éå3ªýz¨¤]±C>öQ@T-¦Ý.ÙäØÆUfÖJÛÃÊÞ&¯6X×Êãm°7PE,uzfé~:
ßnmǵñÔYïZ
³@è¥wãvCW=ë¶Pg9¤îëc÷BUÒË°îúÎÇ'so(1Î0N0qån~LNïzûVc/ÉNïåué®<+:ísªzÈ?HÍ8ö9òS}übd9yG¡Ú{kWÞ5¯Ý,2ìC?G(q!(d¶_!"I$5õ`oUÒõJ/qUíóòöÕz#Õæk4º¢½¯aÛ¶ßå7·÷Ô+©ZÝ©ì5*õäÌ#&ÓÙsG¨Ó.bü¯Tùsj#2`CÃj{ÿÒ¨¦ÕE©I:)éÕÍB[¦Úr¢}cìvÌ{·õ6pLSáÍé×î8SGý½CL¢ÔH¡%÷ZíN£ÃsZ¤ïç£|î^××Q¤¶g3×Ú§¥ñD8ëõÁõÏLÎ$³ó~¿9>ë%ûabwl¿IåíÞfÆMIû_?;2ùtæ"ÊØ£t!¶ý×½aÅÏVüm Ñlu§Xp¡:å<ÏI'Øï; ËûÝÅ6ÑîywNè·;á+YÅ8ÃÙiÉî~ý4¾¾&ÏÂcÃJf!3¦ãÒ+]Ìÿ*tæá%àÿ?LÄ<ã/¹m]ªìä@&ëìPG]à§*2~íftÂRᤠ[dö:DÆ>(´¿: ¦íX8-Û-]p¹ë)«]>GJ êÛ1Aºyt5õÁ§iÚ¡é¼ÖLF2âMñý®QR+#&Ú_j÷+Á1("ëºv7RT3!wÌ\È£Úoì5ùýÚ¥Â&tï±uõÇr³ßë-Ýó1ãâðXë#O¦ªRã(-á.\î:v/ÈOËàö>ËÖfÏY®;uw»Û«a½Z1#&e¥ÔztðF°Lñ8=-è¥Á£ øQ¡¦,zõõ´¹É±V×n?Êî&~Å´J
~È/X ³È©W¹,J]£Nó
²wOJ½ÆdgÌ3Fâíå!_{±óÌ=íÁ¥'Ý£â{
'95ºÖÀÌ÷CûýA®Ë:XöÙñ6ýüâhÉÚÉK[~¡Ä§ò? û{|º'a[-ò¡x+îùÔóayþ;Ùú«2vªÑ{X.0Ö5)X°fÒÝG£Å¨DÃWÌñp KcYkñóy`P¸ÚsR8{ùZ.µö³Ãë:;sùÜæÀû¾½l»¢zü«uv±èÌÁÚMÜî˼màV|ó§^ñZÙçåùÇg#&;;õ!øªé³¶Ê]Ä ËĺÏY\6Çg#%U¤{â>½4t0Ú]¿O¾ü±î9í$oú?oI¿ñHÿ< Á³Þ°Á®ï,Kcçóü.aÆYõfccñÍñÝ#&¿IÃæJ°ðÂW4ï3Ï˵õÁûTNy¶ÃÞSM¨Jç5¥HNÅQj¢Ä¡\à\ecDøD(Ó}=BØX@³}'kÚãAÙÄK]dkñi/ÔÏä4Aîfÿ*+~ß·'n,ö¡©ç侮 »UÎÚ;;÷24ÇIéIÇØFO\GÞusúy¤Ü3µUÊUÒBfF°¡ub9_ÒpÏIÆ@MðôÃñÑø_F}ãìÞ¥'$ø0óeä(äb<êÊz\¶aL;ܦ
¤õ¡x¢ÒäE(H@â¤OǤ¹[¹BJ+ÅGPÊ¥f®a`pqæú±Ôp»·£Õbdôì+É`!5Ñ(#%¾´ÉJ°X¦A#%F3®cM7!RF4 cXGð@WUV &']PõÀ#&-HyuÛwa,oÍ;b¿, jû9¼yX8¾Q÷)EnÝPV+ß.8WUç5uæe¸Ä:ç#"GI æYÈo¿c¤ÂÂkÏLc~Ѳø°¨¸(¼#%Oèôþ`õùp³Z¸r]»uê"à{àZN-9ì÷^ÖË#2âÛÐ gáìýä&F¿Göô;DÇT`HwGô\?¤³øqN'î ²cíáåÕqãõ£ÏÐE¤n)÷Å5°#û?¯çkýÙýÇì-7'G«Ñ@{*ºs#aå(÷ÿÖ~Ãþ¼³
¿äm²âFä¦SÀþnàþàYæJüZ-(Ä`4«È)ð:ôÿ(4>óxîÐy<ý¼É«°z#óÝgµÛ½KËè^ôµÃºYõ#&½çÛùÿW¿>°ôR::CÇNä7Úu>®|à´ÎQ)û×l¦¯ê#2 T¢púÝúù}¥d7P`Ç]ìxzñmö¥£nê`¸ùÇ0ú"4I?í*Æ1DÞ#õ¡üý¹¶éçÕM Ô?Ôÿ¨±M×ú-XÌ×ôé|LSÔÿ/©Ád>bâXPF^ÿ³äz³¿Jö«óït´ë·Xû9WTèxì`9ÊH¶¹í{8Þµ7ð#%|ä¼96ýWGÕONÃѺí[TJä`MÒk¦#%ýa8Õs!è:GßM{C£úðVìnNÏâ¨ö@á©P«Ä9PoPÎPR3ÉgáÍÄ)AÐLÆc´[\¡"Jt!5AÆ#&7ñ÷SMõóÜéî4G#%°½-PPë×é)K#%¯z-}ëöêÆÌ{Ù|*ïú^R#%ûõ(Rð¡T`*]t
Ö*üJOùõ`ÜÖ¸raÒ h2CM`c0ò±ÙÛ%
¤LÖSa`£>7;9CT»r#%ØN&÷OkðÑ@¥6ÔÇã¥ÍÜÜÛú9]V½Û¼¢²ÿ~^éûFi;ff#2ê¥,#Átò+Àëï{³àKe(Ö½#2·©èÎݺ¸'Îü¤þ~¶ØP#,3|;Ãr#tgçùqeõYÍïj~âieÄ׸ÙðfNÃÇep?»O¯AÃéÈêjM;ùU©ËR¹%ÀÒ}·HtSR«ÚüºON\qÂë×´®¶#&"墨æ"Úh£1Iá¿Ï0<qP7T,JToZ 9k}.èñ#%~ªm#&¥Âÿ.oªJjç¤y¬à:÷1ܹÙ"^_<ùqÔTð"Â-ÓÈÊժͼÉ/ã¢=Ñ}ÃMÀKúÜ!DYPùð¦½=ý[¨í£Pï¡ÇGcÍ5)^¢?1аN9#ý}]µ??ã{]¬ÀÓ¾c~ð¹#&ëÄk¦µàñÌÃa
%¿©±ªýGK1à*Òr`ÿOÜ=:wykÁ·1/öýÌ®x#H=¸é=t/,Õòoó12Î[lçSöêjäîÓkbÊü;q£öòÛaëJ,e~/¦pþ#2OâÃÝZõ$¬&ê-Çç'ìtôGBmp½'{>åÐõLÃ(Õemº)w¨c@2¸<ÊwªD#4JP¢©/ ú±¨G¹9ÓièزӦp9vÇãºÔz3±.ñGK8Sw§´yD1Ñ-l²4z>W¸ùHBG3¨3Ù»Ý8dVÜíxÄÖöz\æ!E%1¬+jf¬w¢fOwÒãÕl²[>ÞÒÝpS\gx£²Ñ¸Û [ jZÅff Dzq;ÔA*to#&<óDKਵ¾M#&Òã~¨_¶¢ë_ìã0Ϻ(/×9ôº"ÕÔ¥mgj{9jÖÎ ±Ù¦-Èjó×|ÝX"Öù³w6óö°º½òÈ*ÒÈMç2óx}¼ëXCtâ#OØß=|=X LJ6SQN+Ô3u?Ûd¥1JÀá[²3¥¬Ï¦îînózÄYi,'d#&~éî#'e'%]|}ñÒËíí\OLÕÙuDuÏoo<e·;£ÁIu.+#%·Ú kñJ±ÍqUibܳÍôZwM¤Þ1áÈd]:.!ÓN~Í¢}êGCfºåæÛÜ]q}ÃÖû´r!ÈLûjºRlÿîÛìa`8@@B¬z&#&s_Wc¸s?*!#&ÁØy0z+c*ÃfV"çóû±d¹ô~VÓaú7~2Ëå]ëëÒðhÝ| ä?,\YgÞ³#¬}ñÿkä¹~¹nZôù¤û~û[æ)Ì(j_´é:CtÃWµ¤6´í6Jæ;Ã6æYþí\¡·Z9Ú`î}9ºXîùÛÑÏX.éÇcú@LZâoSQy;g¿^Ë»9B;@ÒIÉIEnJiáþåÀN¾¥
K:cÔÏõ«¡¶KØybêá¼û;pS;væ»@®@H&âµ4=¾_?Õóëp¬·#&àGávcL
¡¦ÛÚ¾ºÞ={ªpy-Qc¶ÑXåôèêÆêS\9gåºLxÐ¥W..ÿÑ1&ËÆLi4ìÖ<Õ©V*ª1§ Na¥<÷¤ýuïO/]úä0°*¡Æ!6Iåû5
`ègñx¼*<Vi7°¨~§ßú¾$!¾³j£ãåÀÐûhí©E©æ²ä
-ÒO'WfÛüâÛÆÒB*£ßÂt}ú¯¶#&dj£Á#%Kïïów£¨#&äZ@bQDÐ#ÎuVϺðN vµ÷IDNm<
¹0öÌ'_Ök¦Ô½á6Hdû!éÀpã¼^9e!$82Ä#&f®õñ4þXÓ¸#2öا&¬v#«²^9j 5bíå~Ü·ßàÓuG¯ý® AS0¹ö÷´ª¤M"Ü{,YKªp.¢'¯vJVÒ÷Ø:^ðzmVÅýü9ç¯Ë±ûe´è)|'NûîÐpàîÚÐDIJF£Ä#2Xþõ#¸ ÆauÛ$<§¸G2²R>6^Dg¦ZªÕÛÀÖ¿ûL3÷¶ßÍ%Ã<DffQ+%}3QK×1Àfr\Íì¥&TȤÕÑ.Kèhæ7j;µA=£áW'¬+dtíjd.e#2#&j]ffíê"S#ÞÑMÂàÀ<k£lÀïaÄ÷È5þ<#4yÑô# µ7´R.Öóùí¾H+dÂÀnI@¢@#2h!Å£& 0ÕǸáTàë #2\Ò9ñêògNÿ4m=Kb×a6ÜIÂv$^áïs5ñó\w7ÊþbH©;6Чñ«¯´C_xdK}Vc*×c¥BüJçlVkûäܹºOy^¨©ã@^ó¿£ÖúMSp"ýJ\ÃAùÀq/b÷Áj<Ii¿åä{CíäÑ#%
$9¦ÏcÌPTlÊùñ¬Éz´#&¤>}#2¥GØeÛ ]£µÚz
¶Îî±£ðhõÂn;¦²áu;¡b¹{×x</=¬åsH^LÎ7t2¯Ì-ïöö 2ªt0!&RðÆ;ðUÚ6c1} [cëE(+Ù>¾û(¢Ýa'9úJ«`4Z¢ >P4ê ß~\KAÔ!nAÎ"S'#&ORNN"ô"dÛzòÐѶ*ÍÈ$ǧ¦L#&h´#&¹ìì/!*a;Ũ#%>ÌDK¹¼ø±k#&·-½@1#&FDtu>Äm^û%a¬QOf;t½¬QÈÛ@X>h¢Þ[®7κ/¤¼_V:¿nq÷=ø¿yõtsÕ;¡tY÷ßߢ¨hCç|ħîÍËköc¹ÖÃA»ÅwiïéB&þ£Çí¨ÙKxÄ-âà1º]%cÙ¢t<æÐ#&cÊá thß<øw~Pp5ÕyG«ûfÍ¿V±¶)GÓ£PávûÁS<»;I¬@"RJk|z¡xÁ2þ2Ÿ¸M=ehl°³©½0Fó0G',¿)jSàkÍ°_ׯ´:[a ]épÐÜlOrÎv@0¼ñIqÆÄ¥¤á[q©[ÅÛ`&cbxê꺬pQ~Ýpwõ$ß××Ö«Ð^¡Cf<U³xz¦9Áßã×¥¡»#%ù<¨¼>?Qo9Âظ#&pÀCIáÀ<)Mg¹pØxEáÃøÍF'±Qn#%xTL9ó¸- 4ÜüüýoÂxq8Yx¶@ØodD÷Îí§_T7ÃWƼ.Z¨JjY³\ààÀ¾³r.ÎrxïQ7(#%ñ4Á㤹YW0¦Ïé÷êÙ÷ûþ!ïóoÕ ^GBvüÎ_¤:@(>#2Dÿµe¡÷'ÊÂ*§¸üa´eÖ¯ãëõiT,»($"µ Xg©"àÀ¯oÉÔð¿-ÀZûñÄOáóVÔò9Îf»>íà¼ÚÂÌ#&Õ£N'Òe:ä®Ï÷¯WÞά¸~Ý?ÃÀy³Í,FYCòíÃ÷ÛCxÖ×K<è(,DüF?X¢µOÚ1ígc§?æX·×Ú/!#%òu;ÖäDj ªuB!:#2ãe±þ¦{kðÿ ?»ïÄ?wÃø¦ÂOêCúBõ YÁ#%._à¨g$«ÿÇ$©?ÌÕT*¹ýĺA@íþ]jú ?éa#°^ØXá©8ª#%hÿM¡0;5gúÙüå¼sÖööXà}P»s·BÃo÷MöMK`ÿ@£õN@v£à2èêFÛÏ´Ü*jPLÐØu· ï:F\åÌJôæmIëðDpi¼ñÜ*ðï½õD+Â/ÅJ0T6(Ì%®ª@Ç ,#2`cÁ®b=cÚÀë÷´:¹Æÿwü_Kõ/³ó
Q®ÄvÅj+þ1T°/xx@»ÄbhZGF¹sù.ÿp_4Öfm+XXþ7ÕöÊ\¨çú¶72O@ûWëAýù( ¿îþÖwövÚêoNvO^Po×þ¶wüî8éÏbÍRïô² |JôqrIÞi«ÕìÉöÞ"8¥Ä!@#%¥bÖ¢WÒ®£üïõ}¿ªÛ9z5¶²Í@{*QFÎ:wõàÚ;ݬæv]7æ-ÇñºA%Ui¥¾ä%ÃêHò?A¼Á!jJIò+|§o!|eô/r¡þá°a<BÁ#&µúOî.Þ{&ýTZ4³¥Êtcw$ÙHÝæ,ü#&@ÑÎÁPë<¡!°gNs-Áj+]m!²Ô?Í<#2ÃvT§U£Ìbÿ+þê\nZóüÿ ñ¼'#%æõ'QȸåÖÛ°bÐýä^ÄnC`ý¦÷¬ñ°¶6EAºÈȺ£"H ÂÖa¼ròsØ\c½iJ0!dêõÍä®d'Bõó\Ç)Ù®Åà{L6Ç$ê0ëÊÓ¬7§×ïH+Psé^«íúîNïîñïYG̨J°;6ù
þkMúhP¨£P1¨± F2+úKjËþ¤?.@ÿ ];`à$I¯ÓQÎðþvWù;õQôa$UªhZ{0IùàïÁØà_çM½Ô\¹¶DÅ®úÅôB#&nx§¾âèwïú-¶mö4ÿäßÎK64&fI!>éõxö'AßIJ÷ßé =r«ßo~)¨¯Ä#&oî»(ãÓ>^óöPdÈÛl¬YÅW©ª\æ'Þ1Ô8lÇx>?×ì©cdçuxNÇ©údÿ¤n}8·¢ÿ¤à""1,ÍNRQfKÜ#2#&æÔý¤¨}=î.£OÃ÷T#%üï)L¿@ñ§yPITÂ%@K¯EÏYµ½Î RDЦgüNÙ#&æÚ,_êyØÂÕí|û.ákSìzþü98é&Îñ[²I`¤*ª§tI!^í_§¯ÖÃxïUר}ÇP¦Ä}®½÷ï=f[ÞTÏhkykQ7fôà7äe#&#és»Ý¦¦aØmEGr9«o|Ê~+ò?Âs6KÀìÿ·óo;gÌì<¥?(a~«ø ¬ºfÙ/ìoÄbÓ#5ëQ×¼üÆ6O®ê¯PAÔ
§xý+O®pLlC§gçÙJ©ÏüoÏ÷~ðÐÙÕG¾D÷¶dIgB ³ä;6¤$xºòÆÑÝäÜh 6?¶PÑú$¿Ñ«ØmXÑ¥A$`ÑF/Ë.sÀ~9ó#2KXPñb#%À64?=à»6ïD½ÍÞQðòB! £ 5>Bý¿oü9!³ì~=¤#&4ȯ>¥6îÉS¨`dqC«°7K/9-Eö V#2ûXd#%êxïk #%ÔOÎ{ËÅØï·;Ý#2`k|X}s¼Û&BØx .³t*T GC0¦ â)#¢3Sy335"ÓgÛÐIÛÜWÀ32c6D>#íTQ#2D×[áÁWÐ5³Êâ,{^äGGó0å¬Íéa(̺bÐ5H#2d>çöôþÃíêÝrü2ÈÀ; Àÿ³üÜ&z7þí¶ ï¼kÁ·÷<8×O^º¤Þz$Æ61°lL²K#&_öÿ5ÌFçfKK½Fá2¢WYY£Y§2'¨6C¤k9 Z]`Þ:Ë2¹JD4Y¹y$I¨ÓX¤ÅLÖµ©--m´ó5sVZÍf=2³ëÆ]CzÂÞyhhk?^7#&áºXõ¬ucpÁm,YPJL«ýLv}|
FH¨$ < /Ûøh¥âLàK#%2*ÄÚ5\#&Ø'&çSOÅÞÔùº§ÙëzçÁhàæýk¸KÕб¶ÿL0h(E,nʸ"{!øÑ@O?OZ}û>q§#%é@àZi]ö¶Cwl9¨»HH#nù´»s»jû²ÞyNøÄBÓPÚAiNúdN
Wz»5BÊ)62N÷íƱLñÒôµUWÀ«lF 0JbF1-QÕà6àiÞ´Ûz½8KåËY¹âSàwÆ'FÃÎ)"¶ýQ{ÌÊÁõË¡îÉM¢z7ö
¬Y±¼é|̲vò©|¡Î2#2°Y¬_¸÷
N3v¥7(4¹¹L¥R©Rß>±Ãão`>Pâió}çÊØ>luþÿÀË#þ®ÊDóííi%výek£ú ÈÔäعÈÂBoó׸¯å}à[Yq+
>Á
ýÇSåÙgØUJ*JRDSM¤4ËsS-Òî!lÑCtovkK*YÒ#õ|¾£vÚè#&í+»Pÿ:[öDâ`~Ãð^ÒbZ7CÛ&*æd-CÔN²¸Fmïïf±0/ÑÊÂêܧÕpäF ]Gùâú~0©ÃéCÌ #%BùÝîúÏuçö_ì¹7ùtöè?ÅÏ ¡ðÿÆÍÙë_ÒþYÂJù·¥êK>Z (ÚmDò,t>,ýâz ú>×þm_=Èí9Ñó^-PØ,9{ôMdPÄ"°Cëh;ÿcÇkàoº{áÎcr»¯ö?YÖ|Â*âìcýsôìvlïOÀÞ!È;À#Ü)ØEJº;ÀÚøv($ÄÍ(Ö?xxØ"=üúk·ÁÞysF±è=&BV Î<#%îõ¾J´ÿåÔ=äÜ¡ö÷D<
ÀIyÖ~ ³_á9
Åî@Oi@&ÏW;á÷ènwñ0µ|@äT½ëâ©ïj¾°*_W2ÿv^ÂÈWȼ/²+û¡_Aõ¾¹6{«æ$ K¶F¼?,®÷e¨ëúA|>¸z>%_U¸]MhzÍ@³óÄdIì@¸ªzÖúD7¡#2±Yè6,Óåûü)'ÙÖ#2uÇ`V£Wo2ç£é(êóh¿nª9QZÌËÛ³ä2¹¥4©¿A;ÕP+ÇéêÞÀȹWÚzêJÀ`5/i¿×Û\ìmcÜU~¨Îó¥}t¼:l!í9×#2nq`±8²Á̵|oyÇï:&¦
#&"·õÁå¥!÷*È
êDF)(àdÜYû jªiDáÃcXUÑ1#BS/õÒ¢qÙØÖ¡Cn_oÛú¶½²¯[ð´¶ v×Ìç#&Û¦&%f-ur6Ñäc{ s¹é+n}\=I³CÌ"¯ÿ!áªg2$$Pûü-²SL¿YìOÔtbXÔ!Eôvæ"|â5\(.Å*\6;¹#%yÁ=Üý/YêDñxÕÔjàìßÂs#&dñAí6û#ÿÅ-£ÐSÀ¦ÕRÜð÷}Oü¯¶¿V^î©|ÂþXq{£Ôîný¡þËlòq&$þéQGÿRP¯ý-H(m[/#&**ÎHÃ$n3jT¢#&TU»0?/Sð=Kæûnò~µ09ÄâSö^°öhÆÉV·¿²ª©#UÌbgìw.óSÜD6{e#2À(rXúàv>_Q·ß6s Ò1ª$$"B %1j|ðN'Ú_$\Â(n¸e)Õö4ôFü´]ú¯lSòÈí»ÄÓ¦¿ïæÙ߯'z¯F>:ÜfþÁðy
#2R<Â
BÑÃè"þÃ3è fK»£ÝãÏòM1GòvîÏÐhùöÓ)¯¤cøÍo#&Rî\¯#&ê± ¹ûëbò£¢¬°#2µ2gÜÔ;@ýqÊf Q 6Mc& )1qI<b. R"QTÍu(&g~ÞAÑ5#&MK_×`|Ïgq§µ#24#c#»¿DðÌÆee$Í,À¬6±
$tßj6' ?îÜjS3XQòÖX
u£AbWñ¿«rÚ-s}©ÆÖ½PCµ3-=ÿJ1«ßEU
0ÎÒðÕî6!Fi¾]æ×ÉF¹Ué\Ý#k]0ÙP²ÙmÝyæ]<ºçx## ]þrq/¯ÏìÎ_àÞ=e_ñ[ç¸õPPo_®Ö`È_¨ kÒ{ßWÉkv$r#&#%í1Öm6 )²¬T5»P±ÅRÈÆ#"0PÂ
8TC!ÎM¢ _J8©ak1<¼Rë®þfð4yeÌáy×<
à8Bßµ v jÑ»unOÕ>RN5Â7ön9Ðò°àÞQÔGÙ´£odB·CIË;ÍTì¿;}-°ÌmдÈ8#&l-¤*+ê²3×û.yyäÖÉ;0'Ò³)1%Ïq$OÚ8n LPQEýë%Oñü~³ì`/¸ZV¼¼Î6)î÷>«§ÕáQ!Zæ¿@o}í¬zjT?"òclþ´MP´*ÒÓ0ÃLa©ÂÂ0r!#&èQèY%Y$õsî`úot38vêÖ¤(STO,ÁA3Ô)BHqÃYO¡¿ñãE!ó M¡9dÔQòÉÉçÓüÎ2 òUÙ±HT!Á5`D~ (|P¯o餴Ü{u£Ðgr!¤ÇW.®q(c÷ÑGhIGbOÓCõC'«£åÚ¯¯úá#Æ\iO#%²
t¿ F r2søEdcw3Ñ`0ep$XEççº6hn0ÙÁÜâ_í#2Ïíªãø ù_ïÅ*ØD\Éöã)v'ì!OôúÏ?´ÅÍé×g{P>*Gæ1(2çÃAE÷WäEïÁ^a+.ª=Y2_DáaâN¡"Lb$¹¤1E þ*þ)pû}9@ó9|»:ÞÞ-GÁHJNJ´RÁd¸¸8 ûÁÜlvènXg1Ó½#%Ð?Ö;.çì
Ó£wi³z<`Úg½^Àû^A©l×îúì¦=Ôz:Îé=º©Né ÞóÆN;¤°«pývA¦° ku<Ñb¦æë¶áªtà`xê"°ï20BÆ}(-Ýò"¼Ênòuúù¡Sá½T(8ñA T)Ãy}»)Qßï$|ÜÓ}äBº¦ÖþýOýækýýj_CHüØIÞ:J@د·Ûµé$U$M()bC&Ó[b$ch
ì)ã%u_Ó[Ì9Äã,â6Á;;
VuÖ¨r©T#+ä½%&]¬)°ùwÞ#2TqrÑØ;yÇØKp½ß#%|2°wøøvàí7Éìö$»ÎUÒ&Î ¦°WTs=@}{ÄfZ]OAÀW¼ í.½9sâìDéÈ#±0=:m ßn#2ÕOõwcx>ÙÄ#% q!ÀÞ¿Ëlè´Í[/0sT4¡ú©¬ôäon4HGB#&^6)aÂJ@è7Þà|!=aäô(v÷q'4,ò¼Î UUD´g Üöõp8pÍY©EÚS(Gùﮨ5à)<#%_k©#23×nåL¡ü»Ñæ>4` |ÿy)9ÌËÞlÁE.^Ø /¦&&ç3^L}~^þÂÓ÷*[& ÷û6zÿÄÐZÓ-´ï¸AÏâê¤Ü/±½Ìçø]£Kôm)À¯Á¯Ò?*ÒÎ[X,Ñ¥'Ómþ~ÚSg5[ÄÁåþ»ý0lìë+ìãXÎ#%sáöª»gö§n?*Ú²×Ï`Ý¥ÛúXdÍÎçÂTÕ#% »$Kд³7#% 4ý£õ2Ìvû0ÕÁ:Bl¤¨e¡¼gdÉ° p,yP*Pý±ö÷*÷o6`?/ÌÔ?##,`²#ûúEàêêÚG¡9½© éZ#2ö #%¯#¤àíå«6£·çú67Vdô®¢Ê±yá("ØäWÉgæ#2$öèdOÅI^;JÔ¨vÙcʦÜ!Bor0Glìn7â^õÂ9ìLÀй´Ø+ñø}~pú\þ»Æ}²dP¯¤co}.ë·ºñ»u¶¦úà3t6ËnáòqôYºÈÀ®Þl6Ñ¡gE§ÍdpÖ±x.Rx¶"45?Sêò#&®"}%@û£DsO(ZÐÔÃav½R144P¹$dcC4b½þsö:äInî²ôÏ<,H$VîÜPóõøzÑ)]6°ùÞËOgí´"{¡!U~i`jwOQõ:q8(#%ØÉ}ÝË£Àð8¦@í¿Á,à?Î]û#2XÏÂüZq×=@ 1$Röþñ?Ôvn=s¢ÛPùAÊ·cÇk®î쯫ô^nï$UÔþÊþÑAªûLLålØüûWØÜÜç¬XÖ׬#&´õéQóÎÞ`ºî®í&e6ùPÝk$ÜÍ?QËþrn,o;Uå˾¡) ì.§ëÃDÌ.?3¿2EûæéîÓ
#&T|¨çVáMyÐnrnK9ag]áô@¢[Ëï0Ýø(kÛ~Âö¬¶v@é«Ê¸|QÚ:×ÏZæÈcöBFsÚs¼Ë·»QÆ^q«þíGÖSYè#%÷ÇOçÕØkJ¦ª]\=«Úh|û®<dØ}Ì(Uúô\i5N2¥À¢¤çæT,P@X$àY²o¥@' @?É|±<#%e@7ac'?¯XP5Oä(þôþ&¥B2þ#&wgÀc¬m$#çíÏbîB$aÛî³#&ÓïÆ söìézSôúÐy\tèý¨}J?·oYrúGõW.h¿ÌåFî@cóH(y_áûhNÿÏ¢&4aû2 MXá&e²yJwm»ayxå.C*È~a"Á#2´+5ì:1Í'$WJZ¡E`<50´3®0<Óÿ#%Sü343R£ÿ|Ìþøl#2Ù¼A
¨Çýü{ ±?É@Úuzf-C[cjÏ;l_1û*ÖÁ¾LUø¡ØËE¶!Ø®ån@? +³XxC}ô!<EÒò ~%3öÿðùéÿ.ÊìåcÄ̯©ªôÙðO»@ýƧYéU+`¿_Û/R&@£$èsÿyÊ¥`¿Á§ö³9µÛûY¾CÝÝgÀÓoN¹×³¯<Iå?¡PhRZ,Ñ HUQë8< üDÞ{ÚÖjNÜH%E®j %ýÿ#*.Ù×;ÛOéNb+ã@hðv]+7·«|oÖ·föÖc%iæ{Ùb2#2-?DãõyNº|zx_4j2ÊMÙíÌIý|N'×÷oø|²¬p»¿æ|,ýÔ0@6C«0ÊB¿Qøp1LCH"Ô "H}Úæ/ua-Uéùa?ÙºÇòÁCïù^Ækë¢âÆý³î}*
#&ç´¬þLÒýfîç0xé¶Ø4 Óz<vûêWC$sÿGó»0|:o#%øðs[Äü&³tL²L¹N{ð×6ɾ)ÀÁR88hïõü ñ6õ\F¯ñiËa°aúïLfë9ÙmÚíßÆxjt3úbºº·üS¶}`¦ôJ&·±ê)áêvÌ#2ðìä6£d4Éfg¼È¥ûð/Ѷb´»¾aM%Ýú5à<éKO~̨ôuõ?ÑÎÿCNón{?Öyâ*FèÅXÙ÷xUüÒ{âáGzîC]ÁDÅVÂú'/'':=èRá;Ø£
åòÃÇô»Ôt°àB`Cß »þßîì1)ÍçéT@CÑCò&øþ¥º¾Î¶Èéý}õEãs¦¡*¶Ípï|ïíÁñyEðtx~J½¶í G¡1òGÇ43D\&V¢`SÙÄ1goåÔuâ÷k@¢mµÊ¡U°6öÈ{ðÆ¢Cõv-»
¡ô3U|\o\m°ñv0UÿÔÃ(røã{à=.¹QG?ü`£ýñËä~&#&Ñ·+5cÓpÞøSG[#%û²
A#2ÛDA¹ç8Ç#å.ö:³ãí÷µªíwî/GÈYgi
@ÍÓú%½Ñ?<þ#&üä(èãr Ü¢NúÊq}ßú9`®l®#&`¼B#%ÚÊÉððÑu5ßDI^õCN
¢P'«%¯î½SuoÎÓÂRÓW_ ÑÍà @uTfjbUëuúÇnÀuÃ/Ìñ±Ö=̶ ·b¦&êÍ8å¥S7~Þf§UL|#*8ï´ùi6íàN³ÇLâg5ÕýÛk¡f}ñ8ukISaÙ²z»gÁúʯjÌán\ݱ#%<4¯nÏ£ª0h_{= jkÝ& hl+æx8I³|^¸Ö¸ª_(0{`Rç(8(Ýb¡#Ȳl#&|2h³Ã1I¼\0'w1#&Âh]ÍݶXÈÆuàCÓj鶬vÌÛ|·=nyµ©Âªz!Én#2Jbh©4¾=]4@Rq£Yäµé©»ªõÓlIL*°±8ÉBب=FÙ
R9ß±P.
°ôlq\g]¤ÀÂÝ_ë #%!À|Ü>ï²^¸# ÈÄTenÎÒCß#&ÏÕ±T=^c©\$ÚÖþ¢ýüÓ|1¡Áñ0ÎOY»¾oz ë"ì,iQ)7µYbÝõÆÊJ¿ôõÌeúè|gËÏçw9×O¨Tg¬Ùzú[õ§d¿Æú{ù,òçÎö¿íNï>XDò@ÂÀìZ1³ø o£G+ÇøsmÔñ}F-º¨Èä^P)ÈQ*@KN1-:m²#&#Û¦p~TÔ[Ä£§¾N(ÇE¿§¸wû²P>ú¿BuvÂ÷ª;öù@á²"á/¦ëÁÛÆßW5¶#úû¾Ó=víôèxWªÆ ³ªó>ºÃßÒg§*ÐÃá~½As@qÌÐÙÓÐW3:37åÁ]¹ ÂÈ*XóùþèþW|r:üöØ/YÓ*li"4{º izvñ÷ïãëºÁ/6ïq'¶j[Cßæã¢W"ö£(שïÁØ6É ½ï¿»ÇLcãx4.ݦ*dÌA° lÜûi¼ìÁXÓ£ËÕýɳ²Z <ó2î{´S2A¬W;:j¸Vqåqåäammg 3! ©MÀr&6aç ;z3ãlättâÖ|-Ñtç½²Äi¡°¡9qeÝÏQØhHÉTÚÜ]VHòç/^¸&ýr6-ib:Zx0j~NÒâJIQK¯èï£ùß®t%£¸²èy ù±ÿ?û#â÷Ï»óùuGõÖv#4)#2óÿÉ8_û+vá4¼þhÓÊ"Îçóýþ£#&ýP#%üåçl*Wßï·SdDÍ7R~Jý;\?wÖþéN!ÈoA@%ÌÄ$?à[ΪªÃýg¥u0`?1ÅÛ7ëv`Dç °xèmÆìpÚmðÜKIÁТ4ÒR$bF?ÚðOç²ï½&×C¤¦¨áâi¸ÉâÁÎLÚAÀ8è±I-Éy1èÌQéX2]d&åä5p.#&Ç-µ¼ª*»ý · ¨ºqíè87àáßÈçÀz`<¯¿²ô¯ZåHJ; !è¨oTÈÐ5æfCS+fa±Þpÿ9°¤DUc¥RµTª5E6°NÔñ3@H'g¾¾,U-ÊèYöÿr'ë'ðAU@`cUî;gqV!ãùÏ)££¨×Z-ðS-<ËIßÌ¡xòîú
¸a>ÅÉ^¨àfë5úvÓVh¦6e7ª¹Ã3¸pp3h5#%a0&b1"áJ5ih°86@ß`GhÑsvqôq3XbµÚ_`í7kÙ¹Ú@^;#%ÑyÞªò@BTXÒX ¥¹²}'©7Á<Nõ#2çÛå#&?Y!N¼ûy5±rýMîäýð=<5Dj~xýníôÔY;·¨0N%C<À
øb« "+FÎQk$h.1¶L´J$#&D2ã1^ÀXX ü}
* Ô"¡ýîLÊþ/äþ§µ½¥ÌÐm/àÞ÷X^V6³ÓwDuÕüýwKïÿ>¡ROÔg½µwmÙâ;ÎàÈÞþ×ù`DòScÏN© M$ÎlåýݶþòÃáØ=ª±X<£üó¯igÌ:áRK¬&¥ôê´lèrÑ#Ø+VBG=W³¶¬#%õâ§tv÷¼2H#&£Ñ!ÎRîY¸1SÁ·èl<@fÕGÛñõ¬ãÏ ^l8ãM6¸©çÒ9Ö"i1¥±¨4CùÈ©õ5ÐMÖ11ãã¯u·{·ÅÜÛõåW/Íd¦`[rlní·`¶ñ5º(KZ WwÔW©Ý¢à<Tì#±ÒRdDýgxÆu#%î3æå??Âô°ªµøàSqÕh)´Îë&D0aõBîÊUâhj#Í.u;LÊJ#&+»ÂÀù_nÕ5waU#2o«¥â1°ÉÎxMBôÂà'¦;K2®e\n¿3DßTÀîR´£ÔÝkyÝß}Ó)töLËE<BE¶u³ ·ÅæèØâr[,ë¼ÌâR!ñAm¨=æî»4Jm-Á¬é'vqaD2{÷màó#&S£E5ËØbP¬TRòâÛ¶'ñÚ©ö8L¹#&GyuzÜͬ,&XÝÍPø=SF¾ß_·QNÐàYΰzLÆaÏÇ#% (9BDîÑ~1׺{ÁT(
(T#2@!Uf-,7»<½tmå1Iö2ÌDZÌͽ¢òñ3l>mÜ=4kÄÁÀ&Eï¹H0u¸Î&sZw,A"»¢0,7 ¹8ö³2Ç"x{xø ÄHFüEÏF5Ïx[)5ÞÃD&
&5Õ¶[%C·Ô:°®¦ä¹¾Ê>CD8ºè°®ØÙí=OXP#&Guìb(HùÀx±éz!hÜËó:î\ÌkeîÑ`¢=¡fN³yªQgvò1åN!läÒzgêo^ÇÙ·/f g¯Â?#%ô8$û±!ÓäC=c¼Òl"#&AÃi8å±3.Xt_ag%Ádé
9+kø!¡´UÙ5\#ë¿ðª@8ÂLSá<I¤
#§MGGstØ&ðºSl* z0îK¸àrwr<6E©b©ì*é¡Ns¨ócCNEJMÍË>¾\¦Ìtîé$8#&K7a³mbç$ P $E$¿¸/½a!qáVjémê´»Ý"w¨#&r{÷HN´Âí&ÔÎHT ,*¡aæ#& s¼AI×y´¦6^±í;1ð£97ÀéBDìbwàâq389¼IS¤QÊÆJh52HN_C]àLIÑÐsÔ®¼1Å¥¡ËÛwôæ¦`Æ[yqæfL¹6Ìk*̳2IV;fy#é6«mõÖÐسFòUO¡Ý;Y6Ñ¥JúûÛÏG¯%X´ýÞ[ô²¼ÙÜ]¸Þ1r{)<YnâÜõ÷t#lrï+Ï7GZgHÜvß%éuêÖ³}11OG§ÆÙiÎA¬M3áT#22¢AdL!#&LáôæV·<Ö»5p;wf`AÏSA¦NÝRPV»væJMñ'_p¤»X( TPêX´TQ/ÎL=ýO+´»Ý2(òÚµ#RLAX³3¤Ä¾Ò1eaÝbáÔ9k/æÐÐÉUk2ÀêëÁéë#&dÓC°ÌG)¢ ]«¥Áyé:%ÿ CÞìÎBI(×¼®Â´U6U;â´ø@¸|úÎ5vÑ|#%Ö«ËYi(;Ý£ntïè*¡È*aÂT¸6§rYR==RæZE³àN»tãs>)üo#&¢sÓæ ºò£e0ôïkÐCðüGª$pLµ¸scØFz%Ù ?ª5m²Ý3ã}´YÐ6¶êÜ2ð<ÔÚ¸± #%°Z:õ±Í±å.E,>N4ÆÀúW#&'¢{ÊBhpQ¥Eèqo2eÁºÌªµBZ&0!ÖƵì,&Âhk3ÅìÑP
ÿÃ#%9õn"ÆÄÔ u\¡¡i/©D¤Êè<ðS1Ò×G$ÇZ!¡´´(Ã'²2p^ º}Ã5Ñ(0¡¿wwøFá#º I9a$ȧc0Î7(Ê^rCù~åÓ#öíïɦ{Ø%Æä¨ãºzÉ©««Ú#&o8bûqYª.®bMõ£ªÑåaÝÄÓqÕRd>lJ t70Øn3]BÊ4¢)Ü%.Ô(oãMa!}ÔébȬ$'ASV=¹NÏ ÜÊ C@ÂkQÔ¹2XÈRSU2`ÌFA¼]ÎogÅ7&»Ó6ínR\00SSs¿Á<â°F2õN;@ÕD¹â»ãYò¾@îW§h7/¿&,AÉchlÕ3Þßá& @»ÐYAÌpi$M¬äæàðqκ#2kìõIkuFtú4@ÞG¥ê,#ÖöÑ×ÚEÍfF²ÆÅê =%¶ÊN Þpð<hq(U̹QrM4ØTK¾ô_ùCeI'¾h¬Á1¤êdzӶYÎíÔ·\í"b(ªÝàâ|ünÌÜÓ*&Í©¡&w</nÎýã1îæ¢b©MÓÈ0H òÔÐ@!¯SÌ7NF7nl«$À%¸n¨ G±@PIúúÑ»#ê`ÿC§ê#%Å#&!!#ðÐþãàE§îk«DbY'ÒÎiαvÈ.-úÏ´ÊfIFƧSùCHóçëg¾ úní²]+<2ܯÂCÎ#2¼^>0ív"GìWúüHhÆDÜuf3Öø®+ѽ?í½ÅòihtÛ:wsÈo¦òɼo}ÝݹëAæ-+ICÙã°37ÃòÄïâ»- YN. c6CÂéØ (Q6ÿ,ÞBtª(#2zÀp*BÁ@ù{ýïN)åpWZä#2Gs9éþÒ=îCÿlË0ÿ»þéÀC¥j+%»û+ïÚéVJ_ÚßöíZ§©u)E³6IFv«úeYGgg÷M!³Ìþ«?Øs§ãëïWó?5~üÒ¥´ÉT¤LJÞÝÔI¿mÚfÊQ«}v¹á³ ½ÊPE.@ª»m·ÅI ¢OÇù»ÞõËV-Ϫ#ÅØ*ª*_¶Ê x¯fwöòæHC¹bz )kÖ.3½%6þ¿â??ªHjR#&@¡úGÇu j{iÐÚÀxØçeKôÞ'kå²ñUË;I$!«YÀzá×Ò)U#&Cä×øÅ" ÌÊ
VÑ\rUGëÐõB"@æ}S×.S@}"Æ*X4GZ#&ÊÃ{i#&¤`E!@u6íëPb8&·wùÍø¸¡È &Vä¼ó¾¿V¸Ìî¬]añr©M8SQH^+!#%¬Pº580.HÜÌú["-Ð××Úp¬¨ðËçcïÒjqH˱Eñî9ø|nÑ¿TJ*ºüBêÚ sA¤Ìê dGóTù"ë~ñ)@òæ4né®ö@Ü#Äÿ!\§Ïjõg*2zkâ¾îÚ(è#%º³8AÄX":mé<UÝB #%A!)#%"ÈwÀvDIª¬VÑU[4ÖÖéVDUàcõ= 'ªÜ¾Éf7*4zd£àÂm¥ªJOxZZµËÅ [@`ÖÂF#&&3@Àp@Ø°²8ÝCý*<+ù&½L^+ÑRH·«»xô¶æõ7©¹®Ä¢îí]F¹ný~y·¦9ÑÝ\ܲVWvI|ºuº^r{øÖ¥¤Ô¦Ë`ÔHÈ?Þr`¬XBH£ð®Àç#% í!pÛû%5,çá"xª±êÇÈ9ÙýG§ç'w!KõQ¹qB>Ll:#&¥ù§ ïyîivU¤{Ë|½5 $`òXÀwh.Ѧyg t>µ m Câ$
ò¹Y6Æ5ÿÙØZøOù«o÷ÓÁ´TÉ#2iR #&DFDQd##%`H3OGFt9XÿÓîÇ!-Ø#%¡yTÈïjÍgy诬·§f#&¼çâñ2Y8°0!lyW8Â&ÌMuBÉã#2"³0¡¥´4ÝJÝÒÂã`,\ÿS2!T#&´wñn~9Z¬=T!ÿ(`§*ì?¿În㿼¥Ên#&"BnôyíÔÓîñúÃnãXC¯ºV×}í$º÷βuï´z;[X~ Öèò¢÷~ó·Nì2ÿ//pcÉi\¶âgâOÝý¸x¶ØöÐùÞ/%Ç8,d1´ý31,;nä³9Ù(ëL*O4ÃæI?/qB#TÕ4Rvuüçzt#&PJ:Mé ÕKÙÊy9½Qd°WÝ!Ü,ÍBÈÄ/§$yJøãbõRHGÈ£ÑHï¹!%ÂØ®IYþUVJ"|/ì´ç¦&0ªYÂ5¹a@=½4é\Ù·ßõóD ©¨ÂOémN<ÃÇiJ~0¸{°$lÔ[&#f¬i&Ê$¨Åb³iXmÒKXÖÕl̪ҥ ¢Æ#2¤àp)ÆßT©:!Ç`âø "EAØ`1iÄ@ø ?¥5í7=»luX ×6Ú'å.d(`<46:â¨æ¢#&Bõ-ËÒ_`NðCeKöEP°sb22M3¬ïÑ@Ç
e ê½B$À ÐÖPö¥0ô
ÞB#%Á0±_ _JÈ &j¼yNËtÞ#2¸"íÜ©@h£´ã,Ô7îÕP8KÕQ,íiºâ±ã¤LD¡E5V¾ñèè ÕMR¤b#2T¦Ð]{wÓP(&¼À,$éC¢)
eßs-r±5EjæÜÙ+\¦l)S(ªf#&EI[r(¨Ûô{oÓ¿e×2 qrÁÐ8FEV@ÉTì]J×Áñæ?eï»Ìû}¸·E4ѾZC#.7|\È'ȼñ;Tî»GôÄÖH|aC
§¾CÖ}Ý¿õýÿgïü½íÿ~ÀPòå8o¢Aób+ceÚô§®`TÝÖ½5}mÒªðVü_©
À¨BD|ªªmï}ÇaÏET#&N(^(lã(è$&Ϧ]E>¶/°9E¦éh+ô°ö¿=(W&>îËPií£5=£/ùb:9N¾ûÁÄõPµA#&¬Jb¡ÿYÈ`DH=<qÛ»1ð;S¥·Q#2tó%(j§eðdöÔ5=Ö$©õ[¤æ$Àþ³ãÆÒpè #2 0í&ÞoBs=ý'/²¶³q@li8?á#%Î=õG©(u¦²uô#ý\@Û?Zb;0µwº¯SíÞþ:#%júÝú78>ºæz×#ïz^4pPTê.:M(·Ðoï#2ªkI°n~Mé¯#ÛS.§_zCD{7~-sð®úq Ïç!±ã¦`o».Uôÿ=Í£{þx"ìëê0$¦ >·Ì Ä2!fó±#2Q6Ù¦ÑÓJJ\F>¤ÂT識XÉݵ
)mã8ÓjAçXôæQ©ƿ¯7½í¾Úé #2E%n%Ùc®Âü¨*$ºjkµaH
rçe&<@öE#%À" î)**¡ñ;Àµ÷ºfÂòήf+nßÛþz!ß"Bÿ7¯(iHPjÊj¨¨4£QX?½>îß«ï}8²l~#&»»]Êl$N~±¢8D5C(¬@OÐ'WRxuý>¾~¬Ô[âËÅÕúyAV1ôÍ_KK §ßãVuÐðPð0ö&¼#¡|Á¢W¢È&À#2#%'ÿ3 Q>}ë°²ö¯ÌÊ@ÄnÖÖç¦Ã&î»ÞjYeCªÁwÚHV@ìWÐX{1Êû ÉRÓx ¹Kûß¾E5¾ÇxCs(*ò¹¾9òx'ðW·¾#{ѬÛÞÓÞ<΢`[éɦúQ¹=Ð.: 9µÑÝè㥷;WeÓ¿c¶¹åpçqF;jÌt,½ÇÙ¤mÖÙ*a\£·¶{ëµÐ/ç¦Öxö3CÑÕuQa°Ýº_Quðç\eKa¹çÉÑnòØ8/¦ç[:òm¨4jáÈ3÷ìèî#2vl`ÝúbØÔÛ¾}±jv£4#2#2ÇjÝ:lG×ý¿ª½jw¢ÔhR |H0®.fm¦Q}étÍùXfw»½7N8ìLêyAÐ!®cîq¯gy1ë}¬í
Ç!(ØOQÚAç«y#2}âÒϤEÌоÏMãÙ
âÑÎâÄ,"Èð«ô
Þýè²_0ûÉðø¬ô`hbyztXø22X=£<- ð¯#&ùÃ-³óÁÎ#2t:GPÓ¢îTIiP0 Ã(µ5¨F)5üºß.ßUCÄÍÔdyü:{A(p=èzmCUÐsØ|}U}׸í
<x<Ì8^Ñ´3¹±,IÈRhD°»×%êÏ¡w&¸Ý8W«µ¾#¦ÝW*5'OÑx7,Lnç=lsàrÐôI8Q£µU*X 2zøϯ=òDÎ&f#&(¤Séuâ²#c³MʦêöÖ1=ÞíÌzDP£×Ã{9A0Á1êz2MOéí®Êáè]dLqvÛâ4 T£Ý¬0
Ò0ýklÑüaì(ð]5trU"׳i¼6W¬ìÖ~⦾P@¼ýZ!FJ¨r¡Õ$jhöMMHÚ?Nþñ5Ô'"wÛ¥ð§êGN&<Ó¥d+³6;mNôS5@1¹¹Ùïúo´B#"¾|2õun^yÔH/u@«ÙZ÷( îê<«)ÊS¼KªiZUnÛs²43dt¹²ºº9&µ4Ö¢øR1HÔ$"#2ÈÂ#2å£!chJ
!BÒSIYûÂä6QËnÌÉaUKHB+¦õ[æ^×Ñ¢ÐÔÖ)J³*A6¿ªv)¼8)³JcJÎ×^Góçﲶ¿O¥_³r~>(
|RBÌi/Ä®MfÛñ]p|¬!$÷Xè{h@* 1¶Aí!Ý?ä>6}¯jw»Õ#%àìE ËaHãN#2d³¶°y,ÓÍ&;h¼=[kE1#2
#2#]¥«l#&¾¥õü'L#k·|ñ½¨4Ýbhf[+ôÅjÀ¨'7#Q-Ƴ{#%ªÇK°öi¦®;O¢w$¡ðÉß$áß> C#&¬meQR ¢ (H)FÇeË)"R#2BǬݤæ¢jxê}(ÏÀ(ÀvÃE%QR#%(A`xbA4Ð.u¬,[h¯ÿ>üýòà7Bc`pÛ>
ÚË7³CÙ1ù-ËÎÙ/Ézv¤f]#%¸©äGWèq³5à·$Ĩ¡jæmUUOè0z IÈe{1À+~¦û£×þªÁÕ([ÂÖ^/ÚTì#0ÝÖÔKf"BÎÖJ`w*Gbs.0ÚP1Cóñ%#& ÜÉ»iø-7ï·çØhÖ¹1TÉO§Äìí|_Kd*E£¤xlÖÃ0«Èvq*,G(P=û}älÈhX± ;Eç15yÕÓwÊåÕS9¦
ÊßN.¨µI¬´e¨Ù#&õÇÔCéÉüÍ¡#%ç(j®½7û> È3Ã×{Úð8Bî
$ ¤NÊYK'Û½h®#2-«fñxÔJ)ôÔÆɸ{4 ÈÛÞUS²çëÆm2LÆ?«]°ËYØ¡¶³×AaUR{ÃáÂûªC<sLT#%¦»r-nM¥Ø6Qxñ 3@Caø«4A0 .¿fE# ¨ кd¸C|(!c°6\ ô (@k¢´èK¼*ä,8¿½ÍîÊõ|8ÃãDAfx!¨eîWæXEê#%j#%
AV Òëé+55ÁÚ4m,Æ*H(0F!D#ZÀ+2&(@¸³ÌÒÖá<¢]ÙrrÆHRÒ_BAãbÐCX#2â`4°n¤i5Êl¾WW[k¼ºÔaK©K=6[²<¿W9ÃÏÛ<%0ù³ëÀDý#~I¶È»7a¬ ,©¿_#2^îYÅmuÝ£«Fsiñæ|N{2~ÀJàÉÜ5sàF(!öPB,Yo¡éÖábyO©OCCÖBË8ôßc÷Í!ÈI8ÙÂâZÁ²«|Î'ÂîY%Ã"Æ«#Ûáá¯×ب\»¨ÜáÙ.ȸõ×}ý;$`4åÔØ!ÇrÇðégNuâ(DÁi6( UJ¢BPíÓýiV@ÔJ©Òl=þ_^¶çX l3K'QÉ;àæí B÷=QW»ðï,¾¸¼Âd3à#DÀ£àRðSÁõênþ'Î)êÂÉ#2CÁ0¤ØÀRÝH"~¤ UX]5ËEÌKñ¼âÓ] p%ÄF#%ÉFBdºÂÒbÄýv"(SW;ÎH
iºâHïyÜùCÞ/4UÙdÝçÙ6|RÌX«HÎmÚ1ôÑ<-1ý±î!¦%¼ÚG~eYçhwa5ê¤Õ <ª±^UN0ff#7í]v(ÝI\uªh¾¿AÈÒ1¡}çIºG|cµ°ÛYG|d³,É.Í-Æ*äIT/Yî¾G Qe'©SزÏ'
¬ðW¦ë(¿î1#ÞÖu'ªamä÷Ó8`ÚioU¬ly#9#29V#&6)¤þz5[E"¤QAÒÕßgqÂá¡ÕÓ=Û^Ö°¥^}K@ÍAFUê@¥ ̦±úÙ!=1Ú4ØÚË!LEMk׿{S¼òÏ®pQÆFSÁ#&cot¨,{)Ù0Xö7#k°Í
tëUµ9$ïÓÛ4·!ç}]ovxWïbðn±ÝÖ"iÕKÁ"éÅ XhÖÑõmµ 1uçqJ\x'ÙÒ ¦3G\m-ì¹Q9ð\Õqi9íw¡7ɯøÙýìØ1GF¡w²#&KE6ÜE#&b67fwr\´e¾]+æ¼sm_K¦ùeÉYhäµWDjÈê©48åã*xÔ4@à!4a¨u0\ÐMØdáFÐfSD¤#&«FæI5aºèÂÂMD&É0$Ù°vnZeèá@îNZfÊQm$Y8M¢jÙ Qj °ÐÈ
2K3IU-#&ÐÑÇ#2¢ÙbÈ°ÐÝ«Y«dÃ+ûâ¿ÁÏñî{¢ùÆêêdÌiòI¶LFmÎÐbö¹ºf"QîF±Ð½Føò;èÐÎz¢ó#%é\ýÈU80<QHî`åt%¥u
Ê"U°JbCd46¥Î ¥PͳaÛÖ_@iM#%MmÙÓ¸7£j&fE#.R¢/LQo
;ÊSa¬)Q8Æñ¼V¥¯«à@Çd±³hca79½ÝC§ù( ïÌÚKfÜmmÍyêâfkÁçmyâçbR1ÐÎ+n;´ö;f]Î6%±²Ö#2Ê|RhV\ÅIÓMYôQ1øCl.òò}8Û1Ò¡ãÌÖiòy·á¶©aÌ«tj[îe¶F¯¹³9HßGIÚÉr,=¤°4!{nì:ò©¿<ÉlõN>ýÆìúL³±ÝÌi°dN(§·Ýâ=°Þ&÷Ãg¢ )f!FÈpa-LÎ#%0Â}6,UÆâ5EiaB¨Ä!rcGLG0X"#%YV#c#&Wëol@#%\sÚÍ&ú%¡*2HDB¤ÜAÈÈ2Pݯ¡¸ä?SóXVŤ=X4õ<¬BÎßñeÍøÝÙv¢gZðÏ@f[mW<üɲg"ݽZ©Mä°;·ªs|ODbð~Ó´©¯9}\Ô2àÇäd³2â²±nsYòv?Õì3ÅÀÁê|¬ô%GÛSÌ}è*Ò¥Zük-¸ÀÕ×nVÖÆÛZ\¸"ªHQ
#&°øê.Ââr"!~ç,^¨ç'Y¶ÝʹT#2ô@aÜÜêiÅÛs
tÁï>Òà"Æ* ÉLÓje%)4Å&¨´¨?C©35i¨jPÉM(QZh׿naZLY%[4)4ÌhEQ¦%(OuE#2D¦)%%0ÕÉA¨´¨ÑDL"£2V¦±²(
5R£1#2fÓ,#2³Mù&»öÔâ<¬¢=àìÃß¾, ö¿:¥evc^ÿß6ù#2qçëÂEFáQÉ÷¯3`o§8lg,ÁuàÚ±CF7`ý6¥À#êÌèé5^õ.óh¢HÔgßAèb_·hM¸¸vÚn¢\±µCÁÌÂÏ>]÷b;sXÜ¿og#2!°ï³tMînyáÑ c×·Yá?yâóóø}^µawáxÂS Øl1Ã#*
*Bk`oøµð½¶ß³_bc5 £#ed¬X¢6M¦YQxìÏ}=·¢Þ5KØQ¦ùK·âÎÏf}§9U7a¯AfJg ÿðpã`ØÉ¡sîÙÿ]pÚß9{Íéù ÃÚC²S³YçÍ>[ïHwOõcÒo=$(zÁï#&¨¹¿õÿ=X\GrgÏC͹bÆL]¹&úÑéÑ×ÒGßóoów[wm-tkmX©¦Þ]>g#%Hé2(í7Å%YÆ=ÎyrÝ¥ã¬Ê%x4ûmÁõÆ1HÌwnkwèõtV.ÄÙ×#&g/öÂÐ91MLAàÌÇź#2¤Úo§\7´áûFÖxµÝfý EШ¸/%¹Îâ"WA@ìï#llîªÂúÙm<éµÊ#Xc~Mö;t°Í>É<cÇ}èçI¯ÆæÕðk|µº L¡|&;m¨íßîËýHåÙó§*b²`ê[iÜOy£^)thcdÙµàg&®Ð"¥=Ok÷ÃxI^gYQAÕ¹Ó§)Ñ'®_Ð/^î1$
¬Ó=ÃL¤õ¶@ Æ[\hÓ²6a!ÛàÏÆ(½ÝÀ&Äy=JfXQ?O¦j°û:5ê[wö·gw@A²(èÝð'QVúõ:õW§´Þ]v>¯Hañ Ãéõ×ßõí'JB¤xàwG}IÁ³ÂÑq³·gÓ§çîÛný}4? 秽A°ËÔC»ï×y}ÐØ![û_¯¶þHnD¶~üÐ[R;ÙgXö°8ß,vjTóØXî1wHª::ðr2³Û1³ay ¸OuåòúÞèÈÚ(ð!ËݧDWC¯íÀÕ:ØZö×ù}øn0ÝÿM'd$O]V>½Ï(U᪦@O¡¢:21GjF8ÞVe»5¡¶dÕD¡Âs#&êfciû÷y\ú£f,nj7Nfs¨óPÓ2ÖÛ4ç0ÕÈÉpY!âhѨ¢¦¥b$YB,.7
¶:Ù3#2m]Y56¶øÍÎ1ôfSgáÖK1MÒñaTç¨áÓt_¦aÎÀq÷i>0LÌoT~§[â.°®&¦e´MlÌÆ´lÇZkaJý|nÎ0íf2cdÿ´ièúPenA
ȱ³#IÒ^¥àÎÑ
£%ÞkQ¨À¬ÛD0Ô7$Ù1m'"#¥'FÁùk<2ï¿S2¦ýÉÐCp \Á%¼Áb¥úZ®ÎÚyãLÕFðÚ£ïã éÒí`Ü,ê«.m<IôÁ:âz³#%åx#L»¥XêÃ!\ðu#&40i«ÌXDɹ±½´bdíReðC¥3ðÇØ»Fê1Ë]¶(8Ƹ[OhÒÎeÓó¤:ÛM5&Ǭ3\iøíöëÅ7}ñv¹DpÒÎÑ#& ¤È¨©xlC&ÙdÙJu6©£ai5ãÒ1y×'½glÁ#2" v68ÓF$Ë.6¢Þ½¯7Úg®µ[@I&{vhPèvØÛz«¶Íø=6Î35ÃlB}ÄgEä'¼ I
Íj5Sñ|íyHÎ#]¸®«FÓ,oÝÍ5sÊ·Ëãf£ÕÙÕê¡Û§Ø{çCQá¾XÝ®2PúÄqu=îÕQs4ôÝZgV4BLÇ1Öðô"$ÂkfM(}µ\Øñ ]²¶qm¤F#%ô$whAzÊPé`ÖMqdÖ¸2L/o¬Hz£KEâ Ê=#&"0¢å¨sL,~:jÕÊ<mƺªïXTäð®3qdß.ûªÚöFP BeQUÁÆÌõñdð\jÂùÝ×Ñ<²é,¯Q¡Öûï:æmeèÌÍÂkKc¤2$¤Ų̈ÇY#2¡2mö9|ÒÉ6Ƥx-¹D-ÝÄ#nuÁÕή§%Ð䦽dÚ¨ç©À¸H0Ø}¡1KýÄ5ñQùRMóv¢JÑi×mÔLÝ£[×dOº8îév{4ÙÚ·yÄ0û9A¥0ÓÏ)²L<S¶)e³J#&M.ÂÃcCË×#&2åeòí´#2éM2¢öÀèj=]:a.¼ÁÔ×ja5_r»µB̤ýtÐöã7)dFÙ¶ÖÄ<¸ÇºLË8|ofTátÝ"0:ñ:hã´û(ÞðkÅ/¶IN}Ù.2ß&$#2!ÄtS½C~8JjÆæ^÷#&n=µËÇ´Æ1¾S[Os54Ø.*O{(A2$bÖÔö¶ûa=Â\ÌÌbbo3¶¡Ó';µ¯Mrúa\´Ããzk(µpGSb©)'BY°¸Pî &Ò¸õ3¨J¨!åìã¢Þ u̼`uýúÇÌáFTs=HÜNñ3.¢f¢(聆#2M,$OÀÔÆø}MRûxâ3"ßÕã%cmÉi©#ep6ÊÓhÄÖ'È9¦jÉ(:ôÆÝn#&ÌËæe#2èæ&N ÑÇ驺°xÈÇ$|8-<¤AµZ3r]lze³Wy]55,yULby&ÈQ:h¹é&Û,á¬ÓôUv#2såus
U ñgÖc-ñÍÎj;ªÒuNîòÅl=ìíLIÃRÍ\à)ÙÇ-8b¤Á;à¢J| 7o\y6¢ß$
;l¯ Ã(Iº^ áÞmKÑÈ1Sj#!à б«â´nBQ]Fw,csB©^ð[3R¾Ö¥FËÑ\½1åxÍãÓ=s>ô³."qÝ¢ÝÚY¯àÅè»C«mÎU·Æz`Lo¤Ñ±ì "âÝç#%¸¡$wkQÎ6&½Fº/¬ÑÑ@¤FÑ&û)%+ÒròÆD#&WÖçp5Ck¡OIê%vÊÎ-èP#%aÝOÁ£X¡#2_^#&ëB¡'1@ȳ#³`9>ânxÏUctÈ<®?ìöQ°ð°2/±mº¡_(ÆÒMq wh*39å=ÕmÚXyÈùhÓ#&PìaOZjÒL$3pMY2 ¶HbiPÉLÚ©H¹Lõ (P±Ô¦láo&"-òutÍMS!
èìXZE´¦æ¶OS2äa£'6c
N CV^µ)Ñ hÀÕ7 \k80Ò`=u9lñçXʬOø#2¹±CÁÔ-ÒÉ:8DÎ
Q©ÆÆpõçrµl1ÌM§BdÔØÃßpo¦$ÛbÕ$"´`¡H+i#2ËS%ÖIëc%³¨{.¡¸Ú¯8ÙÓîåó:[!Í Ë@:Å4cC#C8µ#&¼hÈúM6z|j¶qê#&9|`5Y0}×æ¤xCn#2A#&.oVÙrÖ"ܪ)é12Y³8¬î58è(4Êý¹0ÄÎ1A¥$PMh0E#%O)í]ïXõä·-ºdQÒPúL3[Ac§qȸMø¤½ST)PÊR#2@YpÄF*48ÅbFº³Å òbvÀ.NÂÑÒ#À$Ë#Ûa$`1³iuð¼~:æËc¬ik#ðË)ãAQ`(!Ò»z0q~¦»d8&:
õ#22O)0àtQC(C°¡ªÎØ4ºÊeo3$1±2I¨¦¹Ö&Æád}¹¥¼%p#2¥"!Øå0ÌDrºIÏèl(]#2Ðã4^ìhìG!T3Ðà1¤Æ!\fèæo£6pÜbIvò f7t433´7Ã" 'BX¦:1dØg6Fm,ñ$#%èP8ãfÃ$)ØÜÌuW2èkCfBdê\90²jJGAi3ºkÄ[US:XiØk4Ã.ºÜ
¿8P `t`yªvC¢ÁH¥¬£&jÍ[NZëjþ¦éÿ1$RA5Á@w³;À)Sh&²Ê#íJDª#&~¿ßУöøÇ|Õøvßíp4U0KRª éª7`þó Ì`0Ää9¾i´þóWÝn«|êºÝWa6Øa¬Ò (ªI*AÝ)GæKh$#2ý0°I=éÛ*©0øgÒÝÎñ+M¡ýÝg?\Y>~b Ú1"W)LÖã&ïÒ[`´½!ÆpúémÅ*Âéź
Xó#2Ä> 2åHëÄé:n^Hláãìº%[IÄ,cX®'`qævHë̺¹É2 IØÆúó#%c=¤Ý±Á?Á8<P¤ìA#ÈpBÿ}v#%#2jq£µË2Úý¤Í[I¼È,f"6Eß㡲 q¶X¡1H_§¿¥"d&[ÏB¤$Òmd-`³P#&xâ(D£&({}½ÀkS$;ã(·Co/iØ«õEWwÏrL@vdb?2HM6
L×MÛ®lü+ÍO/æîì[Hï5p;ÔCÐK
ùNCþ;e0Ø#2;ÀÊÀà~¼"«Ð3è8¡É}ÄHµj@é0£)î=´ ûUÚQù«Ñ~óúÄ[ ír~¶À¼?Þ|=ì2Ú<ó/²'Ìi«&ô'1iRi·åQyÝnø<ó··@P¼oÆnF¿¯k`ÐѤÆ4¦-ê#2©M´1Ni3¤\Ëòd(Çê\r3H,ëhA(±£°üìLÀ?qÖ*øüÅÕ¶@
ïIr^ÁÄù*?LAY)-cXѨÚѵcQc4Ì´j#2l½I ð´OoõðÒ´TíEºá³§¹rL%Þ]Gd5»= >eÂîÄD×
¢%³$±#%¬D¨í #E¶h9P&7 àêx½Ï^§P@`@Ëï¢×ÑÖO軼À;Ý¥"rLUÊúíE)"®g¿"¬7z@£=Aç#%lîxóÊ®:ðÌ®²¦ª)e¸Hó©Aoñ8¢+,u¤"O~Ö9zkW*émòmê^z@ÓX²cÌ¥,ئÁ7VÍXÀdsú23cÅw(±s{áäu¥£>²4ÄÓCÇÛ4H,Dm¤ÁU~z[Ç(.aÉ.ûð;\sY#&sÕÖh·æÈho48\o½aLeD¢#&AÉ#2ËÞ©KëD+]]`»Ä@R'anÔ¼M%¡!#&ýhÀÒDÔ<Ä\bãYQÒ&0F0Ð,`²êdÈW\Õç<[/ÓäPðØ|>r,!¶ÒI±¤I
1#¸Ùú©.¸.´q#%µB¢²^*>û.ب Á"¡É%9~xûcâïø9ëêfW¾1h0îJ~R¢°kLü·p£7Ò.Fjk¶ÈÂd\}9GÃ×\ö¦L$g³Æ´
:C~QóáMa»´]¤á§]AKX ÊbØkhã#&MMÕ.-Wù7 't9`vhU#2¶i!KábÇgØÌ<:Nk3-#2±!%@B-AbVð75Rî' wÂwDåßVéßsk-V| Ê#2ã¤á`üzÙÊIä^fH¡:fÆ«`S
#&l;åèkZåd¥8#&ìG/f mwÑHV¹,+M¨ræòà³jRo#&kð\fÑHÒs˼\Cµd"ju´Ò,ß,í[ÓXd,,5o¤J1.\`T£(ݺ»dѲÐ<àH#¢UDÐ@J&ÅPljd" Â$HAK!&Ä:06:¸¶3Ô ©¶h`Vÿ0A»
ð×´,~ë¯øHÛøoz¿©µìbE"Ù@Áê?ÌÒ°ù¥}ýùÐد
m3\1ØÖÆ_m¨sþÓØ QéhÙ#%®³9éLM$¢2hñ_;'nÊ˺îîåÜ·o¦µã_Æ«bÅQµmX«i6_m©iior¡õ(fyykĪ¬¯X½ÊÔzæIó;ʾóÀeo¢Ïâk|t¶u+W
ýàÜ]Y[QÕY½¨å°åZI\&ötÓ³¼JÙ4ËÉj¦`teJ²Öe:Ö^óm¤ÙCi¾.Æ¥¯eF(«¥(¡ÛÁg ¤"é¼M8<ko#2@l£âÜÍäe8÷ºfjdZa¾¾<g·$I+ÓgpÔ¢&æK¡Àtx3¡¾Ü<Õ¹Fg[Sô8ÇAív|³Ê©½ù4Æ>È6RöÖ;÷.¶×g¤ø{9ÍÓFÞoi6:F¸3qê¡ætûDF!¡É^aÒJi®kÉ_3O¦RÎ>Ó;²cÛéd+.!r.¹ÜhQ´î&=éT¾NbÚ4Á~¦rÔ!A"1a¹9ã czÕºRƪì¶U-Í»6e[{ì´£=vû#jKJJC¡¼U`êаe¡BE,Ò ©(i@$H²+sPYÍ.
*R«DUü¡-XÕ"X/,¾YúÒ'¬\ÙAêBLc@^qÝŶívÅÙ]6ÇwW¤ò«d©7BYGllÓ[¥nmЫ¶®Òké]×]ÜRoË^»\iÚyºï2¯$XÔÖäX×iªE$H@!fSýd¤HáÂShÙ¨¯m¸µ·¥´Í²HJL²±¶5¦¤S5ÔµÒ´²5¥Rª>m|¼ðT,TÍÚÐH+ ¤!¼·¯ÈÍèTÐWç´&B,PCd]&AC
DÚnm#2]DJ:`#%2`Ä#&Ñ_(Ò!æv˧<OIÂãØôêýl)aÙÇ BÊhý¦ß³0ïÖ ðbl'}Bè ñ@¶a´Làjã=ñÒÆÀÔÅp.#£ñ³¨2TÔ±U¦ÚqÍ1Tò;³¼ą̈y
êM)S}¯áe#%êbÞô©UB4D$ ÙH
ÆFDK7½XF^§xNݦ¦'zw"#&3ICüù3Î ÝÈ¿DÚ@dðívf#%°¢pµ©È¯äH"¡¯~¯äwíèÖÌ;Hñ#&ãÃLõÙW¨ÑráQß·§S°Ú~dæ?9=Xo}¸Kʨd"ä@EXnªWúü#&7LA/, b(P2b!#&y%JRìçèÙ#&v¼ðgØ¡.h~:aÃw\Éær%Êà¨4Õmþú1qÅx-óÅâ/ÊØ;ìpúxü¨@Û""_Áñõ}D+î>Þcx#'(ýQPÆeýÀdz®
üAV§~VÛ^zvM±µÉÝQVH¼]
R{vê¢&I7mr,Ã5²LVóuZäÓiXÊ[I²HiK)E1K-@¥ð®°¥«)lÚbM¢µJÕ4ON(ÚE¶WuÒÔ%ôív·jöíØÑSA35m16¥5©-b#&MÔªým¶ë_3,j÷îÙ&È¢¬lVÛ"IlµË-LªI©m¼ó¼)¢m6(Ì*jÃm¥²ÒogmªØÆ*#ÆÝ-çW^w$¥µ2hkí¦©7ë5x®ØĪÂF«Â0¨±B H1Yþ´Àgäâ®T×îÆÔÇî2ȸ,£#%:2=þþºôté¸c}dêÝ ëqLÉ&C§Ñª-DhäJ>}ûÏDCêÃØå.ª)c%¢è% V[rÅ#$2ëÆ¡$&¤TAðîii´²[Eµ)5Rº_oËá寱ª½ÖÖÍ+hS(EFAß)Ä
J¨ºê°@#2"+"ÔYU+}"H#2iM
5m)2Yªß+Knjª,´¶j6b1-¤PjRj¶Öfµ[#&)¢)·ÅnPÂ2ÔVmh%£M)!EÓl¥4©3FÃ3FÁb0ѲllÈб²jŪRØ**SeJS%RVJ¤1dRµY´Ò¤(II&Ra4É4ÉRÍTÛÕVD¨¥Rde«RÍdÉ£JIiKl²¶¤ªµïª×ukJÍm6Íd4÷tÙ²JUY5Vof¯6{*¹µzÍV+mJ[µ"VÔ©jÚ+_vIFò°ý·×ÀÛexæ*²V×®øÃoÓ5ª÷hûÁ#2o%ë°ßâ»Zqh÷fo+̸îmE=ÒJ#À5>HôFäoÇ®¥ª$>xqå~õm_tOEîn¸ôÂC{ QvãßÏBmÕµ·^¶h#&[YA3RèìÚhdº +ICÁÈ"¥+´Äº¯-x¯wnÿÛGÑ«ë^Ì¡Ò
~óa" (IxE #&ä4$yNg2éÆ4Æ&rqb¨£]z#%vÚ@õÁ¯ç(-äRܨ.´Aò6j¹ºsXltt*P¥~®â¿^pMÊ7 B8ÊYf£ÞOÁ÷8H¦*b0;Ó ¥;¶ÚvkûÁ/]#2»MJÆölLRé§p\°&r#&
#&ÔÛ,§êG×̬K¾ÆJU¸l @iUÐý?\þ>ýµÄÇ`T ¨¿ª¡ôT¹?#2§D¥§în¡ ÷íg#&¬M¶ðJÎpnä)'QEUãpC«]-ø>cÕ²ÅMæ³X#é$FÍu
CC2Ö¡ówÚD/bĶozÛ{vX©#%Bp#%#%¬[cUF#&·Ï ª(#2Ep4®Z ÌY
²`õ)±û½b\£Ìëi=z䤩¤ÆØú8çÐø@¸I`'MÏÔyTãÌî'#&ÛÁ#2·vW|-:vchÛÓO Õñ47ÁÔ%?.[6û@<ô%ÓÝغ^`Þrö6<««o})#,{CXjd,Àû{nÉÞù »!&'ú?®-W-!B#2ÊE>X»þÖòÔ¤EÒüÒ>f¥e±F6ÐÊË *1hÎ*¢hÖ4C DÈÂ6À¼D5$Öê-pÁ°I¡N±c0RÄXÔ)×g#&KH²2 £QV6pãP`Û¶Õ!ÍTD#2Iin1v8¥·D1UR,×K¤KVE&1ù긤oÕRj0k ±Òôï £¥ÅÎѪQà"?#%Õ©¾rE8&»BÆ£Ó¢ ØäcÞýµA¡bV¡î)5IXæ8>?îÄ4y´¢¯bo$y×íÉ»Dy´Â¹#&ÜÀkðÍEî^õÜÁt5¿M2SV¥+E¨+à}}»@ÿNµm¯S\åøö}Aq Ò*<¬\ÝÃnÖÛù}_XsÙñn1Çë^²5-ãÙÅâ*ßÝùÓ0¯%mŧÅ֪žwÉfó¾ºZK_t£YÂ9jM)#2Mð6º`M^ºÍP2 B0Vý{ÐÞ'õdßÁë¿k(@B=ý>ª¨G¿=bnT{×C/ÎXq2Ïâ:16°·ÒU*~`ÐVÎâþ;Ïii#5¢NÄ7H[LÚÎBþqLÕàü~2¶&´ÈÓK Áµ¢ËdÒ@é&4`ÓRţݨÈhnP#292e4{¦pYØÌëÓWekW1Óª®-ÂkFÉ#2/b3ºxQȵÛxÇPi¶ÓÂ<½bzÊÁÌ:%Ñ$#á\C0mPl55k^Ítõ;û ªOWó(T½A@^-Ftrçßõ<DÀhIÁ²È-ì¡V)ÂQ48é1D=h«I¥TíIÝ®ÙéÇ!mïyIeÖ×a¼¼62#2ç¨xd)`ÀYFE<QK" UNtXW#öq1û|a9Ťð9ahsßÍDcDî¦æmôÑ!´GHC!³åÕ8níÏáMËdrÛ ;µ57kNHÖ2cV2!vTÆ2·m#&±3lI`ÔLcwxPJ¬E_U«ÀнEx®ÓwuÊÙJ
Æçt&nyÑßS§AD¨±J HÄ#&B¢!KÐéÉWµvM íq1T²è .yLØÓÀn.ôc(ü#%]ÛI:QÞ#±äm(#%NQ¹$B4F PEwì,T$aÄ6Á(OQA@mBNm'ÚÓ^»±ãÞ»Î뻽föX9Å1¼Õ>îjLo6#2EMªTUT6bÐ'ªµØ%$TÒ©×RlÌm46×HE`¢|µÅDÉ$ Ë"m§®sq0#
ÃÊínK4¹çh<O3ò·¬¼ëÕÕ$P #&5¬"EƼänÕQDfRf.ÝZr!¼³Ïvñ!*àõ.³·V»Ã¢KQÍð"¡èøÚ¬ Mmaè7_%/Bl#%´º®Íqß#a.4Wöù[fG'¢»±ü^þ¤ÄPôoMAÂp6÷ùgÒ%T ß ôÞrõdyJWsÔ)µPN®#&;r zðÀÛãôÝ0 "OWS-_BËI5 *5LdaTu`9{½H
#.Ûð#&v+¡~6$cbÌqu&ßu»"fbBw¯+Ö«Ö®Q«mUð»mzE±U¯=Og·yKÇNíÅ2UËiS#%¨jÑ¥)I©#%5ò
Ü$C QÝõSwffù}{xÄ3´CY®äýNþ1ç$.4×çVE;Zí bÇJ¦"¼^5÷×YÍ-¿éò\¶°Â¯Ñ{5dÚ«#0ÿ@°T*{Mñ[m⢷º¦Ö&QEµW(ͳM&×Eͺ\ȱ´[F«ñª¹XÑZøÒ«Òô½MZ5#%`ÅþoôÕ¢¬ ¢Eb#%J)(ßá#%¹ 0¯(sB̧æÆ.»YHe!l´#2J`QFÐØ_iL¾IÞwvîYi
ð[ÃU`C#&d)1º& ¨®Üüó5ñ£XÜ °¯{,#&¼Ühov^¸§²J*_îiÀ¤(StFpVBÒI¶Â§ãTª2ÕSÕEB®I5yeG²y^·§w¢þ#&µ#2D*)%UÛL&ÑTjv¶Û¨Xnönâ:F¸HÙ£|°böpËnGº¡Â¸`+¶XÜ£Î#2sH&A(6ô[Ý><_XowZ(3±A`¢ Á°´ S¹jõ#&£ö÷òÎ&øcìÿ«¸AvºDÖä[Bâ¨N^ϳPhÈ@#2Qýñ5â¶K49ù\ú_£s`ï;£,7DX#%q "?_@& ïÙ®&F©#&ÈÔãùr= óÕ2Û_oõÞçò
¯ %QvÃÕÀf!ºì|Ñ|Xvõ¯øx(«3~ÿÄG +;;ãûy$Dûõqzy¡¾EpÌk¿F#6ìßö|§^Àïh"3ï¹É±Ä&½!MQM=þ#%r?:¿CæÎv®:ý#%µ+kAX¯Á*Úwmr¶ÕÔYX@¨©P#%fôlY!x¥EdBD ²#2Ó®|/©»ÌËùÁú8Ü`ÌѱAi¤±`§(Ùõç´]£gÀæÏ¥£Ö§å÷íÁÝ'Ö<M©æÄ£cÀ³°ÜÍ#2ÓûÂtîÕTH)°Jë~%²Æ÷2Z¤P´á¥äQ!Ûôêø<Âïª11Yøúyòâu(0 òRgÚu 佬õ1@vÚÒ7Y»ÆP£PfÒÅ|EÙ¨%5#%Á!#&p¸éî£Ò¤T¼I9 ? ç×Í#&%?PGZCzOÝ#&4~¦e&í/Øê3TÅEPª éºò8DiDDj6b£èÒ0¬ÐÃ-#2#2:Ñÿi/oé¹nªÀ$FH#2muX©"Ìb¤¾RjëÃ$Ê*Å·¾i!¢4,Â#22dµËǨÜKÈnÉÚ¡L¢ÉE5*±²
ÕYb0ÈcCc°QGºï~ôã|u·6£kÝr¨ì¶¨)&Y#2³a-6d§ Âd³4;Ô0&)#2IJÅYlÈdÓ ]QJJM±m]:0À0&©i4r¢M0°[)e²©½\ÕÒåáÙaXcXVz¨zÊ°&î²@ÛGln$«llm6rA÷n[5£i]Ñ¢¹®Z1¹nkó»ÅÆ]mña´F1ç[gPÙÒApÌjÓ¬3L ÀtgR.ßçÖa¦XHÓ|8 Q£¾A¼}ÐÒ'h/6ÜÆXãtjÂÖVVÚ¦©ãÔ¤À8Óç§ð#&¼Ï'J@äFA@Ë/Îm¡ñçKmyT¹¢kO²>#>ÈÒc3U&³ÇmµÞvëÉë4ÝhÓ#%º1>?F:d£ú:r·cÏàÞÚ:#%ôt#%£Ò¨'¬7´~©ù Ñ0@«¯X «ü#ÜEQ¨Ü¼JJ6ÝU¥D/é-,k\µWR±«m·7[d´ÄR&IDÂÖT@FâªÀ%©RDEGð,±?2ÔMDA
Dý[Îóó=|¨ýTxË8ïû<;=ÞZzÇ[E¾EÉ#&F¥@Ä¡IZ*jU6F#2þT +aÅã#2¨pNCÈ®º¾:Üf!)Ìö§hãÈH x üå B9¬4#&¡±%ùäÑ#%ÆhåÉmÞuÔÊm¹®mxµ÷×^E²m¬6Bª:k+ªîصé«Úï^D½u»5sUòk^ik¼ÝÔQf&ZmRfKÛߪ¯qA¦ TPG²qÑjV?>]FYGöã&âÂÃm
H«"²Á_FU¸H©ç3#% "f#&d(Xð±ÃQ-Uy(w78#%M@l3Qù52#2Fu0·h?Ú]ýú'ðIiR!¢ì_lXfqîêÌñï§aÔ/-3ú§¬d¬«UIÁÎÿConÔÃÒµBv*m
c´*bávç¶X4QpPßë}qz`¥ACObÀ(¿|§DMî®d=@ T6qÓ¹`ýò¾Ë¿µã]·qIF´¥J¬mC6÷Ûj³Me=Jê613Ee$PZ`[ÙsyÔn0Ó³uèÕv@ì_WÞ¤H@ÂUÀÐf»³çlêdãªN'H^û<¬?CÖâÄ6m;éÝi&4Cý:¤ÄÒfM´P©þgåæ3fôÚÈ`5½ZEû禵{I"B6Pci#µÊ#&#&06àÊ{(úPámo®49`,ÄrõßíOô=½h¬¢I$!&ò(þÈÜÉÈõGkz7ti¯î¾®/¯\Ö9l5òÙÅr¯Å5Þ)Ê naj-5 `fOö¾ÞD rÜä¬Ûs Ïä½ðÁGIW&Îiý8PÔÆèdÚ>>xq®¹ ?yÓÔ§K6a k91o£mw6Â1üZM6a²0Éb( Â#&±åLïe(Ê©Cî#%ÒñÇcõí6|ó!k!HïC}c¸ÕÿåÌßW(ÆviÁû41$Į́Ç6!Î%Î^Ó3¬ô=
ØΤúᩧ¤O©<ÕÒûVtW#&fJj5#%[cpñHKcE°b-Z%f5©¥©65£#M}²º DÊigéjܶ¦f©²-,ÊÉ+eLKÙUJÓk4ËYÙbKX´¢*S16j³DÓTÛ[bØ HÅ"ÌÔ~-(üéOø?SIÇvd¶4HDÑQÀ@LSñ%
nm¢µ®§5µEµ]Js[³x6ó#2þ~¦½6¯×¼ 8!¬zNî®p#%m"5§1«rdºã´·µU÷ÌÕø]ȽÊ+êÛA "¨c*T[G|J,y´.{ïsÉÁ>94E!>ÎÓÁG^âí¢#24æ~= ýn0E#2"}¸CCÖlâb¹ÀûI&$ EéÚ")P*/ÝäA/j[¤ p¥OZÄ/g;Ŷ3@ï>4ÏM¦í¸8d°ÍBêÎÇ$Ð,ïò©iÁ¦Ô-´#.mÆ:æ¬ÌÌæøåú¥Ñ\
Ô-r!\íïõ* PÒ3ÅÃ$^#2óN¡¢p#&§EªÖµ¤"çD÷»Ñ@àóêW7yä@j#6ç.òÆPu`ËÀ2¿'3Z#2R#&¬'Ô7aª~÷7ExÀV±5Xha$p¬IÔîÄpjEX¸°5*w<Õî9|bzÐûÿ"ê|2Ò³÷êÈÆ£U¡d~ú)¯]W£Qm>£-¨ØM=È8A;/ðã#&¾WLp:k¤5×óò:1R#2! {þíxqÏ·ò~KͧHàSY¿#k}ag%wTάßÑÍ|ÛõÐT
SB`»!`VRPRPÆ#2ËÀÓV¡óMëÎ,W¢1mÊXDZÁ¼_Nó0býéÄ;ioBNOú¦£8:U1¦¬²É ÷Bb8a¹l4§`H5I>5íö}n0¸Çu ¤´@Ùº"åP§5AUK-Ã!¶@ #!0¡zÕÌÒ¥"kVëyÔöKÄ0ÔKfLóUiÍhÛäÙ,H åú(¡fE"¹gIxF(5»S?qB¸â"cu¬hç$H¡õÅ]0P!ãÈ5é5RÕAc
Y:wý©³¼jfÃ#h6K$jæå0ØÅ"Ì)¡#2L#%CÆ =gSªq#2Ĩ(ÏB \i¸¹¶ªh@ëúÚ9°íÞHÐ@rð(KÔÛ2]t»]o.ݵÓkËMBÈÀPe'Î#2Pz<TC8G
/EÁ5ª9°¿ÄÍ@Ë«>og×âîèÅF÷§`kÞîjíão«TwR{ô&yvl²
{uÌ%¡&ZiÁ]JtÖvØìÛ5h¨tfj wëÄp.-ðB¤&+&ÉWr6\ìC#&p>mý3;ñ>D9 '6BuHy²IebX#2EXO&¹ã¤Þ\¦JBï<ó#&¿aÐE#¨ªZHAÉLØ{µÐ²b¥,âDCyT)#¢gA»µ ÓLé¢Ó!$åéháWrªÈ0§ç!èâ(n¶)Æ':ÝHkĨ_w4ΩhT~"äVíR~paQôÒ/ª"*ãÃCl 6Ë,®E#%ÃoZOß»³S#%>TD¨JíFëò[VâB4Ä{.w%?#&þ®rk#&Â_Lúsl ÁߺHK&ͲëDje 5VWE·[Ñ$F¥~V2°£NÄx3ñ /´Øç¦ï¡.àÐúåÅLîÎ5N6ÍD]IÒL@Y'0ÌùNÙ4²ÏîÈÞ%?Ft죧·ÕéV§]UN§÷ÞðÆÜÝS
·¦«÷Õ¦¹Îlུ
`0KeçgvsX©ÙØjÛþÚÊ/_«®#&,á*uè@YTñ0XwuT¤Qª¯Ynº]¯xZ%#%ÒÅÀ©&ã·¿´ ðÕLÂ#%Y:]ý3«è¯C¼ÛºÀ»ý¶aZL½xöjÛÀä~a·KüÍ]^£ è© !^:sCÝärнþ'!¹eV[¤ZPâpn¡¨>QM9óóÖzözfM[é:CîÎ&Â"ú_o«\Ï$òô÷J xIË-ªí×®«Ñ%-¥çnj0¶#&BÔ¸ÛÒm´²ñä£Zyµ¼»]/7mÉ Pgáù{OiÜ£bÿ4ïá:¡Å$Ð,!È®cETÀ êöÝÙûý«[Cb´FϤ:Ä6Ö0Ö¤M£&{K_»¬)·w¶õÖV7t\-2áqcThúÄTÊãE%W6òñÚº[à½WumXrÖ[3U"ÛU6"ÐÁi((D´½lBaSJZ¦,#2õ56@¬¡Ì.6ÓÈKwL:<yÛ#a¨ HÙð aÃX
ýÛV4%¾%`9gvâQMÚG.ëJC&Ëf)i.à£VåôÀ_óç8¡ØqS?TsÆác9@¡&{ÛnÞú}¾ÿÑZúoÈ:@lÂ}¾ZXºÅ¯@¹Þ5t4À%P,ý°
þk"a¡Ö5Wæ/#%:!D¾«ØZ5_[}¯2³IeF²VÄËFÉi5ljÖ½è¶H#¢ î¶ËbÂÙ%!HTFH!úv§rDx~[Æ?[q±årÂQsoKj8|ÃÐUEaçÙk5d*ù¨:#2SIÑÇyÖiîË."®e>1¯\øu´| Ô<Ä0C¡Ûg½'Â#&î£Ë8
^Yÿe¶õ[àM¶N_ÒüE´^otøXjOõ3[¦MePaýS(4?ëëǨ÷¯A½ß³7ÖV8Àæ ´¥ê¢hHÜÄéÂpÅ&/m
ÇãîHFLlb|úrc1bôVo7a0îÉ@ÌXf0ìnd«#&VÜÓ~ÇÁmËD³4¦ ÓâR÷˽¾±n|M¤ôxãÀß{n¿¨àsÓ¹-Wa¤]¼5´$×ßWËÿ³®}Øiª(qG¦~#&ÕäÆ%&'w°ð×ò<Qöà£H\#&O_oÛpöÅã°Ì*ze Wl`¯1)¸¹Ðþjlfoâ|äÆ×z]ÚN±é^y#ÕeX¦´3oaá÷18¾ª$ó3nî/xs
FåÆÍÂ_Vç~ÎOr»RýbPëñ5djØq©º$J!p¢ ?t¶CQ¹ÿ½5í|bðëù/OF#Â[Æ0=~nÕrÚóÏ#2Å£]woM·4HÈ_LÕÑVî*G-}Úò¨ñçC!n0G¸á#%ü
Çþßà_¯²]PXxjC+Ë(ËQ`H0n±´@NÅ#Â`#&Pb£À#2ÂààØDÔeH8Új>W®EÎó«« å3ÒÌó]9*I0ù?§ýáÉ5ilì¤G°_näøfOíân>W9´që`gï6nêLÛZ.@<§$)2¼#£ôPzÉpuÀÕ*#2LhPIÂ7qr<«b/Ä<Z9öEñ`À!«.G êFþÔ:Àùq5+,vú~B@ôXhhìfÎDÞðM##2)èéTi"7'2¢´I6Ñs]Ûêë5M*Êm´íÛWRl6¶Ì¶«ªØÑ\¦^.^]ÚVójß4²#2l¶ÖVÚA@ßfÁ°=ÕObÓËÜ5èRÖfé2·S#°¶G-}Ô,#2I¶=wÀ`e&ÃÃ:&äÍÄ]~Wc©D8ð¼áqùQÃ7HÎ3éàâM'1/µº#2Ñ®¿º¢´û@äte`µ¨¡$Ô2F£V!Ü쳩²RÓä5Ç}»ú|Ô'tâ[ÞM¹dmÐL¯Úá¸6uð{ÍÂäÊÉÚ@àzæÿuvu À'sh>þR2.ÇÑêÖñ×+áÏÐàðð:¨öå¨ÐkZÕobÝ`¯Uþ¸È@b0Va R¦ûT)?,ë¤äÀ.7«]Y#%âk#Ñý)óg (Ízßöÿ»ÿ+ýÛòoá`§ó!(RÄçTkÚs`ÊFQbÁ#%ÛøvÒZ¤(Mª:eª®Ý#2JBÀµ¶&¤?Y{@Z$*ÁYi¬ü÷cÖ¡p
y#mè6#%ÔÐ;àJa½EÀñ×Ǽ6·
::ôLsôAÆ¥*ªÞì>7ÚZtnWK¨ü>)ÿ&Ü0xÇ}·7ÆqÙOçúúÎöU$^,ÙfX;bC¢O¯nº½·Êü*Fâá5³#7T`uß&B÷Lo«#%{BhU{`mW0!ÓÉãf@MÛhoÅÂ#ðï;§Km¾½1Lia±Få¨ìe£>!DÎ$wÐ~ /ÇÖ·ù÷4ܲvP¢IÅÔeÁÙ)ýõ«1õÄÕ¾ôÌÎJ&axHhãI÷棸¼#(pÓøÖÍZ<w©]GÌû±¤3¦Ä°È92sî槪Ï`ÌYºbAl°·è.ÆÚ5cÊ}{Â[©>]Öt=f»ãßÌÁ6|W¢¯á¼®VÇÇ^^`õaE^¨ª$!<IÀ0wðS%@/V»: !Cε\Úéõ¶/E«Tmk¨Ú-mdÆ©+Ed±µ^-ͱ¶¹
Ml2
Èë5ï²Ü¯rº*4"ÔDçдa&B¡xmNÓØÛ}ÛöáDÜ@A¹gié,P];*ÞÃ$CAIYèÔÃèqÆÓ#%ý´q¿[:þ¹ëô¸AôSðºjèxC¨Âm²Y©åç¼7CµÔ:9<äî(OÝæCÄCI°í~XE j<òÛy Ó´»;0ôÉê;îÙíÔ}AíÈsùX&~Òl'fÂ!æm÷¹ÌNd²Aù]ùè¥ð$<N¡é¡ìÇ£A'!æeÖ¹zcIøêÞÌI²Ð¦©[4¢ßòmzë¦ B`ÙÔ¸tÈÜx(;L´t&Eüé¨ ªýrUTQï=ýÕzðg¹¤Ló¥(ÕRl)-ÈäÈZk1%¡Åóë¸A¡®§2FÂ#%þtH+AF¶Â1#s㦷ê÷̤&ÈN¨1ÀdgÞlÊ©ÑUªÇf}ÿk¾ÆSæsßðê~ûæ¼1#&bi 8ØHä$X.A¶Á¤"õ§¥{3ËqÅ[-Èçî=¶WeLÈî,9_ST°TDÂY!HcQcFNcËåLºNiçÆ?/½vR´_úh.ÉoEP$)Z¨#(þm=ª¨òvçT&ÐÅàxrxr1#2'¨ö#&ÐÙêØ]N^gS¦G§2ÿRëÔÉuB«®j®u½Õ!L
2UP¢Á#%Ü´%è\k'¾ãߺëº#ÔÝOåiç]¼·ënVî»JFÔÌÍ¢¡¢Ñ®»¨×¦©åwp÷nʼ01°hT¬DbD%ÉÐÜSPA!ÆàÍ[DãÕF´eLD#%H¢cZb%h>êA¤4#&¦v³~íÁ'gèÁñÞṈYéW7Ï72,Ù*ÒUÎFy»´R
q»àd¨Å ¢#2"&Û¤ 3PE#2Mj"´&4ÛË+&YR1¢Öi52 ¥l¥fSÕ$e6,Û3$ÈÖÊZ^»·mɧw.mÉ7]rÛvëÚ\×Îò&-C#rß7®ö{3a`+f²JKÌYa«à#&«7L¬fZ4AÝv<OOVcÛCnéÙ0Ö¢67&újc o#â¶>\x4{ª8É´Ø @Ü ¹4×Ã2m#&ôÀ4Õ1¦ãO®//Vóv¬U
kÖ×J!b,5ªB0!«#2ÈXá§6fY-V-·]Ud¦bR.YA@Ë1³a%bAÚá£! fÌ´BX¬45
UÉip¬¬(ÚLCFãÚXÉf6ZIYZôA ¤ÛÆIJ!fc¶¦0Íû2ç"0cxb[³)±²ácSfÕ#&ݸò©a ¬FeÁ¼öZØÚÔH¾vG¦}&Â:<=J=ì"nͽ)ðÏ*f·STó9½ï<Xé³kIcXÃÇÊcO*ö°Óò±,á«76¶p¶u¤ipÀ5cM"á´Y[f7·ª ĪlðÀRÀ0(CÞK³â³t31âC~ÃÐ̳?Àѧ7#&0á.ndÇÑ{Чó{#&5;½pÄ%²}ç
ù¹æe÷=¼<}¸éi8ÑÆ#&£1¶òr»¯£Ç°
0Ï2m¦Lb!&m\U-4Ö´ºTßf¡4âq¬Ð¹Ê¬Z6ma¥V®U¶*P¾SGè#&àãh߶û~ÉË4ø>Vj#2 þÌÄ%ÚuZbl¢NTÂÆPfU[¶1¿!77É(ûéç4
4¢*#%ÆJ" ĺóQ´UÓVmåÛÊjWT¨V `¥²!`0.©b´èJ!$¸ß÷08=GÄ<YöpA8~Y>îØ8:5OâàM?-)÷Þ¨=½QjÃ}±Ý2?)(ÐHë¿å4Æ^ÚîÝbc_kJ2lþ¦È"ÝàSiR*SE¤.ê2ª?~Ê;¬W=CÃZ1HÌö6yíÝÔÉK#{{ºNÃæé«À÷§ÕÍdÕÆËY²eãx0¤òë¡é¡ß¶Õ±[~dzw[3 $9nffÜFÍåEuÏFÜ$Â1³î8¯p´èpÍnðó5xàmEPÅó)Óî;±M¥ÙEÕr[#&«kÖ##2W¢!C#2Ûx7Â)Ðe2aGð$2cð7ÌyMãOs÷tgg^I¸ßr!^\0\®jKð¾ø7Pó¤Ò²¢&Zl²Hniùó®*íÌ-qR#%¡i#ùûs5pH²s#%«K|SViycìÈÔ|?ÈùÒÓôóeÇÍ#æ¨#xH$ÉÔô#%V`(
¡.¡d°×@DÔÙ?*DÂ;¢d ß#>£²)Hhvª:#2¹67·eÂÖéjÕÞ:,U^u˦®ÖÜÛ»s!Ë«ÆÔSÃ4-#R1R¦Ü㺮Û5Jøª¯¼dÚÒnnÛ¯<Þ1X¢ÛkB$Á4¶!é¡¥ù1mÌl#)/»æ{ðȶEi#%ÐÊ Å*$a#2¦*°KX@rDa«p) »ãePd Õâ×kÛkÉ%²½-FÂèÁå¾CX¬
P$«^Íj"£U)MR/ê:¨¦Ê-b³4¥F±TTlÌTlj-E±µX4hƪMÌ¢fLÕ4b6¦d©±³WD#2I7þ#2<ãòH"dLùëk^zIµFÐBH"Y~=üÓóx_·Éæñ[Õý»?¯Æ9¾¢Ã×#&ÍÑÏ+«»äÃ4CþTvákKùmi)£~7ѽ]BÍ«ñÍoÀnµâ×OßêêFæ뢴îíÒ×vȨÛmJ£[º»JV´ezíÙ¬ÔQ«¶Me÷Hf;qNÄÈCê(ðO Âd@ÜC(#t$UÀÜhYI¼s$%ª ) A6¤£¤ªÚuòàÔ##&¥s»bB/Ú\Ãá%ìûÃä>¸ûÇ[åůDØäÁìÃ>UÙE0,Ü*Õ!a>ÌÓ`ûÏ6uQýá¬Í¸Á½ªfc1¹÷Y`ãcÊîdjÀS mM7Ga#ÎÉ·ÑÚe8¶»Æ#&ÂR<ý;Î=¾¾zè1®½%hê¶14kǬà9{üwà*Ö AæO¸®ìl¾.÷ãFЦìÉpã#&ò9AsÛkMÃâÂ-hµÏÉ£8u,¶Ú;]ÑR9©î0`á)dÃLK»Ùîx&_å¶
c,DèÀRt½qÛ¹Y«°Ýy\¨#2&Õ6g-ŧíñ¡þbßG#&´ª2zÝ ÞiEH}.>°Ð3áøÄFXAD¶ùRúÕ«¦¤Æ_åæþ9·¿®r-lB^PH¬"¨ÈH¡P,[o±%lë½\?xüwr¢ã>t (b Zýoð*¼Â¿I² "$#2*iHÁF1@¢Z% ¼& Ø#4Dh_*YU8LÈÀ`.E̸í#2ÆÙ6\ÓX¾>Ù*¼î«J´#2(¢È%0²Ê)»á*ÆF2#%ãKÁhàÌmclÊ Zf#&´Ú6ÍZ ÇP¬#2f蹩 bD,(ªP¨P¬V1`4¼TrÀ"ÂèÛ"ÍϺ¤½`¸,¨^¹¬?=ë£ ¡84Æ"(0õÊOîâëå*Þ#%p£Ý¡åIuð>7/ÖäØÎfczNðÙkIóÓ©bì7lp¾#&È!2dʶ9Çûúc°ÏNåyUm¯®kUFÛWà¼&$ #&Ä:¸â@HnýaߦYð!U¤5ÚÃOñýAád^ ªÙásòzâN?O÷#% ¢/#Ïë`i½H
Rj«)ó£±Êó¨a·#%´.9Ðδ*'`ñh|N¢)£BÊ#% û3 bìTY¶ûÙÑõQ4$¹Û¾q½Ñ:]döE4Èn#2½¡1*ÃM63ä8¦ M½a±3åp¾n>´!Å)4&!QU¼0i(6³±tE#&åE,@dUib/:¤a4a0¹¶Î¨÷U×Bò'YÜF®Í À·È*¨*ÝyÔ:^èA§,Q:õ^õxIzï<6äÓÔÕôø¶ñÛPyøC©UMÀ#2Qª»µêîÆjûÚë5«¼#%Ïõ]嵐#2PC#µ1à³áqÞ|ïIÄ«º®:¶Âegek²/Ø,è~î$ù1dY1¤nî#&]Q-\4£®ïØææ^n+6Yje-G·Zmh¤¤ØÁãpÐa.mÊæÛúo7n:ë¶cÝÛ¤W/ñäÛ¦Ëy<êåÜÖeÝåªm¨çmµÍË]5Y-£R6nSfi6Mgݧ5wft×$R§vè9WYs¬ÔZ4rÕºÓmÊ6´¿Ì¡ÜØ.=PÌ&ÀH½{};Á qØg¦b0#%v£þ®Ðî
àÁÔ!A)PNÆ"X[^h'Ój¶pÐTëA°>e Üî"XqÍôÇ·¾Ôç}Ïm¯¥hÂ%öz3î#2Ëݹ?GaÌÚuÄ,»dV£)¥óëÕÍm[ìU®E¤ª?í.Yþ±&s§ÛÆÂ#2b%l±Z´)he[Þ½Æ#æÌp*RT,D)·nu©Ç]ÝK+0ÝÛ^¥ÂkÝUM4¡à®ä%)h·æQ ¤ Ýj1F1ëºdÉ3A±ºÕ¯×6¯Vµêº<«Û=(ÒDHQ¯¦µ^H¶×kvÓgÌÛÈETb¤"M(03ø÷.bd§ÄE+:ò
û8°ÊülR(Ã@b°0{Ïãþ)¨õÖP9¤Î.ñUW® ²HA5¬ÓjEm*ÍîUìªÛ̸Q#%sÑV#Pii5F¨ZÔU÷¿jüWHAóH#2#2ÀD±aOé$b$ÄV!n#%ÿ:fkµ3²3\]z`¤
Äv(S@õÄî#&cRI6¢O»õæmççÛïÛ»õÝä¿{#÷¡ Sñ%ï~~êýå@[ ÀÅÑ®#2Í~ä\b Á²$âMNÖsÌ#&© ÷Z.¬#&4º¾F6"H¤$lCÆt97Ó ¹<?uïñwÈñM'SÌÒT8.Ãø4Óà
Ú4)!U&J!¥DãÂH6 ¹#%l(TbÑJ0"åÎ dðm,(d)B" hÛ$RgJ±mI(Ö#&c1Û(1¡·î\´.Ña"ÛÚÀ-0HB2-Ic æT¿'fÅ$Ú 'X«ÜâOoµâvvUX8ØM@S$5@"£&§Ázb¦eW¯Ô+PhÓX,4j6ÁX`±e0«ÔÁh!XV¬V£kbÕêÛ\ºP4uÑit52Lò䫬¤Ý»plÑùèGô¦îeD!®Áç#2CÄ«åÜ'æ-nÜ 8ú\B®UH@R8¡nÒÖ4ñôS±ÔÀ×#&tP$a$#&£N
×ßúVëguT©m¬ÒÝ9wUÈEN§ãL ²$DH\IK*`ÙÕ2Np,ëbF"´0ÑE¹Ò¼'®àÍ<¡ß3b"ðDÚñç³÷%î°£k å)X¶@Ré8Ïå_WÎÖ×Päq8ì4`À1Úm7Ymä%$ÇI#L+¬Ç#ƦcmÙ!+¤ýð¬_éÈmZ*ÐÎNýGü8FªeáUµBÝ.Ì¿¤âvÉÛ:Q7ßlÂxÐ=`È'Ð"w:ÛÃi¡ØD0TüõÇb7WÂTDÛ?UPi-à¢nAýD@ #2H $õPÓU®TJaÀæPù;Hö6©aÖýðûA8±´>¾ÿå0lÕ·íÝ÷¤ÈìzµüêRM4
¦hÓôá>1ÚÙñj#2j>JjÚêìîQö¿Oì³B¿_Ö±NJ#2ýÃ%*ÇEñê¯C¯÷´SÞá,¬»z.îa_Z3#M^0p´PEG¶ÅÊÙA¹¿âÑ©2ÈZ[{¬Ââ&6ÓèÕB7#&YµÄ8óæU¹ÍÑ´©q»®í.B4kdÒôãI=8w \Jâ®#&ôP#%1Y1£FDKH[çzwã~æÅ·¢wÞ¶¹êQúh&"´#2bÞw}==F¼¯ÝxmþêWù¼ïÚ+ÆqÖ+lc×ÚrÜÂÑT`ùI0>îÈáUNls)öEC¼ÓÚÝëùGÉ1L}YgjÛ¡{r=Rÿ4Öüûe°Þ20H±AÐƧÓ!d$rêѲ<cÆGÉÝÝ
Ùå8/Òò.!1U#4¦wpȲsH;3ëÓ&·=û!ÒFn÷bGD%\FsDe°&f´RÖyiÚÎóK×ø=i<ؼï:Ä°cÂ=I7Fð>ÌGf´ûÙ;r-^Þg×m hÞ®Æþ=eu yàÛ½`FvQo΢jð¨ Z]YÑ$÷Rݾ¹=IJqLBHÒ Ùá#&j¯ znÿÇ5;ÎOkð;UÁÓXäå¸c#2Ñ)rÉ%ÖÅõ6,D%
Õ1¤PXÙÞHèÁ[ÞºYAUé{Ä}w¼½¤ÁV/Oáâ#%á¹ÝÃÀ=¾>^\g#%'_ÚCwBfm¹g2¸úóo~#]ÇBvð6&hl{yÑØbW¬BD`_#&æ#&zd2¡òÙþ÷Û`´Á®u*06²§rµTJ"ÞIÇaÈ£§.ÜDØ&pldLVÕ
ÝÛDB¡ÿG©Ðú0ðu`¬ÍPñ3_#2ÔeUZUYµòõÖ4pÈRѶ.@¥`²ÄÉ"%0)¬<)SV/½®ñe~ï2Ù=õ¿³#2ZÒ¾eeÊñÆuYÃÑ[¼Cu
ýîÞ*¼ .<|Ú¤í¤×tr-µØеT©Ø½ã\tò,ÀÈq[q½XØB£9Î"(B*7#2^Ô$Ö] h*Å1Ùrß¿LΰÞ97rÓ=sUáP#9õÅÙ¬^N;pg«ÆïGBC©Hϼ5ÍcJ¨Ê;Nwç·pèPÛ·%Ó÷*³&0[#§·cZFO4U(ZjyB±`/zÞØz´I*I&§·wëHpá®éôý#%6e±RMî#&(BfÝ8D öß@5öàÁÒs9zÿßùh²§ÒPÞ] "üÈà$ré=A>`oâ¶ËzßlÕ«E¨ÒkcM³§vâõuM-ý*G®»Í^gd33uà¡·¬àÆ<Þ;uãè{²]ùfæÜÂ&Eºs-½#%GCÒtôwü·VÓøÍAcß8íÐ8ø¸ßem¤Ó ¬ÂVÆ]ÜÑÛd92hÅbh"¼ÐÚSÉYeÕB5åDH:cò¯W\Lû:õò£ËiТò£×dÕéåÑn6´£ìè;'#£*ÏëqëUÆÙð¶;ÄUH@!¶#%!HÄsþ&«56<-±ÍÎ:5B Wó;#&ÆàìA)hVÅ! 8Î-kéçü/è÷³+)"öÓù#2cEéR6õ2µ_66G!÷mÙà#2#%Ò¥Té"D#%²¡âøÓyî¤0AòêwNòk6[P;§$ãÈ(©ú¨i¤µm½Ôþ£4¤Èô*T¢É6Æ¢TáwVKGº-7ìâ¥âìó;h^È_d#%÷BCw&oú2Zqørjh¢,\Á#2D®iïé¼zv>û·KèØÚ¬ìð. |â¦ÓX:5iÊ»aO ^k"Aüoø?WyÝ¡Ï@mÝ UGåä{âF~7öùÂôURýXªcrG2%õåÖ%1ÜÝût¹Â\¸ÓBNÖy´x$3Ê}Ý.I?L3Ü·û`v(I ìäh·ÑT#&;|Lûú;×v©SR&t!Ç.ëú2P)ZíeµLPléê¨HÆ6~¬º$g#&Ù~W#2èK&3¥zÎܳa-B¥D%FJW*îÛkµRhÖ"Ûe³Y¦©¦Ñ-%jªlû>Éw=©$nCæ±rǨú ËUIE?Ó9Tj6*ýïßù÷¯R~÷äðó!hÌ£6H³EÓhMDRbcD£SddØ6M
bì×<1±>qtÌGÌ®/®:ùѯÓuä~qJI6mÛ2sÃa Ñ2`Ë$aÇi/xÝÒÙé @L@#&´¢®âß²®cÐüszÂ:ði§ûNú [ßÈÝPí©J¬ÔQÍFK¶¬§'5^/"(PBVÌ¡¶ïLÆô¸_mtÒjªrùº¢Ór}AÂd·a¬m3:2ÛM&®«X±4ô¬@Ë2éÅ̵IÆUöhóãßÁ¨r©C*@õÞ(üáÊU%@âI·Á5µÏ¤~Ø@Éþ·øs¾uláó!PjM7Í Â~Ä@4ZËbU1^ÎmΪõfé°·ÔVe½#2ÀyÑ°Ää#Ü»]Òæêí]#½¯;ÈmdBJQ£63Ä(ÁjR+dÀhF0f ÓbDðh f(`ÄB¢#2ºqªU$£^~¾ôÖÁ«FÑ©5¦Uâ®P¢U#&Di/¨x_40ífTe¦"û@¦+K =3Ll4åN6É>íDÔÊË) ê\Í4Eþ:a_µûÔágx<eÄظyfxK
*9Ï æ:þ'Î!´tmä[h5h·ÐñlìÖÍ&ÐóeK/F¸86T[7B#Bm"´¡ Ý6ôÔ¦KæD!ã¼Ûw,¢ë·_XõÝÈ(éçµFÁ¤f&#òB°\ºsEA0ÚlqÈ,eÚmM8f1â ÔÓÄÜ$A¦¬#2ÊÄô7%"UDëV).QÙmÖÚÁ 6Â*âÐaD«ªEB¡\+-£u´6V)CeFó J0Ô:7J`Ä°K,Ð7³£ËÝÇÞ=ït»¨«ª¹%ÚÔ&#&*A!@é\ËZ&%5´Ýèâ(H¡òýÊ IhÃ7n#&Äbç)JÒ+NÈÕh2ÈGa%cQ¨ðcécZzXIÛãʧFµ>}Ö³D¹1k«±'ÁÖ¸¸¢ôCMSLbȤ`ãFÔY<nÓ!lÞÉ"ï&µ%àÇ!J6æ%¤Â8GÓ Ò¯KÅF#2Gp`V$¸uF7ÊpbÀ'£C"T[¡sDPØè5¡DMJÍRJaÒ&5£f14I@11~Ï{l9äXÌ»Au±©ÔkJ´)°Z`oTghËδ"L+"##&3 X¡#MbAZ$I«`ªi9A#¸ êx¸-¾R6ðÄ6ùNr$0M¦ ¡R´4±ØåÅ(ÛzbéF6Í°Ý®#¥¹SxÒj·iE/&4öA6RCÉTR("¸÷2Èôò··IÐÀyÈÖÚ#&^¢WÌô0ÚÎTbl|_% ·f¤0µ,;53ãéEJÀczÆ¢*¤'ªQ#&£Ó©mWtÜƦV(jË`¦DM1-RpÅàéÛq4lTI$´B6&ÔÂ" ¤´ Q%Ì0B
#& ¢BÄFEI#%i/i,¥â!
¦Ì(R?xzùc$l6\6ÔV?é²hÕ5w®®þ¸®Gu;±ß+áo¾öÒPm¨¶Ø¡jX0"µj
Có`§ð ÆB¹#&:Ò¼?NìæQ"P{³wÈ̺ß-öÞª(û±L3½Â8~eªÔÀC=ª$#%DIÅJ4#%Á.[^²rVe5#2@êzW¸M Í×O¶Î00Ò °W!P'ß:D¯½Îyy0K8ÑxH({ì¬p£þdè»»b1±ÕÕÒÖÞÚë¥#&Ðh@ÏU!F Øe1´:#*Ô(¦µR¦ÌYLdÁ?Z\v$#2#&MÍwf°b0Ù¼n`Æ£j¢ÏEûþ#&a°°Ø9jn8ȤÃbÝo×PðzëÙ¹Vç`H³¢·Åç²ÖNY¬Ùâj±ptI¿ÐÝnâ{k%ïR;tÅôG>-§#ìÕߢW¥+húT#&_ðÄT'VÒD;_{LK¹DLá 'XÆîN¹x£·ðêÚöèwEï½ÕIr{7¥¤5Úm鮳¢§Ë«_XÂ|ctõõ]ýý¬»Eú?àú]»4Ní}îËΫÎV·FÎýLY>ò_]t¶üºG:±x`DrqWî1´ö1 Pá=¦HÊ¢¨T"]ßRu¸ë½¦ÔïÉéLjp¾!T!ÂÀ>ÞÊxz=P¨nbîZÍuÛ¿Ì°=øN¼í®F(AÞ6ØXiGÆÒö1J5/Ým~u«Ö½÷Î6HØÃçk*¨Ò*ùÜëȵUeDÜCO&Y®jC vÓ"?IXÚj¹¨ÞÃiÁ w;ã,¤Pî1mÿTp1Ùw"°+IAwmÅd¢^9µÚ-ãVìKr+W+F±£]6¶é«!¬lmtÛ\ÖMr涹³»Ù¹6ɵk@RZF¨"~ñÜ0ʬ²îÃxlÆËyD5E}ÁP]åøé®øfbVaæ}Aâd
ìâ-é©"tQïA[7 }Oñár"ÚHÁÝÙ»}WGçÍð5PqwÕ@_^
ØÒÁQÏîD?@9¦°=Óù©%G@ºZ>ß,»!DÐÄHÚJTB)(ª¡;{
xÒiuHbÞ`25 #2¤²(#2&º¶ºMÒµ÷¾{oB]¸P ÈK·»ÐT]Ñ "¼ ²&²Fª_ѾÓä!`ÐPuMÿÚ#%×ùâ^ØuöÕ4é4¤T"㧢ö´ êà¡Î!)x#%:#%vä̾ã´?éH0"wyR²n##2ùÔÊëÔ°Ø H#"&P)ñ:ڿ²¦fÉ$¥1id´i6,ÐÚŤ¤É´hSmhFÚÅmEKJÓ5MF¦TÖ±lm&Ôjkyùo_ÝnH Æ6ëY+dDl®DõaKÆÓl#ÊHFFãJ88cxŹ Fì#&0.5P¤@dxÃé W#2ÄÚ#È&2KXH
P(Ø:0Za¤ÃB"Q ©ºmn²¶Uʶ©6ÕIº #2/(H50`ëþ(bF¾"¶+ ÚPh»1píOÌ®×¥º½wfµãUÔD"¬HAlb#huÂè ¶ºÝcvpF|lþaÓ²H<ú[}½¸î¬¬õè¢E+Ô°IHÀ½¸NÆÈÚ,ø'u÷.0¦Û?Su
»¬44§ßl¼#&÷â-ÈØeåÄ0#@ð¿0#2HÕ8?/ú˺Ì{qK!ú¬QjªGþ¬HvCΤîÓ#2Rµoyvé]o,»*lÌ¡~òïZÕÍEµEmªr«
ê·mäåî
á¢MÖà¬Ì=1T=îfR¡I_WøôÚ³.ÎÙÙÒ×·Ô}ßñ?<VQ*rìÙÚ_ú1öéss=¢nRú+Ýð³=Z#IRò]B¼)«4UJ`ooÊZwìíä
¾ÿÎýðøHwe¬nã´¼CÃó#&ûK®'ÂÉÎå)çU¹µôBß>']ÛìãuÄt?-¿²)ß÷ÜT£¦Êv0}s/éÊÇ Ãp ?@FgJXMq.¦:)PäóÅQ>~nѤظ#&ÑTþnÌô©x¤BÕ?ª;ñM(°ìçÏ°ÁÓÜ{#YRͽKàèã®5¶ì§#&åÜí3×Xô̪Ԯa>JãñUÓ3øL,3ðqsZYLÄ8n]´§¶Ùu¶ÏÌ{}ó]\ï;¶inÃÇ@$9ÈSĪjíUµôí ÍLõô{µÃpÔ!&;ùT]2üd Ag}ÝÅÑè}Þ|ý³)3_æ{*ì'DìôÖÉÁX¥ !îº)¤ä$&Élȸ8ÐNI xxÿ²<ùbQÊn)ªÜÔðv× G³rvY£Ø!s.>nG
Q¶2úðؤ6°×eÊÀ©°ï!Û¢ò\:.}Jmv"ÚÌJ/\-\L!$a\fi ÂÕÊ5q®ÙI¤J
E0!A¸,ãMÀtVBZÇi°ÚG¿G{¼HÂ:¬_ssrû Ëg¬p\£¸æ=ÕקLãwI¤ÔL¾|iÂâ£zæJc¡'²k8YÂàÐÊf+eñðã<+<KkiÈMÅsR¸ùo¶l[5IDÌÄm¿5qÃ^ßIõ÷uêbmÊ䳬èáºJY0#Y¨I$îè¾>gܪ¬ÛÎß{QaÐ"Ç#&è%ÄïS1LNËv6ÜßBѳ%åfÙbªlC"´q8b(Ù»á6ÆiÇýN¼3Å´f+2ô³Ú§ß+]ä4R»w[A´iã3Îÿñý+t>ØÞ¸Üí É%äyxÌÓFñÅm§Ä½%}³Qßéuîã:åζ´âßtV±m2EF76S<רT÷×hÃÉÔEzVÆ»-¥²¿>g»Î}3×¾Òµê)¢º[EÁÇWn±³¾ÙLë~ZsÆ^Gwû;?§£Ý¬Ç^¯BïjæíüÆhqxÀÜÌyÙgn7×
íàóÉwg]tptË>ÙÓÇ.ï=ç¶Ò¤m®¯*ªëz{Ûå:ÊãÌ#&Ô°ÍqzC¿50½Ë¾¿¼æºóM&_ Öqµ~/)Ckh´`¥BÃh@ºÔæM#&Zã¯PË +ÐDHØÏÇqÙcAÆÉcu§v3ÈÆ2¤ÓÝÅ!×s\ì/6£Ör6DuÃ6Êc¡Mê,¦çg;°þâÕM\¡D¡¥½eñ®
ïÂ×R\»Õ2NqÎÚ1o7<ª6gÇæ6i Î5îOÊ& ¦ Q¶²¼B\8bÃrí#%µtä1y¢:´ØèÙàÙÈá¸ÏÝx\cÇrëÎÂ3ìã´*Æ#&«Bz×Q G4¡V
uÃ]üÄ3h|g/M(Ð*ìò&1]å:LØÂoìöklÃî°N0d8ã¯.tuÖ7Opap³ØBð^s¹vpÁÀÙÃ#%rªvch9#&ÇÚ#&ÂHFtÂc³îT)â#%{¸(U°l#%Â#2!"¥©çjG3 ·.×·¯,³ÒÅ#·CBÔ³tÒ¬x£óxJôJê5© Ë#%6ªsÆ^æz±¿vVD%hÍ.\Îêâl¹75ñ¢Âª×Ñ×P¨e\]uë¢k/7y8ì´ea#2$¦ÝªÂPQ¤g62T6ðÅ1EpÌ©÷Lä¯*gûsTdxmIÐqtÚçQ´ºX~íã>żÚ9qÇXè©iIìypCïÖ9¨¡UM¥U54äoÁ¦¢ÅOÛnq6:aŲÙm= ÷.Èܵ®½+j7}ÉÉÆ=FÊ+ÙÛH%ÎKµÊÚ>nUñÇY PõÌÄ5°F%ýÎD(Ù÷®@ïÏ=ø
Ì´ó5Q½j×1ÈíÖðîê]üÖ´ZvÑ$Qøó)lbÓø¾Ò«¯ªÅÏ;ñ,Jé°FëJ³ZiÍðûË·0!Äé8â¶*Äa¬kèídÍD>"ìtËFvªX@õݦ.
$P>ÊÞkÀÝHrnc^Á¬!x#®°ÍÂØÛ$غt¹mýqG]öuý¸«Ç°y_FèYòÝü-Îòæîü_hÕL0x§F¸®òéoËæÛÊ»¼jMßÅ@ïU>NKÆG}»àÊqÀá<pÍ÷¼O]Þýx9Ï>¶P®2xQwÊr̸i«RÕ¨G\Z2ú°Ì<beQ#&-ß1fÂòFÔsÉMW$´½ :Èðà>.Ãx[CUZØ=íò7,Èh¨·tyQ»xt2|\àüNØfd»Ñ]{½h3¦L££¥oÖõþVCTîàv¢lC£0°böÓrÂBܳk;Î%Ýä¹3½»#Ë@У±Á×DyBÂËÆp"ÈcÝܶU#Uu#2¼yÓ×!Ó"Ïu*ÒlA=G8¡AR4¢h*X»êW²ÊxÌY'*XÁÐè¯Nðâr8Z#%`Bç+««"Pwr´¾ùã6« I2 b ©¨óù_ȧ_`!»ÑYy¸§½n"xX°íØ)ϸ+rÌöü\.°.9C¨Oy?àP5ý|¬¶Û²'abÍúÿuõrZxsC¿ØHÃ<bGAìG2¢RISªý
xzÓÊG¡8u§B'¢&ðàkÝæÍaZS#2üî·îfýµ£HÌ=nó[E[&¦Þ´U6ÛDfÄ iÔH6À U¡V0l0+(Ç F6VB$UHÒ+IA kökkÉ5-EV5éµÜ¬#&¤#21!f°Ze"È v°XÚk¨¡
AQUd+3£0xóy³÷ãbÖÄ39#%0ÃÚ
m!xi:IDXÎsQa~wé¼mãnEɱ-j×å[E[EV®UQVÛzn[CLµüÈÌß×uJ«x>Èf¾«¬xå²Ôè)oò÷±c`ÒÅ#2ÝD2¹|ð£KÃp ÓmÛ\ãÜ#&hÇHiþ£f-+°£W ¾É¥SáîÄC¦´ãF VbáÕ¶#2RÎ|3M±A¤« ÊC*#H¯zÞ2îƳ,"Fe#2bÒfêÔqͨÒm65$RÂ]ÔV6&cD0J墣ܪÖd%í:»wL¤t`¼¾Ùl¸öL!PQlª#2@Y0Í811tîåÁf²ãuDÜv1·^Æ^Ó+G^9ÚË7¹©¢4BCQV±éµjäƲãÉ:ØkWW¡Î.sVÊß#lHccH®Ñ³r"ÆÖµUKÁ¬¡Zª:K_øÖ§<äìÝ0Ìå;ĬëÉD5AB##¥#2ÊQãi÷cÅ]c®D"s#m2l4²©½\Êøf%+XIwÜ&]J&0gHnÀotÇßhsb'`NÂ7N8ë¨ã×gÇ*Lá9lwÕqï¦<ÄØÔâ ¼¨ç#&KªÖ¡¦rtC%cF¡Ñ¸e)JahÜÐá¤0m0lbj/´mæâÛÉË+·§;ÚØM˧Ƣ"¥Ek«ÄÆ!««5´0Ê5C9±mÝF?r1Ðu9ÓðÛëÕ
zr¿JÂFÓDu5OßmÉFùÞ®0&i±³`Ý0ÞÙÌÆ#2E{]öŶ JÆ9yn°¥#2ÓjºÀð,u£¡kDäf3 ßDÌæÚ¢&n\c§xBÂ5Ä´ LaA³ÒI$¡@ÚÏíÊQâ#2Ô|WPGÀ@£cr-HëvSNÐ4ÐcÕ¸3ÎG1̦ û\Ñ DNx°¶e)Ç»$jÆgdÛFú°\d#3»¸HÈmÝ&47,ÍÜhZ5@Á¢g5`®fV&·xÑ3¦³$*&éPÄ`Íjq¥#&4´ñôAM@ØÈÔjA¾ÚÌCYg!zu:ðaÆr>aJ,^pÆ-jvø¯[Øååë>r©¨°aH£©eÝCmxäÏ@Ï»_í¯un©Lk,§åµ~áÅ(i*HIó]>f¸Pï:÷ÏT!Òe!ݧj©ÝV3cZ·#%Ò©Le·gòJ$UT@¬îô)WÜÂÃMx6OÐãueb˧Lf12*ýO ¯©!àþH@ßôúú¨ª#2q¬â¤¤¿«³À³Bw«ÃzQ#Ä»ºû걿¦vaH§ öÁK8?Oícù»1V6
-T®.S3áÆosÏn7m#&H1÷w&Ó»vlÝÜöúda%¾êçµãÄy£Ì'[#%ÜàªUß
%ÕÁ(ôà ú¡¬ë£Q:§ð¤$hCsÈ!Í ^æ5·e´v©µahhH Õh@©#%BD%ö¡«#%nþÍ<yÕ³²{{*ܼ$"-ST)6ÖÃca#2QH¤¡j[2ضMIX¤£lIY4aÙQh¤e¡M5#JMQJQ *#CZ#&D¤KFb¢¥6E*ai&aÌ"R#I ª~ãIÞW¢`@y`öNFÔ2Ùo)ØÎÇß7®Æ`û·#%¿3¡«ñxBFoðà@x=>}¶ÕyÐmôî)'º¶+hy ù²#%6Ú`Ñ÷#&âC:à«.CN0aÄ8¦»`ÊI±©µn|5>ûÓ]±.üÑA! ,dðå¹~FAÀÜWYÏoRtnDÊ0bz8ÛÉ$
Ô9ío#Ýçã ûµu}±z¨Îìéº2ýº7ç£V)k±Ì-N¡¶óùµ~[VûQUVÉ´DVD¢5IV(úsiÊÏ»v®eL
J¤}ia,Ë¿À·$T¡~Ìfn,¦º°W¿plò.
DvZÃsîË£Uø¸º<j*(àÉX¦¤Rb"m9 ØØ[SPå+#&4Vl±âs-IcAX°ëÞíã7ºòd$ìå{yÚó4c)®Ë{Jòi¼[~×-f £t\Â[³¼BÆV"pAÈȬHKÑt=Ðí½íx#&Fæá`rgÉ ÉÝL\#&hÂ÷R¹®5jIÑdbRBFyÔ¦Lö`6 t?DØuâñ·U"tqaì!¡o@Ñ0Ä!ß!æÞÝY0GSRFÖÚ²#&¶ÅVÀb#&Ü Éx²HI$p¨¡Éz÷òÝ&Ç@i¢d¥+Å-= Zôö6SÍûñ»Ù+ôû »» jÇøB{Ú%ÇÃO1L~Ìãç?NÉÕùÕ³|¼ KC¤{Òª¡ÓuËÆ:Dx µ%BÉbce(ZÔÍ<C<ýCÞ#%|fýû#2ÐÈÅæö¢Ðñøòðþ'ªõ\¦%]¼1ë?eQFûõ³S%U©¶®ø7IAOIò,#&øFS@ÒÂ:¼ãjÛD¼Ãh=u4¯a±wòÉ÷^Nfí3ð5HêÁïFChm-°B4¢ÄÒÝ#%-Ç¡u×=«B/«Òzì¢tøئÊû¡:-rQ«È÷P%ËSkÚHHd^ó²Ã¯-Ü ÝnÉ4=?)7.À6"i4#ùåïÁaë
EQ¨Täzöýæ¨=I2)ï#%:ÜÈØÛ{Ø-¨mxHW¿Ð£S^ucË åíI_ºj#2¨fL}Û¾´n¸9Dôî2O·èx2EAdUL}cнõJ;}_·[±Pe#&HxG~#2³ÛêúLÔ÷ß;縺òæ3>5!6ô²Þ]4X`C$K1Öì©®ïÅ#%ylñs¸=a̬j÷ÐÞ²xYôwî#%ËÊGÏï~yÕ¾rª ¾bQWIqç¥zÄaج-sü5âk®p¸ªM¡isOG9,FHÙrv<á·±¶ucâvÈ{#H¶»
|Y°Jwa¢*áÇéÊÎxÔçwèêªgA Z`È 0#%TTË¥ïL C@kóY´ ú¢EE¢s&äåEØ»Z7³| 9É3S*aÉ9Ë2XÃt¤ÚQF¼ì/BdFl¼Í aeé8@2ÎÔgÝ0IqïÙا]:4¸,m"HÜdÒ+·Nz5ÖDoÖv ¤Ä"T#&¤øét<×@.$¨mR¤DA±ê?aÀ1@ĦF&j`l ÖGI, v¦!Lµj1AdàfTÞCl1´ëzñj &1¤4@Sp¤P,Cåȹ²ô ÂA`}³½xQ¾L@Em#%@0É æ2ÁSvªt2BC¢#%bõ£Usåãë¾Úã
À?,Á½òu¦n¤Á¤n÷LÈ°ÎMà&§P,ÌKI(aààeHÃÃúHÒ3S{×F®qDPn¸,@(b $¼µ·e&8Y'ÏÀ7äX{OPà»OD¢vkbºÆxå
«8ç,-¨aCRd#$ìÜwÍZ
EÊ)Iz°QC=t£9;`g»*#%
M30BB<b¤xD©ñ¨SvílTáï{ÖóG§L ì±ÁàÆ;:ÞX#¾e\$Ò<Ê,do®b9Î#&aÝ]Vñ ò<z6:kcç¿YÂ%Ã^øPM²L¦aÓ\¹¤iÌNÒ>,}"D[N#ÙPK;äz¤"§Æ£66 A»m¶ÒÁL\#ÐÑÎLFe¥%ÌnÉètHë6³cRúÍ.Iá±cyEí!¤Òøq È#2ÕtØ««èàlÔ]zÅd1ßUÓ¯(Ic²¥ËOz²ëgÄ-¶-<µ2Í<|Rï#_ÑÓ´ÆÖý$ãcR½7qÖ$[¬vÚÜßL*¢7xÈè:»Ä}#pz8±XÌlÃHÛ&g9¥Bµ¯I¥UxÞÅ5Ì<ºq5ÏNí¼ëñs&âiÒ¥k©CV^<ÛÎ'j¢dX
Ï^u IÉR£ !n¾<ëVÂíù¶¼ÁY±¢_ò·gb`:.Îå@õ½uÆÈ«¡É®H@±Xj7f$m6CvÜÇ<ùtÀÒ¥ÅÌëg`us"¾´[Ô7N&2Ààá¾A¹%qKã¤}á¨ÑÂü(/³%¬è aÁ&Å"ha,J m# c,´@&4s+aB`Þ¥ÔY[3"LÖD¢ÚöfD
«&ÒM/GEð£¬ë5`ÆÉÙÀØ+QPd ½îåÙ@ÄððüWe9§àcf¡øëtRn¶xB4C3&ÍDv±¬Rö]²LDÚâ`¸ÆÍDºZ6³·:¨éHá~«ýÿ|¢Û.eÁÓdRä5¯,_#&ÏVÝø×ÓzI FHpÝú©åÊ'XòXxë§65;f®PúbSßrÌȧ=-1L}_.B5¨ù¿xÎIl°´#2Ù5ìá6Ѽ߰&X]Y)5¨!%1aïËq¼Á¬)@BaY5¹¿fúXÀÝ VMèÝ,fCE\%á1Ç5ÉòbS$5ïï®\øGY!%ÞåÛ³·UjÐYÁBJJNÄkqÅglª²`ÞÁR%ÒDhÔKÄ9íÆf\HÛIFf#2lì´ÄÛTÓAezbÛáS UÍ2CÉõ|ñ¨Ó¹dRÎÉ®òÂjSO2:rg¢'våÀuh(uí;VPYêX©gaÄÓ;ÌE2èãÉ7nɦïÃGåÐìºC@ÂEhÉÛs×:ÜÓ¥*¹XºµPÅB#2h9ÒÛûÐI æ¥jTnC]F&&gñI4É"mE#2òCªhEáAFH"¸ªPÕ5(+upuâÑ`#2ÎÓ^ýAh¯GeÀx²¦ ÙQ`uQ 滳TÐ÷-0#&#&LV0#&9sS'YmŬb[¦®Ð`Ùd¨3¸hÀFÌ̱UL#2XU75Á# )EHP°sÙEUqÑê]hÊ4,¨6"vA³µù±pFÃTêlÌi4ÞÈ@Ä¡¾ÝÕddjÂÒ*¹m³@È°( åÇXbdk0Z$a«¢ÁM$Á50#2éÐÎ(Ú@SD]ð)ÁÏ<uî㦱HrºâÄ¢78
EÕ3*L"[!agE"b >¤òóé>F=¬r(¢¢"Àc^á#&áËoüa¨gëÚ O Ô(° 5ª(TC?#&ÿ´ó#%|3¿Õê>.?z"=VméÚcö{YëIi~c¦7Y:(4ÿ!ð-*n°!½C½òïQųÀÚL[G2;®
pÖjoÁ&Dx^3Hf¼»HÒ0Á¶l\_RY¯g5U׺¹*¨=V¢/énræQ½ÈÀúäM~ºÂ^%J#2*Ù©ÆêÎ=Y¢æÛ½4ÉÀx4ªá*$îj&Gyr¤N¬±CÆÛrãJ%¼õC^z#ï+H¾r&2qx´. c0Ô饺?r{~£&6!ÌTÍ@Z¿PTV,)qKëÍ(+ÈÜnuã#&¹£è{Üò³µÎZcci7«[+`e¹Õ@ê_Rú«ùãé#%D§²¸p~ÍNgF[äL«3õljèª~h¶ÈnÉËðÓ%è#2{ Õ T¬{ÒÂè#R
¨ÐHD7ð9QKÄÝÀ*v´`ÄFÒÁVâîÖóIF¼MNóºkÍÜ#&´ØK2Äé%#¸b*i ##%Ôª i M@h~zLÄc¹×$Ò¨:énbª&±»µ'¨ÃT8ìÚ¡,Á:fl1@óÑÕ×;goCáwÚµîVúpDèNA#%±ÝC3òÔ##Yy*ÉòÝ´bxF 1:HñÜÂÛ#&¡]&!-.u.$n*f×ÌÙ®"Po(OO0ätpdÞÇb<iÞöÇqð±áæ¸y6Æm©#ò)'ɤøû¦ùrtzûÊÉ(>à°ò¬Yȱ·e9/958ãMHÀîí¹zç£QªàÈ\`ReË=-ö¦§æeLÉ·(É» 0!#&©TO¬iæç³nÚ"õà\ÐØq£GÇÂÁï»X1g(ëöö÷CY¸i±`ëû8|-#&æâ±TV$<h*Úfì¼wà3àeFe\D{#%ú¡L%ºÚíEµú·V¢Y¶) Z_T¶KZ5¡$TpDXEnÅq¥!J±*ÔY#%léÃDÖ¢ôÀ`Ov^yQHR¤.#%ö ¡³Ã*ÛÜj`pËOWÓ¾vØ´³d²lmU¾W¿Éòo±MJ¬ßfû#%#%$EI_gÕíß1SÃõxßHãfÎa´]/ÃZ¬w®ã©1nNu>D/Eó^Ų81Â#I#2x¤Ñla4Ú8%&²\ª´Q$QÝweó,îÜÅ\.½wVÜ¥ë[&Öfëµbó-rÔót¢²N*tõ\³3¬@ÔTuã%3Uw)aiCeÌ0Í-i÷('bt¼>$°À«Î~ÃÛLÍÉÍÆPåYÉwyQ¢?ß9PĪØÙ+sè-zÄC$lP s^Î!/MH]ò(ü|o¡ë.H (ëP¦"I#2§ÀÈ_]HnÁU©Ý6.#%Z² if(¤7»E2LxZÉ0]@~W(b¼HtK1ÆBÚihQ¥C8Ùj£Q+ÄW]èĤË?Ã~#ô|¥àOFÈØjÓÇMÜD£í)×ï¬è:³Ö§² °×b2A%J$¡y¢pà8ÇÈLí~¤ú´väVÈ æ(^/$i¬ÖÑLÚMI5,´Æ+$¥m¬jÌ5 ¡lÚ¶Ô~¶ÕÆs]I@bÅ(w;Íñ#&³Å=1Å®À×Ûõàwsüf§1Ñ#%í> hmôõt®~KÏoFlH²æÏ'§÷ñæ{´ÝÄT=è{OuÑ2)#%(KÐöÆI#1£}øG:µÜáÒGJ¬"Âc.x"MKKÔP|ûé¶õÔä4Ø-J[hyªÃ³¸E"#&ÇðÔ#2{IÝÅHƬ¥rîKÎ(5p1fºÔl3hu¢Á[á#ä#-ï®®3À=Ç^\¸CMÐ8î¼[§L]an*ß.hÇÜea[£+}ozÛ)pÆÛS³Dn@Y#%ZØiBU(nC- ¡u¡±úµ»|â¦ó×#%>("ÈÀEõÝL*°J.ÒÜ¥Ðoó«Z£Z[aÉÂ_°õ¦t+ uSt¤,Øü0DQ0]~K ½¥w,îæ(#%®ß]Eö#%,B#ÚC¿ Âtlùâø91.^lÀ HÀÀ1#¨M¯8òºXø½¡÷{Ê$½½§OÚ*ب¤ÈÕ'3¼^±EF½[ç°ìJ!A1Èe ê©â÷æ|ý{|ÿ£oq;ÌHçá¨ÈÙâhþêwp'Qµ#if`!ë#2,íìðÛÕÄ#Á°"7süX¢÷î#%üíßwøsøIG=_okn«³cç50.=´l×ÀþÊ:]¬s_@[ï(¨xq¡OSa#%G1×#2Ü£ÊÍ'O^¡AXùè£C%κDhÒKºº "ÈÓ+èï0-FýéÏ^^y븶pÑYE6BÑ1/&ë W²X´U1Ü·SJÒ#%´Â/é
G¬ýØD6mÙõ{NîùE_¾ËÙî$¬Õ0Fß6@ÍOÝâ#%¤PV A1R]ÀÜ=H!I HQ!QR±´Y#&,ÉTÙµ~ËêÕ~½ôAFb¦£lUJRjû5RB!´O¨"«hÒ¶¡EÄ
Ôð"6ÛvÔ¼j*øJõ¦î¹²)±¬-eX£XÙÆVE³AëÎñm¤¶¥M©M}þÚ¯"z
#%^ÜEWü|M]ö>_òuäI;Õï&½aÁ£'´}ËeL|ó*j¹ý|p qÜ ¤Iò!=æä8 g:óÈI¼óDòÌq좫Âßï`±#2IgÌèA<LÜóa1¼
@£lÅ"áúPé=Ü=w#2[@ÖôªkPú2¤L#2ÓÚ@P^H!JSÚjh(4Ö¤µÍÒV©¶¤ÒQ%¨44Ù# ÜÔÛ^ÂaTþ|¤P5(V¨¸^T§¸¥XÈ;¸Ü{x|Î=ÕDú3Ùá |5gÑ«õk¯Ni`MÄǡض
³³8_K#2ÖCi÷£H,XQ6»®:4iØò¯%æ£Ú®[Ú:K×lcúé#lÌÍûCP\,{Þð«ý Aã¶ùi~N7dÑjY¦%IF£-T*#jj
-ím¿W°¢´Q´1UPNþã§[:Ë4°P¤*O14*èüæØ@åR4! £iúa'nä:
#%DǨá>Èç½vìºî¥HÿPA%j1mÔ¡ª4%X°d$$`A§¨hì5ßw;·¶Yd¤ûÍ}¸ýlûP¡´gø«,GÓb"jbG-ôÔ6ÅuxPcKó|Ý2*ÆÀ(í{ÃÁ,µíbJ8,,NÎúµ¡´ðÿÁ£qENBÒÈ¡u[DÝ%Òjh¥KzÍ
vÓ»6»»+ƼÞVº¦ÑdÖô«¢Þnë3vfUuÍÛQW;PËdYjòîÆ&×wWw[I²¤¦60i6
dPÑ`Ea"J« #2DA¶££4ÛÓzòâ*¥4¶MIUéZêÞuuçm¼j-fe¬¶R×Ü·k»u2¶]5ÒW T§&ø28xb¨µBúÐKa#&!4A?p×Uf
Ðjbɸ}o>n½«ÆÂ`¥íhÙ¨-RHøä¨mGôi¤Ê[Fh¥Ì(1,ÛVË<ó®fè¢mMêÒ£úô6àdòÓäcس÷¹àÃÕ .ÂIÈg§Rz°±¢D+vëÜKÚi²0`R¥6Á¨Ö6<[Ëq.$-ݯò{ÿB Äõ"hjªTâé|'Fux6p·½àeÂßO3fBvÞQH¢+R3x\ëØLo-~ËØBI©ÐD*:6¯9zëe»ÞýÃû9m¿ì/TÅ~Ò5«ètùÉYw]*OMo`ß©±-é¸$-
-Q4ÅHÇÚÖ;j³z÷É=¬à$-ÈS2Lf_#2§ÆzÍÃT¡ò³~Ó©PßÇQ#&tȾúºy²MØ°'ã°ñCn¢¬)ÕüÇÍ(Y`j¦år6PR´L¶#2BÇ":cNLÉìN±6"¦{u³#%
/Ó#&S_ S´ø#¹Fý²Æ2WRÐ E°D¢4RÓzº³JáüS¯0¯×_ûÌ=®Ï££GbuwtêÁ/8ÚÿÅÌMÓ> E¶#&#&Í{¦Â}&OiÜð_ï¡#2%ãPfÙæçR-)ð¾»kg(9ªF¹%ËQPÏm@gU|ªÖÞm¨7
J?
0Ý9$¼¨âñ#n7E°Ô*éÞ:;óШbÐÍ@Ôb´¥àp1ò/fó]CxQ"1Nç@Õ=¢ßziÅ&ÒN®G!!!ÌðJ2Lù_1ËPW#%#%Àk=Æí¼ÚÀó!Gw$ã`í5Ú¯#¤â=$C à÷BÎgiãîÐȽÌË;[y[Od6£;zù=¿¶Úxºk×í¸">Ü@- ?¸"i½4*ÊÎ@3»H¾_hr¯nS@!POaìG¯ԺïÛ±d|kZÉ#363 +""#ÿÇý=^¯Ëÿÿ¯ùùþòÿã?óïçë×ÿOü?Óü×ÿO~Ú6égú§ÿßþýóå,¿ïþ?ÿ¿Ùê×ÿÿÃZþúßþóþßÿIøÿÏèÇüý~Ïúÿ¦ßoÿÏ4GúÐÿ×çüßD& ô(ýäÀÞ?<G/è4yÀ)R¦AWèþMä*âáÁª\ö?Ê¡+}þéMk#%ø*ÈÝçó¯ô³ôw;º$ 33èÖù[G£#%%Ë=Ù z5Ú]m×G$*dSÓB»Ñþ*¼|²ÒIÐëíß¿jd:m(.júE·7n·¯ô©èÉþùD#Ü3"¼$t«çvaYáGæGéÿ{Ýó<÷oùFG3Ñgî¿oáä{Ù8ǼOOÞJW/ùÑÐËJ#2,K&R@#®þìüøÍÎîSJ.׿oWÿÇ],áÆøËZcé[¬îVÌÏìâì{R¦¤oèdkÛºÍ1±Ù Ç- :ü¸1?½FE2ªw´o[x÷å¥OÔ<ν]`8¤gf«ß]¸iªÊÕi¡
T°÷´ófSz(vSa·V5XÛlr¨3QQÖ#&ñx07µ½46âï'²Y°²]É$0Co«Ï£ÁV-9¼R6wsCZÒ7PeaËÝÏy§PöCAÎÿbf´Øäì¹ÊÅLÅñ$$b1kؼ@Ë¡ÏÆù Û÷eN~%5mZñ(7×fñ]gZtÛ5£@`lU9çrÙânæöÞ¬Pìþê8yEàF ]zͧlKMò±TÞ¹Á±ñci±1ñ<@Ï~îK4'
+.ãä÷ì|6á5â`ª¢ÒLòºG§^~w\ksz
ì3PEAVOLT
&:ríéCRzràj@"Å!ú\69¤U¥#%=âÈ!<±(Ç
Ë$ª#%$¨&¢5¼¡ßåEXP3â·Õ{]/{æø»ÃI¡_¦ÁË'qEÛ$ÄBLtk¤G3~f²ÝÜëPáF¢B%´¤LjÄÔJlZ²Êem¤ª34#2##S_=ÛW[m¾µ®Q;ô>'Àg#%ÿ!þØ~©j*Óp/Ûî_mÕ{=nv©¶kj÷sø&ÿ.OÌÿ iúå¼mñµÐúÝzËÐÿ³ÏÈ~Ƴ^ʪb1gÈJ¼|;);?ã8àëÅ{fõ{ák y>°É6Éc8ôß×ClùÆg¯ºzB>Xä\vúå ÚÔÙ¢»áXòÌÕ»a#2Ç0ÊË¥OLüCòï¬üâpQÓ:d³cT#&0*hðÍôxTlÔpFç¢ÃQ ô\(÷«*¾t¬mè¼e¯Óâl¶)JodÆÜ2Êå 0[â¶ùÛ²Åo+}msRmÛ±ãm½(ÕìµoSD# ª#%iB$ÊYØ´Û®ºXrCF$6a!¡§àÊ ÿ¬L'>¶ê©&@æi7#2yM×zaòF,#2"õïÜo3Þ=ºëU®FFz©hÜÄÓÿaÞwìº
¹"ÈÜ9Wü>·»é(ôhóGr:g@¾=ü̸¨zã¬AÿÓX±WkµÇn¤h*,AA1DG¶«²Õô¬M^¯U¯Í"I E!;½ïgØøý#%ÕAßÏÎïð|=,º6ÛbÐüg`¼C§Sòò ÈÿðÇÿh
Oùkü í&Üø¤ ²)þ¯(E¯ù¸y.ËÿTþpÿ(ATõB{ÿðlÈ-ãûm¿·H³Äå ÿËÆþßþÿüG~»ó;#&<t'5z£t»®<Ïxïî|^gx)ì<¥
ÞWàNø÷KÿÉÈjÿ¼@î)ç!<ýt»¢~xÄÙ|:²uÿÛ¥[Ø°³{(WQ6éÿ÷ëÙïªßåf'ÿÆ C\T¸Ü#e¶¥ø(µÛÄâ¨gß-W³50ïÄ>>{N´@Î++¿±7n¼¶Æü<#Dâ¢Zò¶ÂA
àwùpÌM6>Ý!/Ôü¬óÑFËÂ\d#2O»ãï)¥M¼Òzö=Ú|ÿç¬j36úõËUcO8i?¶ä!Tõ£Þ$#ñ}@ÿrE8Pü¢
+#<==
+#-----BEGIN PGP SIGNATURE-----\n\niQIcBAABCgAGBQJaias4AAoJEEm0xnwFJ3qqfmcP/j4ITHGXd3U8tRn4hjvpLLkT\nfTMd9x9hBEwwRqU0EYoAp2+yIoUKvb5JERF0YjGUWoiZqxEmGGp5BFSOJOrYhq0V\nsZIE01wrQQTYMn1jfoXhjywyLVdyMpl9hgb2Z7DnF9GgzUsd5bPWmoNaCMkhZjuD\nSaR13Ff0hAOVIt/fNoJiXYJ2ICDRG5LGKFlkxy0ykXOkrKDmdah4DV6MGVB/tS3n\niBhxgqMc9ILSFQoEQmFAXTid8Ej0OBj+csAk8nvbCEiV+k74BozpQ+QVfR+agX+K\nnf/oMed8F1jKa9uydbvcEn4SXXEBqKztiKvuCGmZIO3xKd+46+5Oh51wKxZYNsyk\nlYBAA/fH8fOZqMzTCRGZM3q6EnKf+zwGyf4lFOHuVzeXHlfcZA62V1Tcr9aQfsq0\n2saI9S9JsxEpFvAa4S+x7oQ+VJ0WM5XLb04KKFgAMjK/kW2Nw6rYQ0eNCdBX6NCc\n6LWnmmrB/TauSNsJSYIfICoKuv+hebjbSIQa5n1/zQeWYt8DKZYS9Lkwl34vMMdx\nDzq/l7QL+I5Z5jDSVkzRS31/K6T6RWiYFzHgabwD/DNBC8cfG4RwTZIEO3C8uLFy\nDo0MG8w5NFkMk7t0KQtBPe+7BK6Nv6Xo5mLTJ+01INvmgHavhgH4bSyg0kD8MbGS\nY4cOEMKnUkHXCpvXsOLz\n=9X3b\n-----END PGP SIGNATURE-----\n
diff --git a/wscript b/wscript
new file mode 100644
index 0000000..a815deb
--- /dev/null
+++ b/wscript
@@ -0,0 +1,171 @@
+# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
+
+from waflib import Logs, Utils, Context
+import os, subprocess
+
+VERSION = '0.1.0'
+APPNAME = 'PSync'
+GIT_TAG_PREFIX = ''
+
+def options(opt):
+ opt.load(['compiler_c', 'compiler_cxx', 'gnu_dirs'])
+ opt.load(['default-compiler-flags', 'boost', 'doxygen', 'sphinx_build',
+ 'sanitizers', 'coverage', 'pch'],
+ tooldir=['.waf-tools'])
+
+ opt.add_option('--with-tests', action='store_true', default=False, dest='with_tests',
+ help='''build unit tests''')
+
+def configure(conf):
+ conf.load(['compiler_c', 'compiler_cxx', 'gnu_dirs', 'default-compiler-flags',
+ 'boost', 'pch', 'doxygen', 'sphinx_build'])
+
+ if 'PKG_CONFIG_PATH' not in os.environ:
+ os.environ['PKG_CONFIG_PATH'] = Utils.subst_vars('${LIBDIR}/pkgconfig', conf.env)
+
+ conf.check_cfg(package='libndn-cxx', args=['--cflags', '--libs'],
+ uselib_store='NDN_CXX', mandatory=True)
+
+ boost_libs = 'system thread log log_setup'
+ if conf.options.with_tests:
+ conf.env['WITH_TESTS'] = 1
+ conf.define('WITH_TESTS', 1);
+ boost_libs += ' unit_test_framework'
+
+ conf.check_boost(lib=boost_libs, mt=True)
+
+ conf.check_compiler_flags()
+
+ conf.load('coverage')
+
+ conf.load('sanitizers')
+
+ # If there happens to be a static library, waf will put the corresponding -L flags
+ # before dynamic library flags. This can result in compilation failure when the
+ # system has a different version of the PSync library installed.
+ conf.env['STLIBPATH'] = ['.'] + conf.env['STLIBPATH']
+
+ conf.write_config_header('psync-config.hpp')
+
+def build(bld):
+ bld.shlib(
+ target='PSync',
+ source = bld.path.ant_glob(['src/**/*.cpp']),
+ use = 'BOOST NDN_CXX',
+ includes = ['src', '.'],
+ export_includes=['src', '.'],
+ )
+
+ bld.install_files(
+ dest = "%s/PSync" % bld.env['INCLUDEDIR'],
+ files = bld.path.ant_glob(['src/**/*.hpp', 'src/**/*.h']),
+ cwd = bld.path.find_dir("src"),
+ relative_trick = True,
+ )
+
+ bld.install_files('%s/PSync' % bld.env['INCLUDEDIR'],
+ bld.path.find_resource('psync-config.hpp'))
+
+ pc = bld(
+ features = "subst",
+ source='PSync.pc.in',
+ target='PSync.pc',
+ install_path = '${LIBDIR}/pkgconfig',
+ PREFIX = bld.env['PREFIX'],
+ INCLUDEDIR = "%s/PSync" % bld.env['INCLUDEDIR'],
+ VERSION = VERSION,
+ )
+
+ if bld.env['WITH_TESTS']:
+ bld.recurse('tests')
+
+def docs(bld):
+ from waflib import Options
+ Options.commands = ['doxygen', 'sphinx'] + Options.commands
+
+def doxygen(bld):
+ version(bld)
+
+ if not bld.env.DOXYGEN:
+ bld.fatal('Cannot build documentation ("doxygen" not found in PATH)')
+
+ bld(features='subst',
+ name='doxygen.conf',
+ source=['docs/doxygen.conf.in',
+ 'docs/named_data_theme/named_data_footer-with-analytics.html.in'],
+ target=['docs/doxygen.conf',
+ 'docs/named_data_theme/named_data_footer-with-analytics.html'],
+ VERSION=VERSION,
+ HTML_FOOTER='../build/docs/named_data_theme/named_data_footer-with-analytics.html' \
+ if os.getenv('GOOGLE_ANALYTICS', None) \
+ else '../docs/named_data_theme/named_data_footer.html',
+ GOOGLE_ANALYTICS=os.getenv('GOOGLE_ANALYTICS', ''))
+
+ bld(features='doxygen',
+ doxyfile='docs/doxygen.conf',
+ use='doxygen.conf')
+
+def sphinx(bld):
+ version(bld)
+
+ if not bld.env.SPHINX_BUILD:
+ bld.fatal('Cannot build documentation ("sphinx-build" not found in PATH)')
+
+ bld(features='sphinx',
+ config='docs/conf.py',
+ outdir='docs',
+ source=bld.path.ant_glob('docs/**/*.rst'),
+ VERSION=VERSION)
+
+def version(ctx):
+ # don't execute more than once
+ if getattr(Context.g_module, 'VERSION_BASE', None):
+ return
+
+ Context.g_module.VERSION_BASE = Context.g_module.VERSION
+ Context.g_module.VERSION_SPLIT = VERSION_BASE.split('.')
+
+ # first, try to get a version string from git
+ gotVersionFromGit = False
+ try:
+ cmd = ['git', 'describe', '--always', '--match', '%s*' % GIT_TAG_PREFIX]
+ out = subprocess.check_output(cmd, universal_newlines=True).strip()
+ if out:
+ gotVersionFromGit = True
+ if out.startswith(GIT_TAG_PREFIX):
+ Context.g_module.VERSION = out.lstrip(GIT_TAG_PREFIX)
+ else:
+ # no tags matched
+ Context.g_module.VERSION = '%s-commit-%s' % (VERSION_BASE, out)
+ except (OSError, subprocess.CalledProcessError):
+ pass
+
+ versionFile = ctx.path.find_node('VERSION')
+ if not gotVersionFromGit and versionFile is not None:
+ try:
+ Context.g_module.VERSION = versionFile.read()
+ return
+ except EnvironmentError:
+ pass
+
+ # version was obtained from git, update VERSION file if necessary
+ if versionFile is not None:
+ try:
+ if versionFile.read() == Context.g_module.VERSION:
+ # already up-to-date
+ return
+ except EnvironmentError as e:
+ Logs.warn('%s exists but is not readable (%s)' % (versionFile, e.strerror))
+ else:
+ versionFile = ctx.path.make_node('VERSION')
+
+ try:
+ versionFile.write(Context.g_module.VERSION)
+ except EnvironmentError as e:
+ Logs.warn('%s is not writable (%s)' % (versionFile, e.strerror))
+
+def dist(ctx):
+ version(ctx)
+
+def distcheck(ctx):
+ version(ctx)