Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (19 sloc) 385 Bytes
//
// ms.h
//
// Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>
//
#ifndef MS_H
#define MS_H 1
// prototypes
long long
string_to_microseconds(const char *str);
long long
string_to_milliseconds(const char *str);
long long
string_to_seconds(const char *str);
char *
milliseconds_to_string(long long ms);
char *
milliseconds_to_long_string(long long ms);
#endif // MS_H