Revision 3386 libsylph/utils.h

View differences:

utils.h
95 95
  #define HAVE_U32_TYPEDEF
96 96
#endif
97 97

  
98
#if defined(G_OS_WIN32) && !defined(_WIN64) && defined(HAVE_64BIT_TIME_T)
99
  /* for backward binary compatibility. Use only in struct definition and
100
     pointer arguments. */
101
  typedef gint32 stime_t;
102
#else
103
  typedef time_t stime_t;
104
#endif
105

  
98 106
#ifndef BIG_ENDIAN_HOST
99 107
  #if (G_BYTE_ORDER == G_BIG_ENDIAN)
100 108
    #define BIG_ENDIAN_HOST 1
......
514 522
				 gboolean	 async);
515 523

  
516 524
/* time functions */
517
time_t remote_tzoffset_sec	(const gchar	*zone);
518
time_t tzoffset_sec		(time_t		*now);
525
stime_t remote_tzoffset_sec	(const gchar	*zone);
526
stime_t tzoffset_sec		(stime_t	*now);
519 527
gchar *tzoffset_buf		(gchar		*buf,
520
				 time_t		*now);
521
gchar *tzoffset			(time_t		*now);
528
				 stime_t	*now);
529
gchar *tzoffset			(stime_t	*now);
522 530
void get_rfc822_date		(gchar		*buf,
523 531
				 gint		 len);
524 532

  

Also available in: Unified diff