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