blob: ba68e2a4df1e546b520951b6f6ec5daeab25b4f0 [file] [log] [blame]
Yingdi Yu48e8c0c2014-03-19 12:01:55 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/**
3 * Copyright (C) 2013 Regents of the University of California.
4 * @author: Yingdi Yu <yingdi@cs.ucla.edu>
5 * See COPYING for copyright and distribution information.
6 */
7
8#ifndef NDN_SECURITY_CONF_COMMON_HPP
9#define NDN_SECURITY_CONF_COMMON_HPP
10
11#include <string>
12#include <boost/property_tree/ptree.hpp>
13
14namespace ndn {
15namespace security {
16namespace conf {
17
18typedef boost::property_tree::ptree ConfigSection;
19
20class Error : public std::runtime_error
21{
22public:
23 explicit
24 Error(const std::string& what)
25 : std::runtime_error(what)
26 {
27 }
28};
29
30} // namespace conf
31} // namespace security
32} // namespace ndn
33
34#endif // NDN_SECURITY_CONF_COMMON_HPP