blob: 2054d49daf293682e18a1cac9c8f375db7ba280a [file] [log] [blame]
Alexander Afanasyev5ba90362013-07-15 19:58:38 -07001## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
Alexander Afanasyevfce5bbd2013-08-07 18:50:00 -07002#
Alexander Afanasyev5ba90362013-07-15 19:58:38 -07003# Copyright (c) 2011-2013, Regents of the University of California
4# Alexander Afanasyev
Alexander Afanasyevfce5bbd2013-08-07 18:50:00 -07005#
Alexander Afanasyev5ba90362013-07-15 19:58:38 -07006# GNU 3.0 license, See the LICENSE file for more information
Alexander Afanasyevfce5bbd2013-08-07 18:50:00 -07007#
Alexander Afanasyev5ba90362013-07-15 19:58:38 -07008# Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
Alexander Afanasyevfce5bbd2013-08-07 18:50:00 -07009#
Alexander Afanasyev5ba90362013-07-15 19:58:38 -070010
11#
12# Based on PyCCN code, copyrighted and licensed as follows
13#
14# Copyright (c) 2011-2013, Regents of the University of California
15# BSD license, See the COPYING file for more information
16# Written by: Derek Kulinski <takeda@takeda.tk>
17# Jeff Burke <jburke@ucla.edu>
18#
19
Alexander Afanasyevfce5bbd2013-08-07 18:50:00 -070020__all__ = ['Face', 'Name', 'Interest', 'Data', 'Key', 'EventLoop']
Alexander Afanasyev5ba90362013-07-15 19:58:38 -070021
22VERSION = 0.3
Alexander Afanasyev39f53162013-07-18 16:24:31 -070023NDNSIM = True
Alexander Afanasyev5ba90362013-07-15 19:58:38 -070024
Alexander Afanasyev39f53162013-07-18 16:24:31 -070025import sys as _sys
Alexander Afanasyev5ba90362013-07-15 19:58:38 -070026
Alexander Afanasyev39f53162013-07-18 16:24:31 -070027try:
Alexander Afanasyevfce5bbd2013-08-07 18:50:00 -070028 from Face import Face
Alexander Afanasyev39f53162013-07-18 16:24:31 -070029 from Name import Name
30 from Interest import Interest
Alexander Afanasyevfce5bbd2013-08-07 18:50:00 -070031 from Data import Data
Alexander Afanasyev39f53162013-07-18 16:24:31 -070032 from Key import Key
Alexander Afanasyev5ba90362013-07-15 19:58:38 -070033
Alexander Afanasyevfce5bbd2013-08-07 18:50:00 -070034 from EventLoop import EventLoop
35 from KeyLocator import KeyLocator
36 from SignedInfo import SignedInfo, CONTENT_DATA, CONTENT_ENCR, CONTENT_GONE, CONTENT_KEY, CONTENT_LINK, CONTENT_NACK
37 # no signature
38
39 # no NameCrypto
40 # no LocalPrefixDiscovery
41
42 import nre
43
Alexander Afanasyev39f53162013-07-18 16:24:31 -070044except ImportError:
45 del _sys.modules[__name__]
46 raise