blob: d3d2f60d79dc74b167b9df049293d99c3d44b014 [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 Afanasyevb1d67462013-11-18 20:25:00 -080010#include <ndn-cpp/ndn-cpp-config.h>
11
Jeff Thompsonc868dd02013-09-24 15:50:47 -070012#include <stdint.h>
Jeff Thompson25b4e612013-10-10 16:03:24 -070013// TODO: Is stddef.h portable?
Jeff Thompson32a23332013-10-07 18:39:00 -070014#include <stddef.h>
Jeff Thompsonc868dd02013-09-24 15:50:47 -070015
Jeff Thompson9a8e82f2013-10-17 14:13:43 -070016#ifdef __cplusplus
17extern "C" {
18#endif
19
20/**
21 * A time interval represented as the number of milliseconds.
22 */
23typedef double ndn_Milliseconds;
24
25/**
26 * The calendar time represented as the number of milliseconds since 1/1/1970.
27 */
28typedef double ndn_MillisecondsSince1970;
29
30#ifdef __cplusplus
31}
32#endif
33
Jeff Thompsonc868dd02013-09-24 15:50:47 -070034#endif