view src/lib/utc-offset.h @ 22664:fea53c2725c0

director: Fix director_max_parallel_moves/kicks type Should be uint, not time.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 09 Nov 2017 12:24:16 +0200
parents e4eb71ae8e96
children
line wrap: on
line source

#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