2016-12-14 01:16:51 +00:00
|
|
|
#ifndef IPFS_TIME_H
|
|
|
|
#define IPFS_TIME_H
|
2016-12-21 10:14:21 +00:00
|
|
|
#ifndef __USE_XOPEN
|
|
|
|
#define __USE_XOPEN
|
|
|
|
#endif // __USE_XOPEN
|
|
|
|
|
|
|
|
#ifndef __USE_ISOC11
|
|
|
|
#define __USE_ISOC11
|
|
|
|
#endif // __USE_ISOC11
|
|
|
|
|
|
|
|
#include <time.h>
|
2016-12-14 01:16:51 +00:00
|
|
|
|
2016-12-20 23:38:31 +00:00
|
|
|
int ipfs_util_time_parse_RFC3339 (struct timespec *ts, char *s);
|
|
|
|
char *ipfs_util_time_format_RFC3339 (struct timespec *ts);
|
2016-12-14 01:16:51 +00:00
|
|
|
#endif // IPFS_TIME_H
|