24 #include "../ndn-cpp-config.h"
28 #if NDN_CPP_HAVE_ATTRIBUTE_DEPRECATED
29 #define DEPRECATED_IN_NDN_CPP __attribute__((deprecated))
31 #define DEPRECATED_IN_NDN_CPP
34 #if !NDN_CPP_HAVE_ROUND
35 #define round(x) floor((x) + 0.5)
45 typedef double ndn_Milliseconds;
50 typedef double ndn_MillisecondsSince1970;
58 ndn_MillisecondsSince1970
59 ndn_getNowMilliseconds();
68 static const size_t MAX_NDN_PACKET_SIZE = 8800;
74 static const size_t ndn_SHA256_DIGEST_SIZE = 32;