Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 1 | /** |
| 2 | * Copyright (C) 2013 Regents of the University of California. |
| 3 | * @author: Jeff Thompson <jefft0@remap.ucla.edu> |
| 4 | * See COPYING for copyright and distribution information. |
| 5 | */ |
| 6 | |
| 7 | #ifndef NDN_DATA_TYPES_H |
Jeff Thompson | e589c3f | 2013-10-12 17:30:50 -0700 | [diff] [blame] | 8 | #define NDN_DATA_TYPES_H |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 9 | |
Jeff Thompson | e589c3f | 2013-10-12 17:30:50 -0700 | [diff] [blame] | 10 | #ifdef __cplusplus |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 11 | extern "C" { |
| 12 | #endif |
| 13 | |
| 14 | typedef enum { |
| 15 | ndn_ContentType_DATA = 0, |
| 16 | ndn_ContentType_ENCR = 1, |
| 17 | ndn_ContentType_GONE = 2, |
| 18 | ndn_ContentType_KEY = 3, |
| 19 | ndn_ContentType_LINK = 4, |
| 20 | ndn_ContentType_NACK = 5 |
| 21 | } ndn_ContentType; |
| 22 | |
Jeff Thompson | e589c3f | 2013-10-12 17:30:50 -0700 | [diff] [blame] | 23 | #ifdef __cplusplus |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 24 | } |
| 25 | #endif |
| 26 | |
| 27 | #endif |