blob: 54a080cc4691f7f3255ff6152bcc4cfbcaeb31de [file] [log] [blame]
Jeff Thompsonc868dd02013-09-24 15:50:47 -07001/**
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_COMMON_H
Jeff Thompsone589c3f2013-10-12 17:30:50 -07008#define NDN_COMMON_H
Jeff Thompsonc868dd02013-09-24 15:50:47 -07009
Alexander Afanasyev78bcb642013-12-18 17:40:42 -080010#include <ndn-cpp/ndn-cpp-config.h>
Jeff Thompsonc868dd02013-09-24 15:50:47 -070011#include <stdint.h>
Jeff Thompson25b4e612013-10-10 16:03:24 -070012// TODO: Is stddef.h portable?
Jeff Thompson32a23332013-10-07 18:39:00 -070013#include <stddef.h>
Jeff Thompsonc868dd02013-09-24 15:50:47 -070014
Jeff Thompson9a8e82f2013-10-17 14:13:43 -070015#ifdef __cplusplus
16extern "C" {
17#endif
18
19/**
20 * A time interval represented as the number of milliseconds.
21 */
22typedef double ndn_Milliseconds;
23
24/**
25 * The calendar time represented as the number of milliseconds since 1/1/1970.
26 */
27typedef double ndn_MillisecondsSince1970;
28
29#ifdef __cplusplus
30}
31#endif
32
Jeff Thompsonc868dd02013-09-24 15:50:47 -070033#endif