blob: 97e722af25fa724221c6c0e5f27921dd91573652 [file] [log] [blame]
Spyridon Mastorakis53e922f2014-10-17 17:29:26 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (c) 2011-2014 Regents of the University of California.
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -08004 *
Spyridon Mastorakis53e922f2014-10-17 17:29:26 -07005 * This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and
6 * contributors.
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -08007 *
Spyridon Mastorakis53e922f2014-10-17 17:29:26 -07008 * ndnSIM is free software: you can redistribute it and/or modify it under the terms
9 * of the GNU General Public License as published by the Free Software Foundation,
10 * either version 3 of the License, or (at your option) any later version.
11 *
12 * ndnSIM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * ndnSIM, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
18 **/
Alexander Afanasyevb989b122013-07-10 17:15:46 -070019
20#ifndef NDN_COMMON_H
21#define NDN_COMMON_H
22
Alexander Afanasyev92136012013-07-16 20:36:30 -070023#include "ns3/nstime.h"
24#include "ns3/simulator.h"
25
Spyridon Mastorakis53e922f2014-10-17 17:29:26 -070026#include <ndn-cxx/interest.hpp>
27#include <ndn-cxx/encoding/block.hpp>
28#include <ndn-cxx/signature.hpp>
29#include <ndn-cxx/signature-info.hpp>
30#include <ndn-cxx/name.hpp>
31#include <ndn-cxx/data.hpp>
32#include <ndn-cxx/security/key-chain.hpp>
Alexander Afanasyevb989b122013-07-10 17:15:46 -070033
Spyridon Mastorakis1f1cd5e2014-12-04 11:12:40 -080034#include <ndn-cxx/util/time.hpp>
35
Alexander Afanasyev79206512013-07-27 16:49:12 -070036namespace ns3 {
Alexander Afanasyev79206512013-07-27 16:49:12 -070037namespace ndn {
Alexander Afanasyev79206512013-07-27 16:49:12 -070038
Spyridon Mastorakis53e922f2014-10-17 17:29:26 -070039using ::ndn::Name;
40namespace name = ::ndn::name;
Alexander Afanasyev92136012013-07-16 20:36:30 -070041
Spyridon Mastorakis1f1cd5e2014-12-04 11:12:40 -080042namespace time = ::ndn::time;
43
44using ::ndn::Exclude;
45
Spyridon Mastorakis53e922f2014-10-17 17:29:26 -070046using std::shared_ptr;
47using std::make_shared;
Alexander Afanasyev92136012013-07-16 20:36:30 -070048
Spyridon Mastorakis53e922f2014-10-17 17:29:26 -070049using ::ndn::Interest;
50using ::ndn::Data;
51using ::ndn::KeyLocator;
52using ::ndn::Signature;
53using ::ndn::SignatureInfo;
54using ::ndn::Block;
55using ::ndn::KeyChain;
Alexander Afanasyev92136012013-07-16 20:36:30 -070056
Spyridon Mastorakis53e922f2014-10-17 17:29:26 -070057} // namespace ndn
58} // namespace ns3
Alexander Afanasyev92136012013-07-16 20:36:30 -070059
Alexander Afanasyevb989b122013-07-10 17:15:46 -070060#endif // NDN_COMMON_H