diff options
Diffstat (limited to 'src/lib/utc-offset.h')
-rw-r--r-- | src/lib/utc-offset.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/utc-offset.h b/src/lib/utc-offset.h new file mode 100644 index 0000000..a2196f3 --- /dev/null +++ b/src/lib/utc-offset.h @@ -0,0 +1,9 @@ +#ifndef UTC_OFFSET_H +#define UTC_OFFSET_H + +#include <time.h> + +/* Returns given time's offset to UTC in minutes. */ +int utc_offset(struct tm *tm, time_t t); + +#endif |