blob: b17241501d336e7efb0e383a34cbf9c9674bed83 [file] [log] [blame]
Yingdi Yu48e8c0c2014-03-19 12:01:55 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/**
Alexander Afanasyevdfa52c42014-04-24 21:10:11 -07003 * Copyright (c) 2013-2014, Regents of the University of California.
4 * All rights reserved.
5 *
6 * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
7 * See AUTHORS.md for complete list of ndn-cxx authors and contributors.
8 *
9 * This file licensed under New BSD License. See COPYING for detailed information about
10 * ndn-cxx library copyright, permissions, and redistribution restrictions.
11 *
12 * @author Yingdi Yu <http://irl.cs.ucla.edu/~yingdi/>
Yingdi Yu48e8c0c2014-03-19 12:01:55 -070013 */
14
15#ifndef NDN_SECURITY_CONF_COMMON_HPP
16#define NDN_SECURITY_CONF_COMMON_HPP
17
18#include <string>
19#include <boost/property_tree/ptree.hpp>
20
21namespace ndn {
22namespace security {
23namespace conf {
24
25typedef boost::property_tree::ptree ConfigSection;
26
27class Error : public std::runtime_error
28{
29public:
30 explicit
31 Error(const std::string& what)
32 : std::runtime_error(what)
33 {
34 }
35};
36
37} // namespace conf
38} // namespace security
39} // namespace ndn
40
41#endif // NDN_SECURITY_CONF_COMMON_HPP