18 #ifndef MAGICKCORE_TIMER_PRIVATE_H
19 #define MAGICKCORE_TIMER_PRIVATE_H
21 #if defined(__cplusplus) || defined(c_plusplus)
29 #if defined(MAGICKCORE_HAVE_GMTIME_R)
30 (void) gmtime_r(timep,result);
36 my_time=gmtime(timep);
37 if (my_time != (
struct tm *) NULL)
38 (void) memcpy(result,my_time,
sizeof(*my_time));
45 #if defined(MAGICKCORE_HAVE_GMTIME_R)
46 (void) localtime_r(timep,result);
52 my_time=localtime(timep);
53 if (my_time != (
struct tm *) NULL)
54 (void) memcpy(result,my_time,
sizeof(*my_time));
71 if (q != time_to_live)
73 while (isspace((
int) ((
unsigned char) *q)) != 0)
96 #if defined(__cplusplus) || defined(c_plusplus)
MagickExport double InterpretLocaleValue(const char *magick_restrict string, char **magick_restrict sentinal)
Definition: locale.c:1000
MagickExport int LocaleNCompare(const char *p, const char *q, const size_t length)
Definition: locale.c:1570
#define MagickExport
Definition: method-attribute.h:80
MagickExport time_t GetMagickTime(void)
Definition: timer.c:327
static void GetMagickUTCtime(const time_t *timep, struct tm *result)
Definition: timer-private.h:27
static time_t ParseMagickTimeToLive(const char *time_to_live)
Definition: timer-private.h:59
static void GetMagickLocaltime(const time_t *timep, struct tm *result)
Definition: timer-private.h:43